eventline

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIKeyIdentityDef

func APIKeyIdentityDef() *eventline.IdentityDef

Types

type APIKeyIdentity

type APIKeyIdentity struct {
	Key string `json:"key"`
}

func (*APIKeyIdentity) Check

func (i *APIKeyIdentity) Check(c *check.Checker)

func (*APIKeyIdentity) Def

func (*APIKeyIdentity) Environment

func (i *APIKeyIdentity) Environment() map[string]string

type Connector

type Connector struct {
	Def *eventline.ConnectorDef
	Cfg *ConnectorCfg
	Log *dlog.Logger
}

func NewConnector

func NewConnector() *Connector

func (*Connector) DefaultCfg

func (c *Connector) DefaultCfg() eventline.ConnectorCfg

func (*Connector) Definition

func (c *Connector) Definition() *eventline.ConnectorDef

func (*Connector) Init

func (*Connector) Name

func (c *Connector) Name() string

func (*Connector) Terminate

func (c *Connector) Terminate()

type ConnectorCfg

type ConnectorCfg struct {
}

func (*ConnectorCfg) Check

func (cfg *ConnectorCfg) Check(c *check.Checker)

Jump to

Keyboard shortcuts

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