ogwc

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUIRevision

func GetUIRevision() string

Types

type MetricsUserAccount

type MetricsUserAccount struct {
	Username string
	Password string
}

type OGWCApplication

type OGWCApplication struct {
	UserAccounts   []MetricsUserAccount
	APIUrlTemplate string
	// contains filtered or unexported fields
}

func (*OGWCApplication) Init

func (a *OGWCApplication) Init(useRedis bool, boltpath string, c *redis.Options) error

func (*OGWCApplication) InitVersionInfo

func (a *OGWCApplication) InitVersionInfo(ctx, rev, ver, ts string)

func (*OGWCApplication) Serve

func (a *OGWCApplication) Serve(bindUrl string)

type VersionInfo

type VersionInfo struct {
	BuildContext    string `json:"build_context"`
	BuildTimestamp  string `json:"build_timestamp"`
	Revision        string `json:"build_revision"`
	Version         string `json:"version"`
	FrontendHashsum string `json:"frontend_hashsum"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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