apirtdatabase

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseParams

type DatabaseParams struct {
	FeedIDs           []int   `json:"feed_ids" validate:"required,gt=0"`
	Op                string  `json:"op" validate:"required,oneof=status load loadcustomgtfs compute purge_gtfs purge_computed purge_all"`
	LoadCustomGTFSURI *string `json:"loadcustomgtfs_uri,omitempty"`
}

type DatabaseResponse

type DatabaseResponse = mobsql.FeedOpResult

func RTDatabase

func RTDatabase(runtime *apirtinit.MobrouteRuntime, params *DatabaseParams) (*DatabaseResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL