application

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Description string
View Source
var Name string
View Source
var ServiceDescription string
View Source
var ServiceDisplayName string
View Source
var ServiceName string
View Source
var ServiceRunFunc func() error
View Source
var ServiceStopFunc func()

Functions

func InitLogs

func InitLogs()

func InstallService

func InstallService()

func NewSvcConfig

func NewSvcConfig() *service.Config

func SetAppPath

func SetAppPath()

func StartService

func StartService()

func StopService

func StopService()

func TryService

func TryService() bool

func UninstallService

func UninstallService()

Types

type Application

type Application struct {
	Name    string
	Version string
}
var App Application

type IApplication

type IApplication interface {
	AppName() string
	AppVersion() string
}

Jump to

Keyboard shortcuts

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