core_context

package
v0.0.0-...-c2450c0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Context = inject.Graph{}

Typically an application will have exactly one object graph, and you will create it and use it within a main function:

Functions

This section is empty.

Types

type CoreConfig

type CoreConfig struct {
	Server  string `json:"server"`  //服务名称
	Address string `json:"address"` //ip或者域名地址
	Consul  string `json:"consul"`  //consul服务发现地址
	Port    int    `json:"port"`    //服务端口

	Mysql          string `json:"mysql"`
	Redis_url      string `json:"redis_url"`
	Redis_password string `json:"redis_password"`
	CashierUrl     string `json:"cashier_url"` //支付宝和微信支付 http 请求接口(需要按照微信官方实现接口)
}

Jump to

Keyboard shortcuts

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