Documentation
¶
Index ¶
- Variables
- func NewBalancer() rpc.Exchange
- type Balancer
- func (b *Balancer) HandleInterrupt(msg rpc.Interrupt)
- func (b *Balancer) HandleProgress(msg rpc.Progress)
- func (b *Balancer) HandleReply(msg rpc.Reply)
- func (b *Balancer) HandleRequest(msg rpc.Request, srcEndpoint rpc.Endpoint)
- func (b *Balancer) HandleStreamFrame(msg rpc.StreamFrame)
- func (b *Balancer) RegisterMethod(appName string, endpoint rpc.Endpoint, method string) error
- func (b *Balancer) UnregisterApp(appName string)
- func (b *Balancer) UnregisterEndpoint(endpoint rpc.Endpoint)
- func (b *Balancer) UnregisterMethod(appName string, method string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMethodAlreadyRegistered = errors.New("Method already registered")
Functions ¶
func NewBalancer ¶
Types ¶
type Balancer ¶
type Balancer struct {
// contains filtered or unexported fields
}
func (*Balancer) HandleInterrupt ¶
func (*Balancer) HandleProgress ¶
func (*Balancer) HandleReply ¶
func (*Balancer) HandleRequest ¶
func (*Balancer) HandleStreamFrame ¶
func (b *Balancer) HandleStreamFrame(msg rpc.StreamFrame)
func (*Balancer) RegisterMethod ¶
func (*Balancer) UnregisterApp ¶
func (*Balancer) UnregisterEndpoint ¶
func (*Balancer) UnregisterMethod ¶
Click to show internal directories.
Click to hide internal directories.