colossus

package
Version: v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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 (*Client) SendEvent

func (cl *Client) SendEvent(subject, key string, body interface{}, extraHeaders http.Header) error

func (*Client) SendEventB

func (cl *Client) SendEventB(subject, key string, body []byte) error

func (*Client) SendEventJ

func (cl *Client) SendEventJ(subject, key string, body interface{}) error

func (*Client) SendKpis

func (cl *Client) SendKpis(app string, body interface{}) error

func (*Client) SendLog

func (cl *Client) SendLog(subject, level string, body interface{}, extraHeaders http.Header) error

func (*Client) SendLogB

func (cl *Client) SendLogB(subject, level string, body []byte) error

func (*Client) SendLogJ

func (cl *Client) SendLogJ(subject, level string, body interface{}) error

type Colossus

type Colossus interface {
	SendEventJ(subject, key string, body interface{}) error
	SendEventB(subject, key string, body []byte) error
	SendLogJ(subject, level string, body interface{}) error
	SendLogB(subject, level string, body []byte) error
	SendEvent(subject, key string, body interface{}, extraHeaders http.Header) error
	SendLog(subject, key string, body interface{}, extraHeaders http.Header) error
	SendKpis(app string, body interface{}) error
}

func NewClient

func NewClient(config *clients.Config) Colossus

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL