Documentation
¶
Index ¶
- Constants
- func ConfigDir() string
- func Exists(path string) bool
- func GetAuthToken() (string, string)
- func GetEndpoint() string
- func GetOrg() string
- func GetUserEmail() string
- func GetWarehouse() string
- func RenewTokens(accessToken, refreshToken string) error
- func SetUsingWarehouse(warehouse string) error
- type Config
- type Configer
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func GetAuthToken ¶
func GetEndpoint ¶
func GetEndpoint() string
func GetUserEmail ¶
func GetUserEmail() string
func GetWarehouse ¶
func GetWarehouse() string
func RenewTokens ¶
func SetUsingWarehouse ¶
Types ¶
type Config ¶
type Config struct {
UserEmail string `ini:"user_email"`
AccessToken string `ini:"access_token"`
RefreshToken string `ini:"refresh_token"`
Warehouse string `ini:"warehouse"`
Org string `ini:"org"`
Endpoint string `init:"endpoint"`
}
Click to show internal directories.
Click to hide internal directories.