krkstops

package module
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

README

Krkstops

Krkstops is golang backend for KrkStops web and mobile application. Enjoy!

Documentation

Index

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)

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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