Structin aclcompute-sdk-go v1.11.0View source
type Handle struct {
// contains filtered or unexported fields
}

Handle is a handle for an ACL

Methods

func (h *Handle) Lookup(ip net.IP) (Response, error)

Lookup the given IP in the ACL and returns the response. If no match was found, returns ErrNoContent.

Parameters

ip: net.IP

Returns

(Response, error)