shared

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppName

func GetAppName() string

GetAppName

func RuntimeID

func RuntimeID() string

Generate application runtime id

func SetAppName

func SetAppName(name string)

Types

type Info

type Info struct {
	Version Version
	AppName string
}

func AppInfo

func AppInfo() Info

func (Info) String

func (i Info) String() string

type Version

type Version struct {
	GitVersion   string
	GitCommit    string
	GitBranch    string
	GitTreeState string
	BuildTime    string
	GoVersion    string
	Compiler     string
	Platform     string
}

Jump to

Keyboard shortcuts

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