123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
-
-
- package config
-
- import (
- "time"
- )
-
- type Config interface {
-
- GetAppID() string
-
-
- GetAppSecret() string
-
-
- GetMsgToken() string
-
-
- GetAccessToken() string
-
-
- RefreshToken(token string, expire time.Time) error
-
-
- GetVerifyTicket() string
-
-
- RefreshVerifyTicket(ticket string, expire time.Time) error
-
-
- GetPushTicketState() bool
-
-
- RefreshPushTicketState(state bool)
- }
-
- var conf Config
|