16 lines
289 B
Go
16 lines
289 B
Go
|
package network
|
||
|
|
||
|
// RelayReason is the type which describes the different relay outcome
|
||
|
type RelayReason uint8
|
||
|
|
||
|
// List of valid RelayReason.
|
||
|
const (
|
||
|
RelaySucceed RelayReason = iota
|
||
|
RelayAlreadyExists
|
||
|
RelayOutOfMemory
|
||
|
RelayUnableToVerify
|
||
|
RelayInvalid
|
||
|
RelayPolicyFail
|
||
|
RelayUnknown
|
||
|
)
|