service

package
v0.0.0-...-dcb4846 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string) (c *Client, err error)

Establish a connection using the ZeroMQ API device.

func (*Client) SendRawRequest

func (c *Client) SendRawRequest(id, requestType string, request *RawRequest) (response RawResponse, err error)

type Connection

type Connection interface {
	Send(service string, request ...string) (err error)
	Recv() (reply []string, err error)
}

type RawRequest

type RawRequest map[string]interface{}

type RawResponse

type RawResponse map[string]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL