Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveJSON ¶
func ResolveJSON(input []byte, limits *ResolveLimits) ([]byte, error)
ResolveJSON is an alias of Resolve but take a slice of byte insted of the direct struct. It return the response as a JSON.
Types ¶
type ResolveLimits ¶
type ResolveLimits struct { Duration time.Duration Trys uint64 NbBytes int // represent the limit of byte it can try, if 3 it will stop at [255,255,255] solution }
ResolveLimits set some limits on the resolution
Click to show internal directories.
Click to hide internal directories.