Documentation ¶
Index ¶
- type BodyWriter
- type Factory
- type HeaderWriter
- type Request
- func (ctx *Request) Get(key string) interface{}
- func (ctx *Request) GetInt32(key string, defaultValue int32) int32
- func (ctx *Request) GetInt64(key string, defaultValue int64) int64
- func (ctx *Request) GetString(key string, defaultValue string) string
- func (ctx *Request) MultiPart() (*multipart.Form, error)
- func (ctx *Request) Set(key string, value interface{})
- type RequestHandler
- type ResponseHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyWriter ¶ added in v0.9.0
type BodyWriter = gateway.BodyWriter
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory( onRequest RequestHandler, onResponse ResponseHandler, ) *Factory
type HeaderWriter ¶ added in v0.9.0
type HeaderWriter = gateway.HeaderWriter
type Request ¶ added in v0.9.0
type Request struct {
// contains filtered or unexported fields
}
type RequestHandler ¶ added in v0.8.5
type RequestHandler func(ctx *Request, bodyWriter gateway.BodyWriter) error
type ResponseHandler ¶ added in v0.8.5
type ResponseHandler func(envelope *rony.MessageEnvelope, bodyWriter BodyWriter, hdrWriter *HeaderWriter)
Click to show internal directories.
Click to hide internal directories.