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