supb_info_base

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLabel

type EventLabel string

type Information

type Information interface {
	DeepCopy() Information
}

type PublisherLabel

type PublisherLabel string

type SubscriberLabel

type SubscriberLabel string

type SupbInfoBase

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

func NewInformer

func NewInformer(ctx context.Context, prefix string) *SupbInfoBase

func (*SupbInfoBase) Close

func (r *SupbInfoBase) Close() error

func (*SupbInfoBase) InitFlags

func (r *SupbInfoBase) InitFlags(flags *pflag.FlagSet)

func (*SupbInfoBase) InitViper

func (r *SupbInfoBase) InitViper(viper *viper.Viper)

func (*SupbInfoBase) Initialize

func (r *SupbInfoBase) Initialize(opts ...option)

func (*SupbInfoBase) OptionConfig

func (r *SupbInfoBase) OptionConfig(opts ...option)

func (*SupbInfoBase) Publish

func (r *SupbInfoBase) Publish(label PublisherLabel, event EventLabel, data Information) error

func (*SupbInfoBase) Subscribe

func (r *SupbInfoBase) Subscribe(label SubscriberLabel, event EventLabel) (<-chan Information, error)

func (*SupbInfoBase) UnSubscribe

func (r *SupbInfoBase) UnSubscribe(label SubscriberLabel, event EventLabel)

func (*SupbInfoBase) ViperConfig

func (r *SupbInfoBase) ViperConfig(viper *viper.Viper)

Jump to

Keyboard shortcuts

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