Documentation
¶
Index ¶
- Variables
- func AlipayBiliPriv() (key string)
- func AlipayPub() (key string)
- func Init() (err error)
- func RsaPriv() (key string)
- func RsaPub() (key string)
- type Account
- type BFS
- type Config
- type Geetest
- type GeetestConfig
- type HTTPClient
- type HTTPServers
- type Host
- type RPC
- type Realname
- type Switch
- type VipProperty
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
func AlipayBiliPriv ¶
func AlipayBiliPriv() (key string)
AlipayBiliPriv bilibili generate rsa private key
Types ¶
type BFS ¶
type BFS struct { Timeout time.Duration MaxFileSize int URL string Method string Bucket string Key string Secret string }
BFS bfs config
type Config ¶
type Config struct { Xlog *log.Config Tracer *trace.Config BM *HTTPServers AuthN *auth.Config Verify *verify.Config RPCClient2 *RPC HTTPClient *HTTPClient App *bm.App Ecode *ecode.Config Antispam *antispam.Config BatchRelAntispam *antispam.Config SMSAntispam *antispam.Config FaceAntispam *antispam.Config VIPAntispam *antispam.Config Host *Host BFS *BFS FaceBFS *BFS AccMemcache *memcache.Config AccRedis *redis.Config Realname *Realname Supervisor *supervisor.Config NickFreeAppKeys map[string]string Report *databus.Config Switch *Switch Vipproperty *VipProperty AccountNotify *databus.Config CardClient *warden.ClientConfig Geetest *Geetest Account *Account VipThirdVerifyConfig *vipverify.Config VipClient *warden.ClientConfig CouponClient *warden.ClientConfig }
Config struct of conf.
type GeetestConfig ¶
GeetestConfig conf.
type HTTPClient ¶
type HTTPClient struct { Normal *bm.ClientConfig Slow *bm.ClientConfig }
HTTPClient conf.
type Host ¶
type Host struct { AccCom string AccCo string Passport string API string Vip string WWW string Search string CM string PassportCom string }
Host host.
type RPC ¶
type RPC struct { Relation *rpc.ClientConfig Member *rpc.ClientConfig Account *rpc.ClientConfig Vip *rpc.ClientConfig Usersuit *rpc.ClientConfig Archive *rpc.ClientConfig UP *rpc.ClientConfig Article *rpc.ClientConfig PassPort *rpc.ClientConfig Coin *rpc.ClientConfig Location *rpc.ClientConfig Secure *rpc.ClientConfig Filter *rpc.ClientConfig Coupon *rpc.ClientConfig Point *rpc.ClientConfig Resource *rpc.ClientConfig }
RPC config
type Realname ¶
type Realname struct { DataDir string ImageExpire time.Duration AlipayAntispamTTL int32 AlipayAntispamThreshold int Geetest *struct { RegisterURL string ValidateURL string CaptchaID string PrivateKey string } Alipay *struct { Gateway string AppID string } Channel []*struct { Name string Flag bool } }
Realname .
type VipProperty ¶
type VipProperty struct { CodeOpenwhiteIPMap map[string][]string OfficialMid int64 OAuthClient *bm.ClientConfig EleOAuthURI string EleConsumerKey string EleOAuthCallBackURI string ActivityURI string ActStartTime int64 ActEndTime int64 AssociateWhiteIPMap map[string][]string AssociateWhiteMidMap []int64 AssociateWhiteOutOpenIDMap []string }
VipProperty .
Click to show internal directories.
Click to hide internal directories.