bootstrap

package module
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 15 Imported by: 0

README

kratos-bootstrap

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Service = config.NewServiceInfo(
		"",
		"1.0.0",
		"",
	)
)

Functions

func Bootstrap

func Bootstrap(initApp InitApp, serviceName, version *string)

Bootstrap 应用引导启动

func NewApp added in v0.3.2

func NewApp(ll log.Logger, rr kratosRegistry.Registrar, srv ...transport.Server) *kratos.App

NewApp 创建应用程序

Types

type InitApp added in v0.3.2

type InitApp func(logger log.Logger, registrar kratosRegistry.Registrar, bootstrap *conf.Bootstrap) (*kratos.App, func(), error)

Directories

Path Synopsis
api module
cache
redis Module
apollo Module
consul Module
etcd Module
kubernetes Module
nacos Module
polaris Module
aliyun Module
fluent Module
logrus Module
tencent Module
zap Module
oss
minio Module
consul Module
etcd Module
eureka Module
kubernetes Module
nacos Module
servicecomb Module
zookeeper Module

Jump to

Keyboard shortcuts

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