server

package
v0.0.0-...-031e6a7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(binaryName string, setts *Settings) error

Types

type Settings

type Settings struct {
	Host string `json:"host"`
	Port uint16 `json:"port"`

	// TLS
	CertPath string `json:"certPath"`
	KeyPath  string `json:"keyPath"`

	// path to static html pages
	HtmlPath string `json:"htmlPath"`

	Log logging.Settings `json:"log"`

	// Sign-In With Google
	ClientId string `json:"clientId"`
}

func (*Settings) InitDefault

func (s *Settings) InitDefault()

func (*Settings) URL

func (s *Settings) URL() string

Jump to

Keyboard shortcuts

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