Help us shape the future of Go! Take the 2026 Go Developer Survey

id

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPBIDService

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

Types

type PBIDProvider

type PBIDProvider struct {
}

func (*PBIDProvider) Boot

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

Boot will called when the service instantiate

func (*PBIDProvider) IsDefer

func (provider *PBIDProvider) IsDefer() bool

IsDefer define whether the service instantiate when first make or register

func (*PBIDProvider) Name

func (provider *PBIDProvider) Name() string

/ Name define the name for this service

func (*PBIDProvider) Params

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

Params define the necessary params for NewInstance

func (*PBIDProvider) Register

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

Register registe a new function for make a service instance

type PBIDService

type PBIDService struct{}

func (*PBIDService) NewID

func (s *PBIDService) NewID() string

Jump to

Keyboard shortcuts

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