app

package
v0.0.0-...-a4f6240 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnnounceRun

func AnnounceRun(step string, init InitFunc) error

func Run

func Run(step string, init InitFunc) error

func Sequence

func Sequence(step string, steps ...InitFunc) error

Types

type InitFunc

type InitFunc func() error

func Step

func Step(step string, init InitFunc) InitFunc

type ListenerConfig

type ListenerConfig struct {
	Addr string
}

func (*ListenerConfig) NewListener

func (cfg *ListenerConfig) NewListener() (net.Listener, error)

type TLSConfig

type TLSConfig struct {
	CertificateFilepath string
	KeyFilepath         string
	ListenerConfig
}

func (*TLSConfig) NewListener

func (cfg *TLSConfig) NewListener() (net.Listener, error)

Jump to

Keyboard shortcuts

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