package
Version:
v0.0.0-...-4976f39
Opens a new window with list of versions in this module.
Published: Feb 7, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
ApplicationID string `long:"application-id" env:"APPLICATION_ID" description:"Wargaming API application_id" required:"yes"`
HTTPTimeout time.Duration `long:"http-timeout" env:"HTTP_TIMEOUT" description:"HTTP Wargaming API call timeout" default:"10s"`
}
type Error struct {
Code int `json:"code"`
Message string `json:"message"`
Field string `json:"field"`
Value string `json:"value"`
}
type PlayerData struct {
Nickname string `json:"nickname"`
AccountID int `json:"account_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.