Documentation
¶
Overview ¶
beanrpc
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeanWorker ¶
type BeanWorker struct {
// contains filtered or unexported fields
}
func New ¶
func New(address string) *BeanWorker
func (*BeanWorker) Close ¶
func (t *BeanWorker) Close() error
func (*BeanWorker) On ¶
func (t *BeanWorker) On(name string, h HandlerFunc)
func (*BeanWorker) Open ¶
func (t *BeanWorker) Open(tube string) error
func (*BeanWorker) Put ¶
func (t *BeanWorker) Put(method string, params interface{}, priority uint32) error
func (*BeanWorker) Run ¶
func (t *BeanWorker) Run()
type HandlerFunc ¶
type HandlerFunc func(c *Context)
Click to show internal directories.
Click to hide internal directories.