Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(b *bundle)
func WithCustomRPC ¶
func WithCustomRPC(in kit.IncomingRPCFactory, out kit.OutgoingRPCFactory) Option
WithCustomRPC lets you define your RPC message container. RPC message container will be represented as Envelope in your application. RPCContainer only defines the behavior of serialization and deserialization of the Envelope.
func WithLogger ¶
func WithPredicateKey ¶
type Selector ¶
func (Selector) GetEncoding ¶
func (Selector) GetPredicate ¶
type SwitchProtocol ¶
type SwitchProtocol struct {
// contains filtered or unexported fields
}
func (*SwitchProtocol) Upgrade ¶
func (sp *SwitchProtocol) Upgrade(conn io.ReadWriter) (hs ws.Handshake, err error)
Click to show internal directories.
Click to hide internal directories.