goapp

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
	Commit  string
)

see LD_FLAGS in Makefile

View Source
var WebFs embed.FS

Functions

func Base

func Base() string

Base returns the base url of the application without any trailing slash.

Note: returns an empty string when app.IsServer == true.

func BaseWs

func BaseWs() string

BaseWs is the same as Base but transforms http -> ws and https -> wss.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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