Documentation ¶
Index ¶
Constants ¶
View Source
const (
MessageTypeCall stream.MessageType = "call"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct { ID CallID `json:"id"` Method CallMethod `json:"method"` Params json.RawMessage `json:"params"` }
type CallDispatcher ¶
type CallDispatcher struct {
// contains filtered or unexported fields
}
func NewCallDispatcher ¶
func NewCallDispatcher() *CallDispatcher
func (*CallDispatcher) RegisterCallHandler ¶
func (d *CallDispatcher) RegisterCallHandler(method CallMethod, handler CallHandler)
type CallHandler ¶
type CallMethod ¶
type CallMethod string
Click to show internal directories.
Click to hide internal directories.