Documentation ¶
Index ¶
- type Service
- func (s *Service) Batch(ctx context.Context, req *privatepb.BatchRequest) (*privatepb.BatchResponse, error)
- func (s *Service) Create(ctx context.Context, req *privatepb.CreateRequest) (*privatepb.CreateResponse, error)
- func (s *Service) Delete(ctx context.Context, req *privatepb.DeleteRequest) (*privatepb.DeleteResponse, error)
- func (s *Service) Fetch(ctx context.Context, req *privatepb.FetchRequest) (*privatepb.FetchResponse, error)
- func (s *Service) List(ctx context.Context, req *privatepb.ListRequest) (*privatepb.ListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { privatepb.PeopleServer Store map[string]*privatepb.Person // contains filtered or unexported fields }
func (*Service) Batch ¶
func (s *Service) Batch(ctx context.Context, req *privatepb.BatchRequest) (*privatepb.BatchResponse, error)
func (*Service) Create ¶
func (s *Service) Create(ctx context.Context, req *privatepb.CreateRequest) (*privatepb.CreateResponse, error)
func (*Service) Delete ¶
func (s *Service) Delete(ctx context.Context, req *privatepb.DeleteRequest) (*privatepb.DeleteResponse, error)
func (*Service) Fetch ¶
func (s *Service) Fetch(ctx context.Context, req *privatepb.FetchRequest) (*privatepb.FetchResponse, error)
func (*Service) List ¶
func (s *Service) List(ctx context.Context, req *privatepb.ListRequest) (*privatepb.ListResponse, error)
Click to show internal directories.
Click to hide internal directories.