id

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 3 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHadeIDService

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

Types

type HadeIDProvider

type HadeIDProvider struct {
}

func (*HadeIDProvider) Boot

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

Boot will called when the service instantiate

func (*HadeIDProvider) IsDefer

func (provider *HadeIDProvider) IsDefer() bool

IsDefer define whether the service instantiate when first make or register

func (*HadeIDProvider) Name

func (provider *HadeIDProvider) Name() string

/ Name define the name for this service

func (*HadeIDProvider) Params

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

Params define the necessary params for NewInstance

func (*HadeIDProvider) Register

func (provider *HadeIDProvider) Register(c framework.Container) framework.NewInstance

Register registe a new function for make a service instance

type HadeIDService

type HadeIDService struct {
}

func (*HadeIDService) NewID

func (s *HadeIDService) NewID() string

Jump to

Keyboard shortcuts

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