Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthProvider ¶ added in v0.7.0
type AuthProvider interface {
GetAuth() (auth.Credential, error)
}
type DorasBaseClient ¶
type DorasBaseClient struct {
DorasURL string
Client *http.Client
TokenProvider AuthProvider
}
DorasBaseClient serves as the base for clients that interact with Doras servers.
func NewBaseClient ¶
func NewBaseClient(serverURL string, tokenProvider AuthProvider) *DorasBaseClient
NewBaseClient constructs a DorasBaseClient.
Click to show internal directories.
Click to hide internal directories.