Documentation ¶
Index ¶
- Variables
- func AuthScopes() map[auth.Operation][]auth.Scope
- type Server
- func (s *Server) CreateIdentificationServiceArea(ctx context.Context, req *ridpb.CreateIdentificationServiceAreaRequest) (*ridpb.PutIdentificationServiceAreaResponse, error)
- func (s *Server) CreateSubscription(ctx context.Context, req *ridpb.CreateSubscriptionRequest) (*ridpb.PutSubscriptionResponse, error)
- func (s *Server) DeleteIdentificationServiceArea(ctx context.Context, req *ridpb.DeleteIdentificationServiceAreaRequest) (*ridpb.DeleteIdentificationServiceAreaResponse, error)
- func (s *Server) DeleteSubscription(ctx context.Context, req *ridpb.DeleteSubscriptionRequest) (*ridpb.DeleteSubscriptionResponse, error)
- func (s *Server) GetIdentificationServiceArea(ctx context.Context, req *ridpb.GetIdentificationServiceAreaRequest) (*ridpb.GetIdentificationServiceAreaResponse, error)
- func (s *Server) GetSubscription(ctx context.Context, req *ridpb.GetSubscriptionRequest) (*ridpb.GetSubscriptionResponse, error)
- func (s *Server) SearchIdentificationServiceAreas(ctx context.Context, req *ridpb.SearchIdentificationServiceAreasRequest) (*ridpb.SearchIdentificationServiceAreasResponse, error)
- func (s *Server) SearchSubscriptions(ctx context.Context, req *ridpb.SearchSubscriptionsRequest) (*ridpb.SearchSubscriptionsResponse, error)
- func (s *Server) UpdateIdentificationServiceArea(ctx context.Context, req *ridpb.UpdateIdentificationServiceAreaRequest) (*ridpb.PutIdentificationServiceAreaResponse, error)
- func (s *Server) UpdateSubscription(ctx context.Context, req *ridpb.UpdateSubscriptionRequest) (*ridpb.PutSubscriptionResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Server ¶
type Server struct { App *application.App Timeout time.Duration }
Server implements ridpb.DiscoveryAndSynchronizationService.
func (*Server) CreateIdentificationServiceArea ¶
func (s *Server) CreateIdentificationServiceArea( ctx context.Context, req *ridpb.CreateIdentificationServiceAreaRequest) ( *ridpb.PutIdentificationServiceAreaResponse, error)
CreateIdentificationServiceArea creates an ISA
func (*Server) CreateSubscription ¶
func (s *Server) CreateSubscription( ctx context.Context, req *ridpb.CreateSubscriptionRequest) ( *ridpb.PutSubscriptionResponse, error)
CreateSubscription creates a single subscription.
func (*Server) DeleteIdentificationServiceArea ¶
func (s *Server) DeleteIdentificationServiceArea( ctx context.Context, req *ridpb.DeleteIdentificationServiceAreaRequest) ( *ridpb.DeleteIdentificationServiceAreaResponse, error)
DeleteIdentificationServiceArea deletes an existing ISA.
func (*Server) DeleteSubscription ¶
func (s *Server) DeleteSubscription( ctx context.Context, req *ridpb.DeleteSubscriptionRequest) ( *ridpb.DeleteSubscriptionResponse, error)
DeleteSubscription deletes an existing subscription.
func (*Server) GetIdentificationServiceArea ¶
func (s *Server) GetIdentificationServiceArea( ctx context.Context, req *ridpb.GetIdentificationServiceAreaRequest) ( *ridpb.GetIdentificationServiceAreaResponse, error)
GetIdentificationServiceArea returns a single ISA for a given ID.
func (*Server) GetSubscription ¶
func (s *Server) GetSubscription( ctx context.Context, req *ridpb.GetSubscriptionRequest) ( *ridpb.GetSubscriptionResponse, error)
GetSubscription gets a single subscription based on ID.
func (*Server) SearchIdentificationServiceAreas ¶
func (s *Server) SearchIdentificationServiceAreas( ctx context.Context, req *ridpb.SearchIdentificationServiceAreasRequest) ( *ridpb.SearchIdentificationServiceAreasResponse, error)
SearchIdentificationServiceAreas queries for all ISAs in the bounds.
func (*Server) SearchSubscriptions ¶
func (s *Server) SearchSubscriptions( ctx context.Context, req *ridpb.SearchSubscriptionsRequest) ( *ridpb.SearchSubscriptionsResponse, error)
SearchSubscriptions queries for existing subscriptions in the given bounds.
func (*Server) UpdateIdentificationServiceArea ¶
func (s *Server) UpdateIdentificationServiceArea( ctx context.Context, req *ridpb.UpdateIdentificationServiceAreaRequest) ( *ridpb.PutIdentificationServiceAreaResponse, error)
UpdateIdentificationServiceArea updates an existing ISA.
func (*Server) UpdateSubscription ¶
func (s *Server) UpdateSubscription( ctx context.Context, req *ridpb.UpdateSubscriptionRequest) ( *ridpb.PutSubscriptionResponse, error)
UpdateSubscription updates a single subscription.
Click to show internal directories.
Click to hide internal directories.