Documentation
¶
Index ¶
- Constants
- Variables
- func GetAccessToken() string
- func GetAuthClient() (api.AuthClient, error)
- func GetContextWithAuth() context.Context
- func GetPreviewClient() (api.PreviewClient, error)
- func GetSharingClient() (api.ShareClient, error)
- func GetStorageClient() (api.StorageClient, error)
- func SetAccessToken(token string)
- func SetConfig(cfg *Config)
- type Config
Constants ¶
View Source
const ( DefaultServerHost = "localhost" DefaultServerPort = 1094 )
Variables ¶
View Source
var AccessTokenFile string
View Source
var ConfigDir string
View Source
var ConfigFile string
View Source
var LogFile string
Functions ¶
func GetAccessToken ¶
func GetAccessToken() string
func GetAuthClient ¶
func GetAuthClient() (api.AuthClient, error)
func GetContextWithAuth ¶
func GetPreviewClient ¶
func GetPreviewClient() (api.PreviewClient, error)
func GetSharingClient ¶
func GetSharingClient() (api.ShareClient, error)
func GetStorageClient ¶
func GetStorageClient() (api.StorageClient, error)
func SetAccessToken ¶
func SetAccessToken(token string)
Types ¶
Click to show internal directories.
Click to hide internal directories.