service

package
v0.0.0-...-52e4a05 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package service @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

View Source
var (
	CProgram = Program{}
)

Functions

This section is empty.

Types

type Program

type Program struct {
	// contains filtered or unexported fields
}

Program structures.

Define Start and Stop methods.

func (*Program) Define

func (p *Program) Define(ctx context.Context) service.Service

Define 组装组件服务对象

func (*Program) Start

func (p *Program) Start(s service.Service) error

func (*Program) Stop

func (p *Program) Stop(s service.Service) error

Jump to

Keyboard shortcuts

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