app

package
v0.0.0-...-1ad3f1b Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeText               = "text"
	TypeTextStatus         = "text-status"
	TypeTextStatus2        = "text-status-2"
	TypeTextStatusProgress = "text-status-bar"
)
View Source
const (
	Size1x = "1x"
	Size2x = "2x"
	Size4x = "4x"
)
View Source
const (
	StateDefault       = "default"
	StateSuccess       = "success"
	StateIndeterminate = "indeterminate"
	StateWarning       = "warning"
	StateError         = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func LoadConfig

func LoadConfig(path string) (*Config, error)

type Server

type Server interface {
	Run() error
}

func NewServer

func NewServer(parameters *ServerParameters) (Server, error)

type ServerParameters

type ServerParameters struct {
	Config   *Config
	Endpoint string
	WwwRoot  string
}

func NewServerParameters

func NewServerParameters(config *Config) *ServerParameters

Jump to

Keyboard shortcuts

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