changed
check auth return value
This commit is contained in:
parent
e91d23aeac
commit
7806a1eb96
@ -28,13 +28,6 @@ type NoAuthAgent struct {
|
|||||||
HostName string `json:"hostName,omitempty"`
|
HostName string `json:"hostName,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
|
||||||
AUTHSTATUS_WAIT = "WAIT"
|
|
||||||
AUTHSTATUS_ACCEPT = "ACCEPT"
|
|
||||||
AUTHSTATUS_REFUSE = "REFUSE"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func NewNoAuthAgent(apikey string, localIp int64, hostName string) *NoAuthAgent {
|
func NewNoAuthAgent(apikey string, localIp int64, hostName string) *NoAuthAgent {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user