modules

package
v0.0.0-...-4353b78 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModuleContext moduleWrapper

ModuleContext 模块上下文

Functions

func Setup

func Setup()

Setup 初始化Modules

Types

type DBConfig

type DBConfig struct {
	Host        string `json:"host"`
	User        string `json:"user"`
	Password    string `json:"password"`
	Name        string `json:"name"`
	DbType      string `json:"dbType"`
	TablePrefix string `json:"tbPrefix"`
}

type OssClientConfig

type OssClientConfig struct {
	Endpoint  string `json:"endpoint"`
	AccessKey string `json:"accessKey"`
	SecretKey string `json:"secretKey"`
	Bucket    string `json:"bucket"`
}

type RedisConfig

type RedisConfig struct {
	Address string `json:"address"`
	Port    string `json:"port"`
}

Jump to

Keyboard shortcuts

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