svcd

package
v0.1.55 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DaemonTypeSvcd boot.DaemonType = "svcd"
)

Variables

View Source
var D boot.Daemon = &svcd{
	Runner: runner.Create("svc"),
}

Functions

func Get

func Get[S Svc](ns Namespace, m Module, n Name) S

func Reg

func Reg(ns Namespace, m Module, n Name, creator Creator, cfgCreator CfgCreator)

Types

type Cfg

type Cfg struct{}

func NewCfg

func NewCfg() *Cfg

type CfgCreator

type CfgCreator plugin.CfgCreator[any]

type Creator

type Creator plugin.Creator[Svc]

type Module

type Module string

type Name

type Name string

type Namespace

type Namespace string

type Svc

type Svc interface {
	log.Logger
}

Jump to

Keyboard shortcuts

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