Documentation ¶
Index ¶
- func IsGrayTestingOn() bool
- func TurnGrayTestingOff(req string)
- func TurnGrayTestingOn(req string)
- type DarkLaunchManager
- func (m *DarkLaunchManager) AddIp(ip string) error
- func (m *DarkLaunchManager) AddService(service string) error
- func (m *DarkLaunchManager) ContainsIp(ip string) bool
- func (m *DarkLaunchManager) ContainsService(service string) bool
- func (m *DarkLaunchManager) IpList() []string
- func (m *DarkLaunchManager) IsDarkModeOn() bool
- func (m *DarkLaunchManager) RemoveIp(ip string) error
- func (m *DarkLaunchManager) RemoveService(service string) error
- func (m *DarkLaunchManager) ServiceList() []string
- func (m *DarkLaunchManager) SetIpListener(ipListener IpListener) *DarkLaunchManager
- func (m *DarkLaunchManager) SetServiceListener(serviceListener ServiceListener) *DarkLaunchManager
- type IpListener
- type ServiceListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGrayTestingOn ¶
func IsGrayTestingOn() bool
func TurnGrayTestingOff ¶
func TurnGrayTestingOff(req string)
func TurnGrayTestingOn ¶
func TurnGrayTestingOn(req string)
Types ¶
type DarkLaunchManager ¶
type DarkLaunchManager struct {
// contains filtered or unexported fields
}
func NewDarkLaunchManager ¶
func NewDarkLaunchManager() *DarkLaunchManager
func NewDarkLaunchManager2 ¶
func NewDarkLaunchManager2(path string) *DarkLaunchManager
func (*DarkLaunchManager) AddIp ¶
func (m *DarkLaunchManager) AddIp(ip string) error
func (*DarkLaunchManager) AddService ¶
func (m *DarkLaunchManager) AddService(service string) error
func (*DarkLaunchManager) ContainsIp ¶
func (m *DarkLaunchManager) ContainsIp(ip string) bool
judge if ip is in dark mode
func (*DarkLaunchManager) ContainsService ¶
func (m *DarkLaunchManager) ContainsService(service string) bool
judge if ip is in dark mode
func (*DarkLaunchManager) IpList ¶
func (m *DarkLaunchManager) IpList() []string
func (*DarkLaunchManager) IsDarkModeOn ¶
func (m *DarkLaunchManager) IsDarkModeOn() bool
func (*DarkLaunchManager) RemoveIp ¶
func (m *DarkLaunchManager) RemoveIp(ip string) error
func (*DarkLaunchManager) RemoveService ¶
func (m *DarkLaunchManager) RemoveService(service string) error
func (*DarkLaunchManager) ServiceList ¶
func (m *DarkLaunchManager) ServiceList() []string
func (*DarkLaunchManager) SetIpListener ¶
func (m *DarkLaunchManager) SetIpListener(ipListener IpListener) *DarkLaunchManager
func (*DarkLaunchManager) SetServiceListener ¶
func (m *DarkLaunchManager) SetServiceListener(serviceListener ServiceListener) *DarkLaunchManager
type IpListener ¶
type ServiceListener ¶
Click to show internal directories.
Click to hide internal directories.