Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type MsgConn ¶
type MsgConn struct {
// contains filtered or unexported fields
}
func Connect ¶
func Connect(address string, factory MsgFactory, log *logging.Logger, handlers ...interface{}) (*MsgConn, error)
func (*MsgConn) AddHandlers ¶
func (*MsgConn) ExchangeMsg ¶
func (mc *MsgConn) ExchangeMsg(msg interface{}, fds ...int) (ResponseReader, error)
type MsgFactory ¶
type MsgFactory map[string](func() interface{})
func NewMsgFactory ¶
func NewMsgFactory(msgTypes ...interface{}) MsgFactory
type MsgServer ¶
type MsgServer struct {
// contains filtered or unexported fields
}
type ResponseReader ¶
type ResponseReader interface { Chan() <-chan *Message Done() }
Click to show internal directories.
Click to hide internal directories.