Documentation ¶ Index ¶ type Live func (c *Live) GetAPIClient(host, accessToken string) *api.Client func (c *Live) GetBool(key string) bool func (c *Live) GetInt(key string) int func (c *Live) GetString(key string) string func (c *Live) Set(key string, val interface{}) error type Provider Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Live ¶ type Live struct{} Live provides a viper-backed config for commands func (*Live) GetAPIClient ¶ func (c *Live) GetAPIClient(host, accessToken string) *api.Client func (*Live) GetBool ¶ func (c *Live) GetBool(key string) bool func (*Live) GetInt ¶ func (c *Live) GetInt(key string) int func (*Live) GetString ¶ func (c *Live) GetString(key string) string func (*Live) Set ¶ func (c *Live) Set(key string, val interface{}) error type Provider ¶ type Provider interface { GetString(key string) string GetBool(key string) bool GetInt(key string) int Set(key string, val interface{}) error GetAPIClient(host, accessToken string) *api.Client } Source Files ¶ View all Source files config.golive.go Click to show internal directories. Click to hide internal directories.