Versions in this module Expand all Collapse all v1 v1.0.0 Mar 6, 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.NautiliadMessage) (*protowire.NautiliadMessage, 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)