Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventTypeInsert = "insert" EventTypeUpdate = "update" EventTypeDelete = "delete" )
Variables ¶
This section is empty.
Functions ¶
func CreateService ¶
func CreateService(srv LogServiceRPC, options []connect.HandlerOption) (*api.Service, error)
Types ¶
type LogServiceRPC ¶
type LogServiceRPC struct {
// contains filtered or unexported fields
}
func New ¶
func New(stream eventstream.SyncStreamer[LogTopic, LogEvent]) LogServiceRPC
func (*LogServiceRPC) LogCollection ¶
func (*LogServiceRPC) LogSync ¶
func (c *LogServiceRPC) LogSync(ctx context.Context, req *connect.Request[emptypb.Empty], stream *connect.ServerStream[apiv1.LogSyncResponse]) error
Click to show internal directories.
Click to hide internal directories.