Documentation ¶
Index ¶
Constants ¶
View Source
const ( CONTENT_TYPE_X_WWW_FORM_URL_URL_ENCODED = "application/x-www-form-urlencoded" CONTEXT_TYPE_JSON = "application/json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bring ¶
type Bring struct {
// contains filtered or unexported fields
}
func (*Bring) GetUserBaseUrl ¶
type Config ¶
type Config struct { BaseURL string `envconfig:"BRING_BASE_URL" default:"https://api.getbring.com/rest/v2"` ClientID string `envconfig:"BRING_CLIENT_ID" default:"webApp"` Country string `envconfig:"BRING_COUNTRY" default:"DE"` ApiKey string `envconfig:"BRING_API_KEY" default:"cof4Nc6D8saplXjE3h3HXqHH8m7VU2i1Gs0g85Sp"` User string `envconfig:"BRING_USER"` Password string `envconfig:"BRING_PASSWORD"` DefaultTimeout time.Duration `default:"10s"` }
Click to show internal directories.
Click to hide internal directories.