Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "pidfile"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PidManager ¶
type PidManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(name string) *PidManager
func (*PidManager) GetBinName ¶
func (pm *PidManager) GetBinName() string
func (*PidManager) GetPid ¶
func (pm *PidManager) GetPid() (int, error)
func (*PidManager) GetPidF ¶
func (pm *PidManager) GetPidF() (string, error)
func (*PidManager) SavePid ¶
func (pm *PidManager) SavePid() error
Click to show internal directories.
Click to hide internal directories.