client

package
v0.0.0-...-05bd1a1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KV

func KV(key string, v interface{}) spec.KV

func ToString

func ToString(v interface{}) string

Types

type Client

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

func NewClient

func NewClient(url string, token string, h *http.Client) *Client

func (*Client) Push

func (c *Client) Push(envelope *spec.Envelope) error

func (*Client) PushContext

func (c *Client) PushContext(message *spec.Context) error

Jump to

Keyboard shortcuts

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