server

package
v2.4.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewServerOptions

type NewServerOptions struct {
	Store          store.Store
	WebRoot        string
	AllowedOrigins util.StringSet
	Webhook        webhook.Caller
	ServerURL      string
	ForceSSL       bool
	ReadDeadline   time.Duration
}

NewServerOptions - options for NewServer function

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server - server

func NewServer

func NewServer(options *NewServerOptions) *Server

NewServer - construct a Server

func (*Server) Start

func (s *Server) Start(port uint)

Start - start the server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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