server

package
Version: v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log *lg.Logger

Functions

func Run

func Run(app AppInstance)

Types

type AppInstance

type AppInstance interface {
	Name() string
	Version() string
	Initialize(ctx context.Context, upg *upgrader.Upgrader) error
	Serve(ctx context.Context, upg *upgrader.Upgrader)
	Destroy()
	Daemon() bool
	Wait()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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