check auth  return value
This commit is contained in:
snoop 2017-06-06 20:02:44 +09:00
parent e91d23aeac
commit 7806a1eb96

View File

@ -28,13 +28,6 @@ type NoAuthAgent struct {
HostName string `json:"hostName,omitempty"`
}
const (
AUTHSTATUS_WAIT = "WAIT"
AUTHSTATUS_ACCEPT = "ACCEPT"
AUTHSTATUS_REFUSE = "REFUSE"
)
func NewNoAuthAgent(apikey string, localIp int64, hostName string) *NoAuthAgent {