bootstrap

package
v0.0.0-...-248868a Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrapper

type Bootstrapper interface {
	Initialize(cfgFile string)
	AddServices(services ...OptionService)
	Close()
	GetTopicManagerConfig() *goka.TopicManagerConfig
	GetRegistryRest() *restRegistry.ServiceRegistry
	GetRegistryConsumer() *consumerRegistry.ServiceRegistry
	GetRest() interfaces.Rest
	RunServices()
}

func New

func New() Bootstrapper

type OptionService

type OptionService func(b *bootstrap)

func NewGokaConsumerGroup

func NewGokaConsumerGroup(params consumer.GokaConsumerGroupOpt) OptionService

func NewGokaProducer

func NewGokaProducer(params producer.GokaProducerOpt) OptionService

func NewGokaViewTable

func NewGokaViewTable(params viewtable.GokaViewTableOpt) OptionService

func NewServiceRest

func NewServiceRest(param rest.Options) OptionService

Jump to

Keyboard shortcuts

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