Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidRequest ¶ added in v0.0.1
InvalidRequest - create error messages that are needed when validating request input
Types ¶
type Error ¶ added in v0.0.1
Error type for a new application error
type Key ¶
type Key string
A Key represents an identifier. It can be a pool ID, client ID, smart contract address, etc.
type Timestamp ¶
type Timestamp int64
Timestamp represents Unix time (e.g. in seconds)
type WhoPays ¶
type WhoPays int
WhoPays for file downloading.
const ( WhoPays3rdParty WhoPays = iota // 0, 3rd party user pays WhoPaysOwner // 1, file owner pays )
possible variants
Click to show internal directories.
Click to hide internal directories.