Documentation ¶
Index ¶
- func RunNode(socketPath string) error
- type Client
- func (c *Client) ReceivePayload(key []byte) ([]byte, error)
- func (c *Client) SendPayload(pl []byte, b64From string, b64To []string) ([]byte, error)
- func (c *Client) SendSignedPayload(signedPayload []byte, b64To []string) ([]byte, error)
- func (c *Client) StorePayload(pl []byte, b64From string) ([]byte, error)
- type Config
- type PrivateTransactionManager
- func (g *PrivateTransactionManager) Receive(data []byte) ([]byte, error)
- func (g *PrivateTransactionManager) Send(data []byte, from string, to []string) (out []byte, err error)
- func (g *PrivateTransactionManager) SendSignedTx(data []byte, to []string) (out []byte, err error)
- func (g *PrivateTransactionManager) StoreRaw(data []byte, from string) (out []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SendPayload ¶
func (*Client) SendSignedPayload ¶
type Config ¶
type Config struct { Socket string `toml:"socket"` WorkDir string `toml:"workdir"` // Deprecated SocketPath string `toml:"socketPath"` }
func LoadConfig ¶
type PrivateTransactionManager ¶
type PrivateTransactionManager struct {
// contains filtered or unexported fields
}
func MustNew ¶
func MustNew(path string) *PrivateTransactionManager
func New ¶
func New(path string) (*PrivateTransactionManager, error)
func (*PrivateTransactionManager) Receive ¶
func (g *PrivateTransactionManager) Receive(data []byte) ([]byte, error)
func (*PrivateTransactionManager) SendSignedTx ¶
func (g *PrivateTransactionManager) SendSignedTx(data []byte, to []string) (out []byte, err error)
Click to show internal directories.
Click to hide internal directories.