mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-07-27 07:58:25 +00:00
12 lines
237 B
Go
12 lines
237 B
Go
package api
|
|
|
|
// Auth is used to perform credential backend related operations.
|
|
type Auth struct {
|
|
c *Client
|
|
}
|
|
|
|
// Auth is used to return the client for credential-backend API calls.
|
|
func (c *Client) Auth() *Auth {
|
|
return &Auth{c: c}
|
|
}
|