Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router is default RPC router implementation.
func (*Router) Invoke ¶
Invoke accepts method name and invoke registered method with same name. If requested method is not registered - error will be returned.
func (*Router) MethodIsRegistered ¶
MethodIsRegistered returns `true` only if passed method is registered.
func (*Router) RegisterMethod ¶
RegisterMethod make a method registration for later invoking.
Click to show internal directories.
Click to hide internal directories.