resource

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = Resource{}

Functions

This section is empty.

Types

type GzconfigStruct

type GzconfigStruct struct {
	// 是否为代码生成器生成
	Generator bool

	Mode   string
	Active string
	Name   string
	Server struct {
		Host string
		Port string
	}
	Banner struct {
		Mode string // off on 隐藏、打印banner 默认on
		Text string // 自定义banner
	}
	Build struct {
		Goos   string
		Goarch string
	}
}
var GzConfig *GzconfigStruct

声明

func GetConfig

func GetConfig() *GzconfigStruct

type Resource

type Resource struct {
	Gz GzconfigStruct
}

Jump to

Keyboard shortcuts

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