id

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStartIDService

func NewStartIDService(params ...interface{}) (interface{}, error)

Types

type StartIDProvider

type StartIDProvider struct {
}

func (*StartIDProvider) Boot

func (provider *StartIDProvider) Boot(c framework.Container) error

Boot will called when the service instantiate

func (*StartIDProvider) IsDefer

func (provider *StartIDProvider) IsDefer() bool

IsDefer define whether the service instantiate when first make or register

func (*StartIDProvider) Name

func (provider *StartIDProvider) Name() string

/ Name define the name for this service

func (*StartIDProvider) Params

func (provider *StartIDProvider) Params(c framework.Container) []interface{}

Params define the necessary params for NewInstance

func (*StartIDProvider) Register

Register registe a new function for make a service instance

type StartIDService

type StartIDService struct {
}

func (*StartIDService) NewID

func (s *StartIDService) NewID() string

Jump to

Keyboard shortcuts

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