Discover Packages
github.com/fzakfeld/go-hafas
hafas
hrequests
package
Version:
v0.0.0-...-32d9c17
Opens a new window with list of versions in this module.
Published: Jul 13, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Auth struct {
Type string `json:"type"`
AID string `json:"aid"`
}
type Client struct {
Type string `json:"type"`
ID string `json:"id"`
V int `json:"v"`
Name string `json:"name"`
}
type Config struct {
RtMode string `json:"rtMode"`
}
type JourneyDetailsRequest struct {
Jid string `json:"jid"`
GetPolyline bool `json:"getPolyline"`
}
type JourneyFilter struct {
Type string `json:"type"`
Mode string `json:"mode"`
Value string `json:"value"`
}
type Location struct {
Type string `json:"type"`
LineId string `json:"lid"`
}
type Request struct {
Meth string `json:"meth"`
Req interface{} `json:"req"`
Cfg Config `json:"cfg"`
}
type RequestBase struct {
Lang string `json:"lang"`
SvcReqL [1]Request `json:"svcReqL"`
Ext string `json:"ext"`
Ver string `json:"ver"`
Client Client `json:"client"`
Auth Auth `json:"auth"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.