zen/internal/rpchandler/rpc_handler.go

18 lines
686 B
Go
Raw Normal View History

2024-08-22 17:26:53 +07:00
package rpchandler
import (
"gitlab.bareksa.com/backend/zen/internal/gen/proto/notify/v1/notifyv1connect"
)
type NotifyServiceHandler struct {
notifyv1connect.UnimplementedNotifyServiceHandler
}
// func (no *NotifyServiceHandler) SendNotification(_ context.Context, _ *connect.Request[notifyv1.SendNotificationRequest]) (*connect.Response[notifyv1.SendNotificationResponse], error) {
// panic("not implemented") // TODO: Implement
// }
//
// func (no *NotifyServiceHandler) SendAttachment(_ context.Context, _ *connect.ClientStream[notifyv1.SendAttachmentRequest]) (*connect.Response[notifyv1.SendAttachmentResponse], error) {
// panic("not implemented") // TODO: Implement
// }