Documentation ¶
Index ¶
- func RegisterService(s *grpc.Server, service *Service)
- type Config
- type Service
- func (s *Service) BatchCreateEntry(ctx context.Context, req *entry.BatchCreateEntryRequest) (*entry.BatchCreateEntryResponse, error)
- func (s *Service) BatchDeleteEntry(ctx context.Context, req *entry.BatchDeleteEntryRequest) (*entry.BatchDeleteEntryResponse, error)
- func (s *Service) BatchUpdateEntry(ctx context.Context, req *entry.BatchUpdateEntryRequest) (*entry.BatchUpdateEntryResponse, error)
- func (s *Service) GetAuthorizedEntries(ctx context.Context, req *entry.GetAuthorizedEntriesRequest) (*entry.GetAuthorizedEntriesResponse, error)
- func (s *Service) GetEntry(ctx context.Context, req *entry.GetEntryRequest) (*types.Entry, error)
- func (s *Service) ListEntries(ctx context.Context, req *entry.ListEntriesRequest) (*entry.ListEntriesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService registers the entry service on the gRPC server.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements the v1 entry service
func (*Service) BatchCreateEntry ¶
func (*Service) BatchDeleteEntry ¶
func (*Service) BatchUpdateEntry ¶
func (*Service) GetAuthorizedEntries ¶
Click to show internal directories.
Click to hide internal directories.