bootstrap

package
v0.0.0-...-6f15561 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewApp

func NewApp(c *AppConfig, servers ...transport.Server) *kratos.App

func NewLogger

func NewLogger(info *AppInfo) krtlog.Logger

Types

type AppConfig

type AppConfig struct {
	Info   *AppInfo
	Logger krtlog.Logger
}

type AppInfo

type AppInfo struct {
	ID      string
	Name    string
	Version string
}

func NewAppInfo

func NewAppInfo(id, name, version string) *AppInfo

Jump to

Keyboard shortcuts

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