base

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

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

func New

func New(name string) *Entry

func (*Entry) AfterStart

func (t *Entry) AfterStart(f func())

func (*Entry) AfterStop

func (t *Entry) AfterStop(f func())

func (*Entry) BeforeStart

func (t *Entry) BeforeStart(f func())

func (*Entry) BeforeStop

func (t *Entry) BeforeStop(f func())

func (*Entry) Commands

func (t *Entry) Commands(cmd *cli.Command)

func (*Entry) Description

func (t *Entry) Description(description ...string)

func (*Entry) Flags

func (t *Entry) Flags(flag cli.Flag)

func (*Entry) InitRT

func (t *Entry) InitRT()

func (*Entry) Middleware

func (t *Entry) Middleware(middleware types.Middleware)

func (*Entry) MiddlewareInter

func (t *Entry) MiddlewareInter(middleware types.Middleware)

func (*Entry) OnInit

func (t *Entry) OnInit(init func())

func (*Entry) Options

func (t *Entry) Options() entry.Opts

func (*Entry) RegisterHandler

func (t *Entry) RegisterHandler(h entry.InitHandler)

func (*Entry) Start

func (t *Entry) Start() error

func (*Entry) Stop

func (t *Entry) Stop() error

func (*Entry) Watcher

func (t *Entry) Watcher(projects ...string)

Jump to

Keyboard shortcuts

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