trireme-lib: Index | Files | Directories

package client

import ""


Package Files

client.go interfaces.go

type APIClient Uses

type APIClient interface {
    // SendRequest will send a request to the server.
    SendRequest(event *common.EventInfo) error

APIClient is the interface of the API client

type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client is an api client structure.

func NewClient Uses

func NewClient(path string) (*Client, error)

NewClient creates a new client.

func (*Client) SendRequest Uses

func (c *Client) SendRequest(event *common.EventInfo) error

SendRequest sends a request to the remote. TODO: Add retries


mockclientPackage mockclient is a generated GoMock package.

Package client imports 9 packages (graph) and is imported by 1 packages. Updated 2019-11-09. Refresh now. Tools for package owners.