ssg

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const LOG = "[ ssg ] "

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Cluster       string
	Bind          string
	ControlTokens []string
	MonitorTokens []string
	MaxLease      time.Duration
	SweepInterval time.Duration
	ReservoirSize int
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c config.Config) (*Server, error)

func NewServerFromFile

func NewServerFromFile(path string) (*Server, error)

func NewServerFromString added in v1.0.4

func NewServerFromString(yaml string) (*Server, error)

func (*Server) Router

func (s *Server) Router(helo string) *route.Router

func (*Server) Run

func (s *Server) Run(helo string) error

func (*Server) Sweep

func (s *Server) Sweep()

Directories

Path Synopsis
providers
fs
gcs
mem
s3
vaults

Jump to

Keyboard shortcuts

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