Documentation
¶
Index ¶
- func NewAnonymousClient(ctx context.Context) *xrpc.Client
- func NewClient(ctx context.Context, authfile string) *xrpc.Client
- func NewClientWithTokenSource(ctx context.Context, source oauth2.TokenSource) *xrpc.Client
- func NewHttpClient(ctx context.Context, authfile string) *http.Client
- func PasswordAuth(login string, password string) oauth2.TokenSource
- func PasswordAuthWithFileCache(login string, password string, filename string) oauth2.TokenSource
- func SessionFile(filename string) oauth2.TokenSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PasswordAuth ¶
func PasswordAuth(login string, password string) oauth2.TokenSource
func PasswordAuthWithFileCache ¶
func PasswordAuthWithFileCache(login string, password string, filename string) oauth2.TokenSource
func SessionFile ¶
func SessionFile(filename string) oauth2.TokenSource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.