Documentation
¶
Index ¶
- Variables
- type Adapter
- func (api *Adapter) Close() error
- func (api *Adapter) ConnAccept(service string) (data string, err error)
- func (api *Adapter) ConnClose(id string) (err error)
- func (api *Adapter) ConnRead(id string) (data string, err error)
- func (api *Adapter) ConnWrite(id string, data string) (err error)
- func (api *Adapter) Connections() (c []target.ApphostConn)
- func (api *Adapter) Events() *sig.Queue[target.ApphostEvent]
- func (api *Adapter) Interrupt()
- func (api *Adapter) Listeners() (l []target.ApphostListener)
- func (api *Adapter) Log(arg ...any)
- func (api *Adapter) LogArr(arg []any)
- func (api *Adapter) NodeInfo(identity string) (info target.NodeInfo, err error)
- func (api *Adapter) Port(service ...string) string
- func (api *Adapter) Query(identity string, query string) (data string, err error)
- func (api *Adapter) QueryName(name string, query string) (data string, err error)
- func (api *Adapter) Resolve(name string) (id string, err error)
- func (api *Adapter) ServiceClose(service string) (err error)
- func (api *Adapter) ServiceRegister(service string) (err error)
- func (api *Adapter) Sleep(duration int64)
- type Conn
- type Factory
- type Invoker
- type Listener
- type Timout
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnectionsThreshold = -1
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) ConnAccept ¶
func (*Adapter) Connections ¶
func (api *Adapter) Connections() (c []target.ApphostConn)
func (*Adapter) Listeners ¶
func (api *Adapter) Listeners() (l []target.ApphostListener)
func (*Adapter) ServiceClose ¶
func (*Adapter) ServiceRegister ¶
type Conn ¶
type Conn struct {
*bufio.Reader
io.WriteCloser
// contains filtered or unexported fields
}
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func (Factory) NewAdapter ¶
type Invoker ¶
type Invoker struct {
*Adapter
// contains filtered or unexported fields
}
func NewInvoker ¶
Click to show internal directories.
Click to hide internal directories.