Documentation ¶
Index ¶
- Variables
- type KrkStopsServer
- func (s *KrkStopsServer) FindNearestAirlyInstallation(ctx context.Context, location *pb.InstallationLocation) (*pb.Installation, error)
- func (s *KrkStopsServer) GetAirly(ctx context.Context, installation *pb.Installation) (*pb.Airly, error)
- func (s *KrkStopsServer) GetAirlyInstallation(ctx context.Context, installation *pb.Installation) (*pb.Installation, error)
- func (s *KrkStopsServer) GetDepartures2(ctx context.Context, stop *pb.Stop) (*pb.Departures, error)
- func (s *KrkStopsServer) SearchStops2(ctx context.Context, search *pb.StopSearch) (*pb.Stops, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ENDPOINT = "krkstops-1.germanywestcentral.cloudapp.azure.com:8080"
Functions ¶
This section is empty.
Types ¶
type KrkStopsServer ¶ added in v0.3.0
type KrkStopsServer struct { pb.UnimplementedKrkStopsServer Airly airly.Endpoint Ttss []ttss.Endpointer // contains filtered or unexported fields }
func NewServer ¶ added in v0.5.0
func NewServer(redisURI string) *KrkStopsServer
func (*KrkStopsServer) FindNearestAirlyInstallation ¶ added in v0.3.0
func (s *KrkStopsServer) FindNearestAirlyInstallation(ctx context.Context, location *pb.InstallationLocation) (*pb.Installation, error)
func (*KrkStopsServer) GetAirly ¶ added in v0.3.0
func (s *KrkStopsServer) GetAirly(ctx context.Context, installation *pb.Installation) (*pb.Airly, error)
func (*KrkStopsServer) GetAirlyInstallation ¶ added in v0.3.0
func (s *KrkStopsServer) GetAirlyInstallation(ctx context.Context, installation *pb.Installation) (*pb.Installation, error)
func (*KrkStopsServer) GetDepartures2 ¶ added in v0.5.0
func (s *KrkStopsServer) GetDepartures2(ctx context.Context, stop *pb.Stop) (*pb.Departures, error)
func (*KrkStopsServer) SearchStops2 ¶ added in v0.5.0
func (s *KrkStopsServer) SearchStops2(ctx context.Context, search *pb.StopSearch) (*pb.Stops, error)
Click to show internal directories.
Click to hide internal directories.