Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
func (*Client) GetAddress ¶
type Connections ¶
func (*Connections) Add ¶
func (c *Connections) Add(conn *Client)
func (*Connections) BroadCast ¶
func (c *Connections) BroadCast(v interface{}, methodName string)
func (*Connections) Remove ¶
func (c *Connections) Remove(id string)
type DogeRPC ¶
type DogeRPC struct {
Trie *Trie
}
func (*DogeRPC) GetMethodByName ¶
type Server ¶
type Server struct {
DogeRPC *DogeRPC
}
func NewDogeServer ¶
func NewDogeServer() *Server
type ServerRequest ¶
type ServerRequest struct { Method string `json:"method"` InputParams interface{} `json:"params"` }
Click to show internal directories.
Click to hide internal directories.