Documentation
¶
Index ¶
- type ClientHTTPTransportOption
- type ConfigDocOption
- type ConfigOption
- type DeclType
- type Enum
- type Env
- type ErrorHTTPTransportOption
- type GatewayMethodOption
- type GatewayServiceOption
- type InstrumentingOption
- type JsonRPCHTTPTransportOption
- type MarkdownDocHTTPTransportOption
- type MethodHTTPTransportOption
- type OpenapiHTTPTransportOption
- type OpenapiMethodOption
- type ReqRespFunc
- type ServiceMethod
- type ServiceReadme
- type TransportOption
- type VarSlice
- type WrapResponseHTTPTransportOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHTTPTransportOption ¶
type ClientHTTPTransportOption struct {
Enable bool
}
type ConfigDocOption ¶
type ConfigOption ¶
type GatewayMethodOption ¶
type GatewayServiceOption ¶
type InstrumentingOption ¶
type MethodHTTPTransportOption ¶
type MethodHTTPTransportOption struct {
MethodName string
Expr ast.Expr
Path string
PathVars map[string]string
HeaderVars map[string]string
QueryVars map[string]string
WrapResponse WrapResponseHTTPTransportOption
ServerRequestFunc ReqRespFunc
ServerResponseFunc ReqRespFunc
ClientRequestFunc ReqRespFunc
ClientResponseFunc ReqRespFunc
}
type OpenapiHTTPTransportOption ¶
type OpenapiHTTPTransportOption struct {
Enable bool
Output string
Servers []openapi.Server
Info openapi.Info
Methods map[string]*OpenapiMethodOption
DefaultMethod OpenapiMethodOption
}
type OpenapiMethodOption ¶
type OpenapiMethodOption struct {
Tags []string
}
type ServiceMethod ¶
type ServiceReadme ¶
type TransportOption ¶
type TransportOption struct {
Protocol string
Prefix string
ServerDisabled bool
Client ClientHTTPTransportOption
Openapi OpenapiHTTPTransportOption
MarkdownDoc MarkdownDocHTTPTransportOption
FastHTTP bool
JsonRPC JsonRPCHTTPTransportOption
MethodOptions map[string]MethodHTTPTransportOption
DefaultMethodOptions MethodHTTPTransportOption
Errors map[uint32]*ErrorHTTPTransportOption
}
Click to show internal directories.
Click to hide internal directories.