app

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// 应用id
	Id string `json:"id"`
	// 应用环境
	Env string `json:"env"`
	// 应用名称
	Name string `json:"name"`
	// 应用密钥
	Secret string `json:"secret"`
	// 应用版本
	Version string `json:"version"`
	// 实例id
	InstanceId string `json:"instance_id"`
}

func (*Config) Bootstrap added in v1.4.8

func (c *Config) Bootstrap() error

Jump to

Keyboard shortcuts

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