entry

package
v0.0.0-...-d03ac12 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, version string, args []string) error

Types

type Entrypoint

type Entrypoint struct {
	Config     *config.Config
	SshServer  *server.SshServer
	HttpServer *server.HttpServer
	FtpServer  *server.FtpServer
}

func NewEntrypoint

func NewEntrypoint(ctx context.Context, cfg *config.Config) (*Entrypoint, error)

func (*Entrypoint) Shutdown

func (e *Entrypoint) Shutdown(ctx context.Context)

func (*Entrypoint) Startup

func (e *Entrypoint) Startup(ctx context.Context, cancel context.CancelFunc)

Jump to

Keyboard shortcuts

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