Versions in this module Expand all Collapse all v1 v1.20.2 Jan 28, 2022 Changes in this version + var BinaryRouter = courier.NewRouter(httptransport.Group("/binary")) + var CookieRouter = courier.NewRouter(httptransport.Group("/cookie")) + var FormsRouter = courier.NewRouter(httptransport.Group("/forms")) + var ProxyRouter = courier.NewRouter(httptransport.Group("/proxy")) + var RedirectRouter = courier.NewRouter(httptransport.Group("/redirect")) + var RestfulRouter = courier.NewRouter(httptransport.Group("/restful")) + var RootRouter = courier.NewRouter(httptransport.BasePath("/demo")) + type Cookie struct + Token string + func (req *Cookie) Output(ctx context.Context) (interface{}, error) + type Create struct + Data Data + func (req Create) Output(ctx context.Context) (interface{}, error) + type Data struct + ID string + Label string + Protocol types.Protocol + PtrString *string + SubData *SubData + func DataFromContext(ctx context.Context) *Data + type DataProvider struct + ID string + func (DataProvider) ContextKey() string + func (DataProvider) Path() string + func (req DataProvider) Output(ctx context.Context) (interface{}, error) + type DownloadFile struct + func (DownloadFile) Path() string + func (req DownloadFile) Output(ctx context.Context) (interface{}, error) + type FormMultipartWithFile struct + FormData struct{ ... } + func (req FormMultipartWithFile) Output(ctx context.Context) (resp interface{}, err error) + func (req FormMultipartWithFile) Path() string + type FormMultipartWithFiles struct + FormData struct{ ... } + func (FormMultipartWithFiles) Output(ctx context.Context) (resp interface{}, err error) + func (FormMultipartWithFiles) Path() string + type FormURLEncoded struct + FormData struct{ ... } + func (FormURLEncoded) Path() string + func (req FormURLEncoded) Output(ctx context.Context) (resp interface{}, err error) + type GetByID struct + Label []string + Name string + Protocol types.Protocol + func (req GetByID) Output(ctx context.Context) (interface{}, error) + type GetByJSON struct + func (GetByJSON) Path() string + type HealthCheck struct + PullPolicy types.PullPolicy + func (HealthCheck) Output(ctx context.Context) (interface{}, error) + type IpInfo struct + Country string + CountryCode string + type Proxy struct + func (Proxy) Output(ctx context.Context) (interface{}, error) + type ProxyV2 struct + func (ProxyV2) Output(ctx context.Context) (interface{}, error) + type Redirect struct + func (Redirect) Output(ctx context.Context) (interface{}, error) + type RedirectWhenError struct + func (RedirectWhenError) Output(ctx context.Context) (interface{}, error) + type RemoveByID struct + func (RemoveByID) Output(ctx context.Context) (interface{}, error) + type ShowImage struct + func (ShowImage) Path() string + func (req ShowImage) Output(ctx context.Context) (interface{}, error) + type SubData struct + Name string + type UpdateByID struct + Data Data + func (req UpdateByID) Output(ctx context.Context) (interface{}, error)