events

package
v0.0.0-...-940a024 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientKeypair

type ClientKeypair struct {
	// path to the public key PEM
	PublicKey string
	// path to the public key
	PrivateKey string
}

type Emitter

type Emitter interface {
	Emit(topic string, data interface{}) error
}

type Gloo

type Gloo interface {
	Emitter(sourceId string, contentType ...string) Emitter
}

func NewGloo

func NewGloo(addr string, tlsConfig *TlsConfig) Gloo

type GlooArgs

type GlooArgs struct {
	// address of the gloo gateway
	Addr string
	// optional tls config if user has custom tls settings
	TlsConfig
}

type TlsConfig

type TlsConfig struct {
	// paths to custom root certificate PEM
	CustomRootCAs []string

	ClientCertificates []ClientKeypair

	InsecureVerify bool
}

Jump to

Keyboard shortcuts

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