id

package
v0.0.0-...-8d54ad1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebgoIDService

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

Types

type WebgoIDProvider

type WebgoIDProvider struct {
}

func (*WebgoIDProvider) Boot

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

Boot will called when the service instantiate

func (*WebgoIDProvider) IsDefer

func (provider *WebgoIDProvider) IsDefer() bool

IsDefer define whether the service instantiate when first make or register

func (*WebgoIDProvider) Name

func (provider *WebgoIDProvider) Name() string

/ Name define the name for this service

func (*WebgoIDProvider) Params

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

Params define the necessary params for NewInstance

func (*WebgoIDProvider) Register

Register registe a new function for make a service instance

type WebgoIDService

type WebgoIDService struct {
}

func (*WebgoIDService) NewID

func (s *WebgoIDService) NewID() string

Jump to

Keyboard shortcuts

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