Documentation ¶
Index ¶
- type CallInfo
- type Client
- func (c *Client) AsynCall(id interface{}, _args ...interface{})
- func (c *Client) Attach(s *Server)
- func (c *Client) Call0(id interface{}, args ...interface{}) error
- func (c *Client) Call1(id interface{}, args ...interface{}) (interface{}, error)
- func (c *Client) CallN(id interface{}, args ...interface{}) ([]interface{}, error)
- func (c *Client) Cb(ri *RetInfo)
- func (c *Client) Close()
- func (c *Client) Idle() bool
- type RetInfo
- type Server
- func (s *Server) Call0(id interface{}, args ...interface{}) error
- func (s *Server) Call1(id interface{}, args ...interface{}) (interface{}, error)
- func (s *Server) CallN(id interface{}, args ...interface{}) ([]interface{}, error)
- func (s *Server) Close()
- func (s *Server) Exec(ci *CallInfo)
- func (s *Server) Go(id interface{}, args ...interface{})
- func (s *Server) Open(l int) *Client
- func (s *Server) Register(id interface{}, f interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ChanAsynRet chan *RetInfo // contains filtered or unexported fields }
type Server ¶
type Server struct { ChanCall chan *CallInfo // contains filtered or unexported fields }
Server one server per goroutine (goroutine not safe) one client per goroutine (goroutine not safe)
Click to show internal directories.
Click to hide internal directories.