cmd

package
v0.0.0-...-9edbc40 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestRun

func RestRun()

func Run

func Run()

func SeedMaria

func SeedMaria()

func SeedMongo

func SeedMongo()

func SeedPg

func SeedPg()

Types

type Bootstrap

type Bootstrap interface {
	Initialized(cfgFile string)
	AddService(service ...OptionService)
	GetRegistryRest() *restRegistry.ServiceRegistry
	RunServices()
	Shutdown()
}

func NewBootstrap

func NewBootstrap() Bootstrap

type OptionService

type OptionService func(b *bootstrap)

func NewServiceMariaDB

func NewServiceMariaDB(param mariaDataStore.OptMaria) OptionService

func NewServiceMongoDB

func NewServiceMongoDB(param mongoDataStore.OptMongo) OptionService

func NewServicePgSQL

func NewServicePgSQL(param pgDataStore.OptPgsql) OptionService

func NewServiceRest

func NewServiceRest(param rest.Options) OptionService

type OptionsService

type OptionsService []OptionService

func (*OptionsService) Add

func (o *OptionsService) Add(option ...OptionService)

Jump to

Keyboard shortcuts

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