Documentation
¶
Overview ¶
Package privacy implements the Privacy gRPC service.
Index ¶
- type Option
- type Service
- func (s *Service) DisableLocationServices(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) EnableLocationServices(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) GetLocationServices(ctx context.Context, req *emptypb.Empty) (*wrapperspb.BoolValue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pb.UnimplementedPrivacyServiceServer // contains filtered or unexported fields }
Service is the implementation of the privacy service.
func (*Service) DisableLocationServices ¶
func (s *Service) DisableLocationServices(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)
DisableLocationServices disables the location services.
func (*Service) EnableLocationServices ¶
func (s *Service) EnableLocationServices(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)
EnableLocationServices enables the location services.
func (*Service) GetLocationServices ¶
func (s *Service) GetLocationServices(ctx context.Context, req *emptypb.Empty) (*wrapperspb.BoolValue, error)
GetLocationServices returns the status of the location services.
Click to show internal directories.
Click to hide internal directories.