server

package
v0.0.0-...-7a5c146 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PopulatePool  bool
	EnableTLS     bool
	BindIP        string
	Port          int
	StorageDriver store.Driver
	JWTSecret     string
}

Config is the config for the server

type Server

type Server interface {
	Bootstrap(*Config) error
	Start() error
	Stop() error
}

Server is the interface to be fulfilled by any web server running on this application

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳