package
module
Version:
v2.0.0-beta.3
Opens a new window with list of versions in this module.
Published: Apr 10, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Server sets routes for api
type SessionClaim struct {
SessionID string `json:"sessionId" binding:"required"`
Issued Time `json:"issued" binding:"required"`
Checksum string `json:"checksum" binding:"required"`
Solution string `json:"solution" binding:"required"`
Hash string `json:"hash" binding:"required"`
}
Time is a JSON un/marshallable type of time.Time
MarshalJSON is used to convert the timestamp to JSON
UnmarshalJSON is used to convert the timestamp from JSON
Source Files
¶
Click to show internal directories.
Click to hide internal directories.