app

package
v0.0.0-...-2a10a86 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	Init(ctx context.Context) error
	Run(ctx context.Context) error
	Reload(ctx context.Context) error
	Stop(ctx context.Context) error
}

type NamedApplication

type NamedApplication interface {
	Application
	Name() string
}

type TestApplication

type TestApplication struct {
	IsEnable bool
	// contains filtered or unexported fields
}

func (*TestApplication) Init

func (t *TestApplication) Init(ctx context.Context) error

func (*TestApplication) Reload

func (t *TestApplication) Reload(ctx context.Context) error

func (*TestApplication) Run

func (t *TestApplication) Run(ctx context.Context) error

func (*TestApplication) Stop

func (t *TestApplication) Stop(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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