Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CRC16("github.com/privatix/dappctrl/agent/somcsrv") = 0x60E6 ErrInternal errors.Error = 0x60E6<<8 + iota ErrChannelNotFound ErrEndpointNotFound ErrOfferingNotFound )
Errors.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client can retrieve data from agents somc server.
func (*Client) Endpoint ¶
func (c *Client) Endpoint(channelKey data.Base64String) (data.Base64String, error)
Endpoint gets endpoint message through tor net.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is agents RPC handler.
func NewHandler ¶
NewHandler creates a new RPC handler.
func (*Handler) Endpoint ¶
func (h *Handler) Endpoint(key data.Base64String) (*data.Base64String, error)
Endpoint returns endpoint msg for a channel with given key.
Click to show internal directories.
Click to hide internal directories.