server

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 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