Versions in this module Expand all Collapse all v1 v1.9.2 Aug 23, 2019 v1.9.0 Jul 31, 2019 Changes in this version + var ErrBlackboxIsNotStarted = errors.New("blackbox is not started") + func RunNode(socketPath string) error + type Blackbox struct + func CreateNew(path string) *Blackbox + func New(path string) (*Blackbox, error) + func (b *Blackbox) Get(data []byte) ([]byte, error) + func (b *Blackbox) Post(data []byte, from string, to []string) (out []byte, err error) + func (b *Blackbox) PostRawTransaction(data []byte, to []string) (out []byte, err error) + type Client struct + func CreateClient(socketPath string) (*Client, error) + func (c *Client) GetData(key []byte) ([]byte, error) + func (c *Client) PostData(pl []byte, b64From string, b64To []string) ([]byte, error) + func (c *Client) PostDataRawTransaction(signedPayload []byte, b64To []string) ([]byte, error) + type Config struct + Socket string + SocketPath string + WorkDir string + func LoadConfig(configPath string) (*Config, error)