Versions in this module Expand all Collapse all v1 v1.0.0 Sep 21, 2018 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + LocalizationsApi *LocalizationsApiService + TemplatesApi *TemplatesApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiError struct + Code string + Message string + Parameter string + type BasicAuth struct + Password string + UserName string + type CompiledRead struct + Html string + ReplyTo string + Sender string + Subject string + Text string + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type Cursor struct + HasMore bool + Next string + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type LocalizationMetaRead struct + Id string + Language string + Name string + Url string + type LocalizationRead struct + Compiled CompiledRead + CreatedAt time.Time + Id string + Language string + Name string + Template string + UpdatedAt time.Time + Url string + type LocalizationsApiService service + func (a *LocalizationsApiService) LocalizationsLocalizationIdGet(ctx context.Context, localizationId string, accept string) (LocalizationRead, *http.Response, error) + type TemplateMetaRead struct + CreatedAt time.Time + Description string + Id string + Localizations []LocalizationMetaRead + Name string + UpdatedAt time.Time + Url string + type TemplateRead struct + Compiled CompiledRead + CreatedAt time.Time + Description string + Id string + Localizations []LocalizationMetaRead + Name string + UpdatedAt time.Time + Url string + type TemplatesApiService service + func (a *TemplatesApiService) TemplatesGet(ctx context.Context, accept string, localVarOptionals *TemplatesGetOpts) (TemplatesRead, *http.Response, error) + func (a *TemplatesApiService) TemplatesTemplateIdGet(ctx context.Context, templateId string, accept string) (TemplateRead, *http.Response, error) + type TemplatesGetOpts struct + Cursor optional.String + type TemplatesRead struct + Cursor Cursor + Data []TemplateMetaRead Incompatible versions in this module v2.0.0+incompatible Jun 11, 2019