server

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Embedded = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host          string
	Port          int
	ConfigFile    string
	DontListen    bool
	StdoutLogging bool
	DataDir       string
}

type Server

type Server interface {
	Start()
	Ready() bool
	Shutdown()
	ClientURL() string
	InProcessConn() (net.Conn, error)
}

func New

func New(*Config) (Server, error)

Jump to

Keyboard shortcuts

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