Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultAccessToken = os.Getenv("YANDEX_ACCESS_TOKEN") DefaultBaseURL = "https://cloud-api.yandex.net/" )
Default values for the file system.
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
An Option customizes the config.
func WithAccessToken ¶
WithAccessToken sets the access token in the config.
func WithBaseURL ¶
WithBaseURL sets the base URL in the config.
func WithHTTPClient ¶
WithHTTPClient sets the default HTTP client in the config.
Click to show internal directories.
Click to hide internal directories.