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 Handle
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 func(ctx *Context) error, onResponse func(envelope *rony.MessageEnvelope) (*pools.ByteBuffer, map[string]string), ) *Factory
func (*Factory) Get ¶
func (f *Factory) Get() gateway.ProxyHandle
func (*Factory) Release ¶
func (f *Factory) Release(h gateway.ProxyHandle)
Click to show internal directories.
Click to hide internal directories.