trireme-lib: go.aporeto.io/trireme-lib/monitor/remoteapi/client Index | Files

package client

import "go.aporeto.io/trireme-lib/monitor/remoteapi/client"

Index

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

Package client imports 8 packages (graph). Updated 2018-07-17. Refresh now. Tools for package owners.