Documentation ¶
Overview ¶
Package client is used to create the MonoVertex daemon service client.
There are 2 clients available.
gRPC client func NewGRPCClient(address string) (MonoVertexDaemonClient, error)
RESTful client func NewRESTfulClient(address string) (MonoVertexDaemonClient, error)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonoVertexDaemonClient ¶
type MonoVertexDaemonClient interface { io.Closer GetMonoVertexMetrics(ctx context.Context) (*mvtxdaemon.MonoVertexMetrics, error) GetMonoVertexStatus(ctx context.Context) (*mvtxdaemon.MonoVertexStatus, error) }
func NewGRPCClient ¶
func NewGRPCClient(address string) (MonoVertexDaemonClient, error)
func NewRESTfulClient ¶
func NewRESTfulClient(address string) (MonoVertexDaemonClient, error)
Click to show internal directories.
Click to hide internal directories.