ffcserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultListenerPort = 5102
)

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(conf, corsConf config.Section)

Types

type Server

type Server interface {
	Init(ctx context.Context, conf, corsConf config.Section) error
	Start() error
	RequestStop()
	WaitStopped() error
}

func NewServer

func NewServer(conf config.Section, connector ffconnector.Connector) Server

NewServer performs static initialization. You must still call Init() before Start().

Jump to

Keyboard shortcuts

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