Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetWrapOpt ¶
type SetWrapOpt func(base *WrapOptBase)
func InputType ¶
func InputType(p reflect.Type) SetWrapOpt
func LogFunc ¶
func LogFunc(logFunc func(log *middleware.TrafficLog)) SetWrapOpt
func LogReqAndResp ¶
func LogReqAndResp() SetWrapOpt
func Orchestrator ¶
func Orchestrator(o droplet.Orchestrator) SetWrapOpt
func ReadFromBody ¶
func ReadFromBody(p reflect.Type) SetWrapOpt
type WrapOptBase ¶
type WrapOptBase struct {
InputType reflect.Type
IsReadFromBody bool
TrafficLogOpt middleware.TrafficLogOpt
Orchestrator droplet.Orchestrator
}
Click to show internal directories.
Click to hide internal directories.