Documentation ¶
Index ¶
Constants ¶
View Source
const (
SaneDateFormat = "2006-01-02 15:04"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedDbApiClient ¶ added in v1.0.2
type CachedDbApiClient struct {
// contains filtered or unexported fields
}
func NewCachedDbApiClient ¶ added in v1.0.2
func NewCachedDbApiClient(apiClient DbApiClient) *CachedDbApiClient
func (*CachedDbApiClient) GetStations ¶ added in v1.0.2
func (c *CachedDbApiClient) GetStations(searchString string) (*models.Stations, error)
type DbApiClient ¶ added in v1.0.2
type DbApiClientWithRetries ¶ added in v1.0.2
type DbApiClientWithRetries struct {
// contains filtered or unexported fields
}
func NewDbApiClientWithRetries ¶ added in v1.0.2
func NewDbApiClientWithRetries(apiClient DbApiClient, retries int) *DbApiClientWithRetries
func (*DbApiClientWithRetries) GetStations ¶ added in v1.0.2
func (c *DbApiClientWithRetries) GetStations(searchString string) (*models.Stations, error)
type TimeTableClient ¶ added in v1.0.1
type TimeTableClient struct {
// contains filtered or unexported fields
}
func NewTimeTable ¶
func NewTimeTable(c *models.ClientCredentials) *TimeTableClient
func (*TimeTableClient) GetStations ¶ added in v1.0.1
func (c *TimeTableClient) GetStations(searchString string) (*models.Stations, error)
Click to show internal directories.
Click to hide internal directories.