apps

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpApp

type HttpApp struct {
	Logger        *logng.Logger
	Listen        string
	ListenBacklog int
	MaxConns      int32
	HandleH2C     bool
	TLSConfig     *tls.Config
	Handler       *cdn.Handler
	// contains filtered or unexported fields
}

func (*HttpApp) Run

func (a *HttpApp) Run(ctx context.Context, cancel context.CancelFunc)

func (*HttpApp) Start

func (a *HttpApp) Start(ctx context.Context, cancel context.CancelFunc)

func (*HttpApp) Stop

func (a *HttpApp) Stop()

func (*HttpApp) Terminate

func (a *HttpApp) Terminate(ctx context.Context)

type MgmtApp

type MgmtApp struct {
	Logger *logng.Logger
	Listen string
	Store  *store.Store
	// contains filtered or unexported fields
}

func (*MgmtApp) Run

func (a *MgmtApp) Run(ctx context.Context, cancel context.CancelFunc)

func (*MgmtApp) Start

func (a *MgmtApp) Start(ctx context.Context, cancel context.CancelFunc)

func (*MgmtApp) Stop

func (a *MgmtApp) Stop()

func (*MgmtApp) Terminate

func (a *MgmtApp) Terminate(ctx context.Context)

Jump to

Keyboard shortcuts

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