Documentation
¶
Index ¶
- type Client
- func (c *Client) DeleteEvent(ctx context.Context, triggerId string, eventId string) error
- func (c *Client) DeleteEventsForTrigger(ctx context.Context, triggerID string) error
- func (c *Client) Insert(ctx context.Context, rec capabilities.PendingEvent) error
- func (c *Client) List(ctx context.Context) ([]capabilities.PendingEvent, error)
- func (c *Client) UpdateDelivery(ctx context.Context, triggerId string, eventId string, lastSentAt time.Time, ...) error
- type Server
- func (s *Server) DeleteEvent(ctx context.Context, req *pb.DeleteEventRequest) (*emptypb.Empty, error)
- func (s *Server) DeleteEventsForTrigger(ctx context.Context, req *pb.DeleteEventsForTriggerRequest) (*emptypb.Empty, error)
- func (s *Server) Insert(ctx context.Context, req *pb.InsertEventRequest) (*emptypb.Empty, error)
- func (s *Server) List(ctx context.Context, _ *emptypb.Empty) (*pb.ListEventsResponse, error)
- func (s *Server) UpdateDelivery(ctx context.Context, req *pb.UpdateDeliveryRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
func (*Client) DeleteEvent ¶
func (*Client) DeleteEventsForTrigger ¶
func (*Client) Insert ¶
func (c *Client) Insert(ctx context.Context, rec capabilities.PendingEvent) error
func (*Client) List ¶
func (c *Client) List(ctx context.Context) ([]capabilities.PendingEvent, error)
type Server ¶
type Server struct {
pb.UnimplementedEventStoreServer
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(impl capabilities.EventStore) *Server
func (*Server) DeleteEvent ¶
func (*Server) DeleteEventsForTrigger ¶
func (*Server) UpdateDelivery ¶
Click to show internal directories.
Click to hide internal directories.