Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultApiBase = "http://localhost:8080"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct {
Block int64 `json:"block"`
Burned int64 `json:"burned"`
Divisibility int `json:"divisibility"`
Etching string `json:"etching"`
Mints int64 `json:"mints"`
Number int64 `json:"number"`
Premine int64 `json:"premine"`
SpacedRune string `json:"spaced_rune"`
Symbol string `json:"symbol"`
Terms Terms `json:"terms"`
TermsEnabled bool `json:"termsenabled"`
Timestamp int64 `json:"timestamp"`
Turbo bool `json:"turbo"`
}
type Response ¶
type Response struct {
Entries [][]interface{} `json:"entries"` // Use interface{} because the first element is string and second is Details
More bool `json:"more"`
Prev interface{} `json:"prev"` // Use interface{} because it can be null or other types
Next interface{} `json:"next"`
}
Click to show internal directories.
Click to hide internal directories.