app

package module
v0.0.0-...-305fb22 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: MIT Imports: 12 Imported by: 0

README

apps-app

Template app attributes and functions

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFileTOML

func DecodeFileTOML(path string, configPtr interface{})

func ExtractSessionInfo

func ExtractSessionInfo(req *http.Request) map[string]string

func KVFloat

func KVFloat(k string, db *sql.DB) (values []float64)

func KVString

func KVString(k string, db *sql.DB) (values []string)

func UpdateStatusBegan

func UpdateStatusBegan(session string, port string)

func UpdateStatusBegan7713

func UpdateStatusBegan7713(session string)

Harcoded port 7713 for processing status updates

func UpdateStatusFinished

func UpdateStatusFinished(session string, port string)

func UpdateStatusFinished7713

func UpdateStatusFinished7713(session string)

Harcoded port 7713 for processing status updates

Types

type AppType

type AppType struct {
	Folder         string
	FolderAndSlash string
	Name           string
	NameWithExe    string
	FilePath       string
	ConfigPath     string
}

func (*AppType) FolderResponse

func (a *AppType) FolderResponse(w http.ResponseWriter, req *http.Request)

func (*AppType) PingResponse

func (a *AppType) PingResponse(w http.ResponseWriter, req *http.Request)

func (*AppType) Setup

func (app *AppType) Setup()

Jump to

Keyboard shortcuts

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