Documentation ¶
Index ¶
- type Aggregate
- type ClientsEnable
- type Config
- type Error
- type ExternalInterface
- type InstrumentingLabel
- type Interface
- type Langs
- type LoggingContext
- type LoggingParams
- type MethodErrorDecode
- type MethodOption
- type MethodOptions
- type OpenapiContact
- type OpenapiInfo
- type OpenapiLicence
- type OpenapiServer
- type OpenapiTag
- type RESTMultipart
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregate ¶
type Aggregate struct { Method *option.NamedType Params option.SliceStringValue `swipe:"option"` Results option.SliceStringValue `swipe:"option"` }
type ClientsEnable ¶
type ClientsEnable struct {
Langs Langs
}
type Config ¶
type Config struct { HTTPServer *struct{} HTTPFast *struct{} ClientsEnable ClientsEnable ClientOutput option.StringValue CURLEnable *struct{} CURLOutput option.StringValue CURLURL option.StringValue JSONRPCEnable *struct{} JSONRPCPath option.StringValue JSONRPCDocEnable *struct{} JSONRPCDocOutput option.StringValue Interfaces []*Interface `mapstructure:"Interface"` OpenapiEnable *struct{} OpenapiTags []OpenapiTag OpenapiOutput option.StringValue OpenapiInfo OpenapiInfo OpenapiContact OpenapiContact OpenapiLicence OpenapiLicence OpenapiServers []OpenapiServer `mapstructure:"OpenapiServer"` MethodOptions []MethodOption MethodDefaultOptions MethodOptions InstrumentingLabels []InstrumentingLabel `swipe:"option"` // non options params LoggingEnable bool `mapstructure:"-"` InstrumentingEnable bool `mapstructure:"-"` MethodOptionsMap map[string]MethodOptions `mapstructure:"-"` OpenapiMethodTags map[string][]string `mapstructure:"-"` IfaceErrors map[string]map[string][]Error `mapstructure:"-"` JSPkgImportPath string `mapstructure:"-"` AppName string `mapstructure:"-"` HasExternal bool `mapstructure:"-"` }
Config @swipe:"Gokit"
type ExternalInterface ¶
type InstrumentingLabel ¶
type InstrumentingLabel struct { Key interface{} Name string }
type Interface ¶
type Interface struct { Named *option.NamedType `mapstructure:"iface"` Namespace string `mapstructure:"ns"` ClientName option.StringValue `swipe:"option"` Gateway *struct{} `swipe:"option"` }
type LoggingContext ¶
type LoggingContext struct { Key interface{} Name string }
type LoggingParams ¶
type MethodErrorDecode ¶ added in v3.0.26
type MethodOption ¶
type MethodOption struct { Signature *option.NamedType MethodOptions `mapstructure:",squash"` }
type MethodOptions ¶
type MethodOptions struct { Instrumenting option.BoolValue `swipe:"option"` Logging option.BoolValue `swipe:"option"` LoggingParams LoggingParams `swipe:"option"` LoggingContext []LoggingContext `swipe:"option"` RESTMethod option.ExprStringValue `swipe:"option"` RESTWrapResponse option.StringValue `swipe:"option"` RESTWrapRequest option.StringValue `swipe:"option"` RESTPath option.ExprStringValue `swipe:"option"` RESTMultipartMaxMemory option.Int64Value `swipe:"option"` RESTHeaderVars option.SliceStringValue `swipe:"option"` RESTQueryVars option.SliceStringValue `swipe:"option"` RESTQueryValues option.SliceStringValue `swipe:"option"` RESTPathVars map[string]string `swipe:"option"` RESTBodyType option.StringValue `swipe:"option"` ErrorDecode MethodErrorDecode `swipe:"option"` }
type OpenapiContact ¶
type OpenapiInfo ¶
type OpenapiLicence ¶
type OpenapiServer ¶
type OpenapiTag ¶
type RESTMultipart ¶
type RESTMultipart struct {
MaxMemory int64
}
Click to show internal directories.
Click to hide internal directories.