collector

package
v0.0.0-...-d6856c1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	Send(m MessageBuilder)
}

Collector represent interface to Json2Sandesh proxy

type Message

type Message struct {
	SandeshType string      `json:"sandesh_type"`
	Payload     interface{} `json:"payload"`
}

Message represents a message to Json2Sandesh proxy

type MessageBuilder

type MessageBuilder interface {
	Build() *Message
}

MessageBuilder is interface to build the message

func NewEmptyMessageBuilder

func NewEmptyMessageBuilder() MessageBuilder

NewEmptyMessageBuilder returns nil message builder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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