commands

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common

type Common struct {
}

Common is a common method for framework starter and stopper.

func (*Common) PidFile

func (o *Common) PidFile() string

PidFile returns a file name for pid file.

return "example.pid"

func (*Common) PidPath

func (o *Common) PidPath() string

PidPath returns a path for pid file location.

return "/data/sketch"

func (*Common) WorkingDir added in v1.0.1

func (o *Common) WorkingDir(s string) string

Directories

Path Synopsis
gen
anno
Package annotation parse annotation from source code file and recognize follows.
Package annotation parse annotation from source code file and recognize follows.

Jump to

Keyboard shortcuts

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