func (a *Auth) Allow(address string) error {
	cmd := C.CString("ALLOW")
	defer C.free(unsafe.Pointer(cmd))

	cAddress := C.CString(address)
	defer C.free(unsafe.Pointer(cAddress))

	rc := C.zstr_sendm(unsafe.Pointer(a.zactorT), cmd)
	if rc == -1 {
		return ErrActorCmd
	}

	rc = C.zstr_send(unsafe.Pointer(a.zactorT), cAddress)
	if rc == -1 {
		return ErrActorCmd
	}

	C.zsock_wait(unsafe.Pointer(a.zactorT))

	return nil
}
// Allow removes a previous Deny
Allow removes a previous Deny
// Allow removes a previous Deny
func (a *Auth) Allow(address string) error {
	cmd := C.CString("ALLOW")
	defer C.free(unsafe.Pointer(cmd))
	cAddress := C.CString(address)
	defer C.free(unsafe.Pointer(cAddress))
	rc := C.zstr_sendm(unsafe.Pointer(a.zactorT), cmd)
	if rc == -1 {
		return ErrActorCmd
	}
	rc = C.zstr_send(unsafe.Pointer(a.zactorT), cAddress)
	if rc == -1 {
		return ErrActorCmd
	}
	C.zsock_wait(unsafe.Pointer(a.zactorT))
	return nil
}
func ( a * Auth ) Allow ( address string ) error { cmd := C . CString ( " " ) defer C . free ( unsafe . Pointer ( cmd ) ) cAddress := C . CString ( address ) defer C . free ( unsafe . Pointer ( cAddress ) ) rc := C . zstr_sendm ( unsafe . Pointer ( a . zactorT ) , cmd ) if rc == - 1 { return ErrActorCmd } rc = C . zstr_send ( unsafe . Pointer ( a . zactorT ) , cAddress ) if rc == - 1 { return ErrActorCmd } C . zsock_wait ( unsafe . Pointer ( a . zactorT ) ) return nil }
Allow removes a previous Deny
Allow removes a previous Deny