Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalTransport ¶
type LocalTransport struct {
// contains filtered or unexported fields
}
func (*LocalTransport) Addr ¶
func (t *LocalTransport) Addr() NetAddr
func (*LocalTransport) Connect ¶
func (t *LocalTransport) Connect(tr Transport) error
func (*LocalTransport) Consume ¶
func (t *LocalTransport) Consume() <-chan RPC
func (*LocalTransport) SendMessage ¶
func (t *LocalTransport) SendMessage(to NetAddr, payload []byte) error
type Server ¶
type Server struct {
ServerOpts
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opts ServerOpts) *Server
type ServerOpts ¶
type ServerOpts struct {
Transports []Transport
}
Click to show internal directories.
Click to hide internal directories.