Versions in this module Expand all Collapse all v0 v0.12.17 Sep 12, 2024 Changes in this version + type GRPCClient struct + func Connect(address string) (*GRPCClient, error) + func (c *GRPCClient) AttachRouter(router *router.Router) + func (c *GRPCClient) Close() error + func (c *GRPCClient) Disconnect() error + func (c *GRPCClient) Post(request *protowire.KaspadMessage) (*protowire.KaspadMessage, error) + func (c *GRPCClient) PostAppMessage(requestAppMessage appmessage.Message) (appmessage.Message, error) + func (c *GRPCClient) PostJSON(requestJSON string) (string, error) + func (c *GRPCClient) SetOnDisconnectedHandler(onDisconnectedHandler OnDisconnectedHandler) + func (c *GRPCClient) SetOnErrorHandler(onErrorHandler OnErrorHandler) + type OnDisconnectedHandler func() + type OnErrorHandler func(err error)