destination

package
v0.0.0-...-3c3cbca Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsForwarder

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

func NewAwsForwarder

func NewAwsForwarder(appConfig *appConfig.AwsConfig) (*AwsForwarder, error)

func (*AwsForwarder) Forward

func (f *AwsForwarder) Forward(date string, ttl int64, dataPoint *domain.DataPoint) error

type Forwarder

type Forwarder interface {
	Forward(date string, ttl int64, dataPoint *domain.DataPoint) error
}

func NewForwarder

func NewForwarder(appConfig *config.AppConfig) (Forwarder, error)

type HttpForwarder

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

func NewHttpForwarder

func NewHttpForwarder(appConfig *appConfig.PlainHttpConfig) (*HttpForwarder, error)

func (*HttpForwarder) Forward

func (f *HttpForwarder) Forward(date string, ttl int64, dataPoint *domain.DataPoint) error

type NtfyForwarder

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

func NewNtfyForwarder

func NewNtfyForwarder(appConfig *appConfig.NtfyConfig) (*NtfyForwarder, error)

func (*NtfyForwarder) Forward

func (f *NtfyForwarder) Forward(date string, ttl int64, dataPoint *domain.DataPoint) error

Jump to

Keyboard shortcuts

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