Documentation ¶
Index ¶
- type CallCmd
- type Cmd
- type Command
- type CommandNewer
- type DefCmd
- type Errid
- type ErrorCmd
- type PingCmd
- type Point
- func (p *Point) Call(name string, args ...any) (res any, err error)
- func (p *Point) Close() (err error)
- func (p *Point) DefineCmd(id Cmd, newer CommandNewer)
- func (p *Point) Listen()
- func (p *Point) ListenAndWait() (err error)
- func (p *Point) Ping() (err error)
- func (p *Point) Register(name string, fuc any) (err error)
- func (p *Point) SendCommand(id Cmd, cmd Command) (err error)
- func (p *Point) Wait() (err error)
- type PongCmd
- type RemoteErr
- type ReturnCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandNewer ¶
type CommandNewer = func() Command
type Point ¶
type Point struct {
// contains filtered or unexported fields
}
func NewPointWithCtx ¶
func (*Point) DefineCmd ¶
func (p *Point) DefineCmd(id Cmd, newer CommandNewer)
func (*Point) ListenAndWait ¶
Click to show internal directories.
Click to hide internal directories.