toneburst

package
v3.0.23 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Construct() (ToneBurst, error)
}

type Sequence

type Sequence []byte

type StarburstConfig added in v3.0.3

type StarburstConfig struct {
	Type string `json:"type"`
	Mode string `json:"mode"`
}

func (StarburstConfig) Construct added in v3.0.3

func (config StarburstConfig) Construct() (ToneBurst, error)

type StarburstSMTP added in v3.0.3

type StarburstSMTP struct {
}

type StarburstSMTPClient added in v3.0.3

type StarburstSMTPClient struct {
	StarburstSMTP
}

func (*StarburstSMTPClient) Perform added in v3.0.3

func (smtp *StarburstSMTPClient) Perform(conn net.Conn) error

type StarburstSMTPServer added in v3.0.3

type StarburstSMTPServer struct {
	StarburstSMTP
}

func (*StarburstSMTPServer) Perform added in v3.0.3

func (smtp *StarburstSMTPServer) Perform(conn net.Conn) error

type ToneBurst

type ToneBurst interface {
	Perform(conn net.Conn) error
}

type Whalesong

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

func NewWhalesong

func NewWhalesong(config WhalesongConfig) *Whalesong

func (*Whalesong) Perform

func (whalesong *Whalesong) Perform(conn net.Conn) error

TODO: Implement Perform

type WhalesongConfig

type WhalesongConfig struct {
	AddSequences    []Sequence
	RemoveSequences []Sequence
}

func (WhalesongConfig) Construct

func (config WhalesongConfig) Construct() (ToneBurst, error)

Jump to

Keyboard shortcuts

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