Documentation ¶
Index ¶
- Constants
- Variables
- func Delete(key string) error
- func Dump() (map[string][]byte, error)
- func GetValue(key string) ([]byte, error)
- func Load(key string, response interface{}) error
- func Must(key string, driver display.Driver) string
- func PreVerify(cmd *cobra.Command)
- func Store(key string, payload interface{}) error
- func WriteValue(key string, value []byte) error
- type Config
Constants ¶
View Source
const ( AuthenticationServer = "AuthenticationServer" Eana360Server = "Eana360Endpoint" Eana360FarmId = "CurrentFarm" )
Variables ¶
View Source
var ErrValueNotFound = eris.New("value not found for key")
Functions ¶
func WriteValue ¶
Types ¶
type Config ¶
type Config struct { Server string `json:"server"` ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` Authorizer string `json:"authorizer"` Audience string `json:"audience"` Type string `json:"type"` Token string `json:"token"` OauthToken *oauth2.Token `json:"oauth_token"` OauthConfig *oauth2.Config `json:"oauth_config"` ClientCredentialsConfig *clientcredentials.Config `json:"cc_config"` }
Click to show internal directories.
Click to hide internal directories.