Documentation ¶
Index ¶
- type NotifiyEventServer
- type NotifyServer
- func (n *NotifyServer) Add(ctx context.Context, req *pb.AddRequest) (*pb.AddResponse, error)
- func (n *NotifyServer) Delete(ctx context.Context, req *pb.GetRequest) (*pb.DeleteResponse, error)
- func (n *NotifyServer) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
- func (n *NotifyServer) List(ctx context.Context, req *pb.ListRequest) (*pb.ListResponse, error)
- func (n *NotifyServer) Purge(ctx context.Context, req *pb.PurgeRequest) (*pb.ListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifiyEventServer ¶
type NotifiyEventServer struct { epb.UnimplementedEventNotificationServiceServer // contains filtered or unexported fields }
func NewNotifyEventServer ¶
func NewNotifyEventServer(orgName string, nRepo db.NotificationRepo, msgBus mb.MsgBusServiceClient, routes []string) *NotifiyEventServer
func (*NotifiyEventServer) EventNotification ¶
func (n *NotifiyEventServer) EventNotification(ctx context.Context, e *epb.Event) (*epb.EventResponse, error)
type NotifyServer ¶
type NotifyServer struct { pb.UnimplementedNotifyServiceServer // contains filtered or unexported fields }
func NewNotifyServer ¶
func NewNotifyServer(orgName string, nRepo db.NotificationRepo, msgBus mb.MsgBusServiceClient) *NotifyServer
func (*NotifyServer) Add ¶
func (n *NotifyServer) Add(ctx context.Context, req *pb.AddRequest) (*pb.AddResponse, error)
func (*NotifyServer) Delete ¶
func (n *NotifyServer) Delete(ctx context.Context, req *pb.GetRequest) (*pb.DeleteResponse, error)
func (*NotifyServer) Get ¶
func (n *NotifyServer) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
func (*NotifyServer) List ¶
func (n *NotifyServer) List(ctx context.Context, req *pb.ListRequest) (*pb.ListResponse, error)
func (*NotifyServer) Purge ¶
func (n *NotifyServer) Purge(ctx context.Context, req *pb.PurgeRequest) (*pb.ListResponse, error)
Click to show internal directories.
Click to hide internal directories.