Documentation
¶
Index ¶
- Variables
- type Server
- func (s *Server) CreateDeliveryOrder(ctx context.Context, req *dms.CreateDeliveryOrderRequest) (*dms.DeliveryOrder, error)
- func (s *Server) CreatePageView(ctx context.Context, req *metric.CreatePageViewRequest) (*pb.Empty, error)
- func (s *Server) CreateSession(ctx context.Context, req *session.CreateSessionRequest) (*session.Session, error)
- func (s *Server) CreateSignup(ctx context.Context, req *signup.CreateSignupRequest) (*signup.Signup, error)
- func (s *Server) DeleteDeliveryOrder(ctx context.Context, req *dms.DeleteDeliveryOrderRequest) (*pb.Empty, error)
- func (s *Server) GeoCodeDeliveryOrder(ctx context.Context, req *dms.GeoCodeDeliveryOrderRequest) (*dms.DeliveryOrder, error)
- func (s *Server) GetApplication(ctx context.Context, req *app.GetApplicationRequest) (*app.GetApplicationResponse, error)
- func (s *Server) GetSession(ctx context.Context, req *session.GetSessionRequest) (*session.Session, error)
- func (s *Server) ListApplications(ctx context.Context, req *app.ListApplicationsRequest) (*app.ListApplicationsResponse, error)
- func (s *Server) ListDeliveryOrders(ctx context.Context, req *dms.ListDeliveryOrdersRequest) (*dms.ListDeliveryOrdersResponse, error)
- func (s *Server) UpdateDeliveryOrder(ctx context.Context, req *dms.UpdateDeliveryOrderRequest) (*dms.DeliveryOrder, error)
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 ¶
func (s *Server) GetApplication(ctx context.Context, req *app.GetApplicationRequest) (*app.GetApplicationResponse, error)
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 ¶
func (s *Server) ListApplications(ctx context.Context, req *app.ListApplicationsRequest) (*app.ListApplicationsResponse, error)
ListApplications returns a list of all known films.
func (*Server) ListDeliveryOrders ¶
func (s *Server) ListDeliveryOrders(ctx context.Context, req *dms.ListDeliveryOrdersRequest) (*dms.ListDeliveryOrdersResponse, error)
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 ...
Click to show internal directories.
Click to hide internal directories.