acceptor_schema

package
v0.0.0-...-e99903e Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container interface {
	Init() errors.Error
	FInit() errors.Error
	Add([]Server) errors.Error
	Remove(string) errors.Error
	Get(...string) ([]Server, errors.Error)
}

type Loader

type Loader interface {
	Init() errors.Error
	FInit() errors.Error
	Load(...string) ([]Server, errors.Error)
}

type NewServer

type NewServer = func(*viper.Viper, pkg_schema.Tools) (Server, errors.Error)
var NewServerObj NewServer

type Server

type Server interface {
	Name() string
	Init() errors.Error
	FInit() errors.Error
	Run(ctx context.Context) errors.Error
}

Jump to

Keyboard shortcuts

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