service

package
v0.0.0-...-0750751 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MapsAPIkey string = "AIzaSyBslJsVcubCFlQvF36XuxXbrEOm588gSa4"

MapsAPIkey is a Google Maps API key for Oswee project (limited access)

Functions

This section is empty.

Types

type Server

type Server struct {
}

Server ...

func (*Server) CreateDeliveryOrder

func (s *Server) CreateDeliveryOrder(ctx context.Context, req *dms.CreateDeliveryOrderRequest) (*dms.DeliveryOrder, error)

CreateDeliveryOrder creates new delivery order.

func (*Server) CreatePageView

func (s *Server) CreatePageView(ctx context.Context, req *metric.CreatePageViewRequest) (*pb.Empty, error)

CreatePageView returns a list of all known films.

func (*Server) CreateSession

func (s *Server) CreateSession(ctx context.Context, req *session.CreateSessionRequest) (*session.Session, error)

CreateSession creates new User session

func (*Server) CreateSignup

func (s *Server) CreateSignup(ctx context.Context, req *signup.CreateSignupRequest) (*signup.Signup, error)

CreateSignup creates new Signup record

func (*Server) DeleteDeliveryOrder

func (s *Server) DeleteDeliveryOrder(ctx context.Context, req *dms.DeleteDeliveryOrderRequest) (*pb.Empty, error)

DeleteDeliveryOrder deletes delivery order of given ID

func (*Server) GeoCodeDeliveryOrder

func (s *Server) GeoCodeDeliveryOrder(ctx context.Context, req *dms.GeoCodeDeliveryOrderRequest) (*dms.DeliveryOrder, error)

GeoCodeDeliveryOrder ...

func (*Server) GetApplication

GetApplication returns requested application data

func (*Server) GetSession

func (s *Server) GetSession(ctx context.Context, req *session.GetSessionRequest) (*session.Session, error)

GetSession ...

func (*Server) ListApplications

ListApplications returns a list of all known films.

func (*Server) ListDeliveryOrders

ListDeliveryOrders returns a list of all known films.

func (*Server) UpdateDeliveryOrder

func (s *Server) UpdateDeliveryOrder(ctx context.Context, req *dms.UpdateDeliveryOrderRequest) (*dms.DeliveryOrder, error)

UpdateDeliveryOrder ...

Jump to

Keyboard shortcuts

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