Documentation
¶
Overview ¶
Package cli for basic cli functions
Package cli for basic cli functions ¶
Package cli for basic cli functions
Index ¶
Constants ¶
View Source
const ( First = 1 EmptyBuildInfoLen = 0 )
Variables ¶
This section is empty.
Functions ¶
func PoolNewDeviceCode ¶
func PoolNewDeviceCode(config *cfg.Config, oauth *internal.OauthService) error
PoolNewDeviceCode pool new device code (open browser and wait for correct code activation)
func ReadTokenFromFile ¶
ReadTokenFromFile reads the token from the specified file
func ValidAccessToken ¶
func ValidAccessToken(config *cfg.Config, oauth *internal.OauthService) bool
ValidAccessToken valid if access_token is expired or not, and refresh if expired
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.