step

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SystemPrioritySteps = 100

SystemPrioritySteps system Priority 0-100

View Source
const UserAppendPrioritySteps = 10101

UserAppendPrioritySteps user Append steps 10101-无穷大

View Source
const UserPrioritySteps = 10100

UserPrioritySteps user Priority 100--10100

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncStep

type FuncStep func() error

type InstanceStep

type InstanceStep struct {
	StepName string
	Func     FuncStep
}

type Steps

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

func New

func New() *Steps

func (*Steps) ActionStepsAppend

func (s *Steps) ActionStepsAppend(value string, fn FuncStep) error

func (*Steps) RegActionSteps

func (s *Steps) RegActionSteps(value string, priority int, fn FuncStep) error

func (*Steps) RegActionStepsE

func (s *Steps) RegActionStepsE(value string, priority int, fn FuncStep) error

func (*Steps) RegSysEighthSteps

func (s *Steps) RegSysEighthSteps(instanceStep InstanceStep)

func (*Steps) RegSysFifthSteps

func (s *Steps) RegSysFifthSteps(instanceStep InstanceStep)

func (*Steps) RegSysFirstSteps

func (s *Steps) RegSysFirstSteps(instanceStep InstanceStep)

func (*Steps) RegSysFourthSteps

func (s *Steps) RegSysFourthSteps(instanceStep InstanceStep)

func (*Steps) RegSysNinethSteps

func (s *Steps) RegSysNinethSteps(instanceStep InstanceStep)

func (*Steps) RegSysSecondSteps

func (s *Steps) RegSysSecondSteps(instanceStep InstanceStep)

func (*Steps) RegSysSeventhSteps

func (s *Steps) RegSysSeventhSteps(instanceStep InstanceStep)

func (*Steps) RegSysSixthSteps

func (s *Steps) RegSysSixthSteps(instanceStep InstanceStep)

func (*Steps) RegSysTenthSteps

func (s *Steps) RegSysTenthSteps(instanceStep InstanceStep)

func (*Steps) RegSysThirdSteps

func (s *Steps) RegSysThirdSteps(instanceStep InstanceStep)

func (*Steps) Run

func (s *Steps) Run() error

初始化加载router middle afterstart等等

Jump to

Keyboard shortcuts

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