server

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidKind    = errors.New("", errors.Alert, "Unknown server kind")
	ErrInvalidName    = errors.New("", errors.Alert, "Unknown server name")
	ErrInvalidVersion = errors.New("", errors.Alert, "Unknown server version")
)

Functions

This section is empty.

Types

type Addresses

type Addresses map[string]HostPort

type HostPort

type HostPort struct {
	Host string `json:"host,omitempty" yaml:"host,omitempty"`
	Port string `json:"port,omitempty" yaml:"port,omitempty"`
}

type Server

type Server interface {
	Run(chan error)
}

Directories

Path Synopsis
http
gin

Jump to

Keyboard shortcuts

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