Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveRPCService ¶
type ArchiveRPCService struct { archivePb.UnimplementedArchiveServiceServer // contains filtered or unexported fields }
func NewArchiveRPCService ¶
func NewArchiveRPCService(logger *zap.Logger, archiveInteractor usecase.ArchiveUseCase) *ArchiveRPCService
func (ArchiveRPCService) CreateArchive ¶
func (s ArchiveRPCService) CreateArchive(server archivePb.ArchiveService_CreateArchiveServer) error
func (ArchiveRPCService) GetArchive ¶
func (s ArchiveRPCService) GetArchive(request *archivePb.GetArchiveRequest, server archivePb.ArchiveService_GetArchiveServer) error
type AuthenticationRPCService ¶
type AuthenticationRPCService struct { authPb.UnimplementedAuthenticationServiceServer // contains filtered or unexported fields }
func NewAuthenticationRPCService ¶
func NewAuthenticationRPCService( logger *zap.Logger, authenticationInteractor usecase.AuthenticationUseCase, hmacSecret string, ) AuthenticationRPCService
func (AuthenticationRPCService) AuthenticateClient ¶
func (s AuthenticationRPCService) AuthenticateClient(ctx context.Context, request *authPb.AuthenticateRequest) (*authPb.AuthenticateResponse, error)
func (AuthenticationRPCService) AuthenticateDevice ¶
func (s AuthenticationRPCService) AuthenticateDevice(ctx context.Context, request *authPb.AuthenticateRequest) (*authPb.AuthenticateResponse, error)
type EventRPCService ¶
type EventRPCService struct { eventPb.UnimplementedArchiveEventServiceServer // contains filtered or unexported fields }
func NewEventRPCService ¶
func NewEventRPCService(logger *zap.Logger, eventInteractor usecase.EventUseCase) *EventRPCService
func (EventRPCService) PublishEvent ¶
func (EventRPCService) ReceiveEvent ¶
func (s EventRPCService) ReceiveEvent(req *emptypb.Empty, server eventPb.ArchiveEventService_ReceiveEventServer) error
Click to show internal directories.
Click to hide internal directories.