rlog

package
v0.0.0-...-36d6306 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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)

func NewLogValue

func NewLogValue(v any) (*structpb.Value, error)

NewLogValue converts a Go value to a protobuf-compatible structpb.Value. It handles types that structpb.NewValue doesn't support natively, like []int.

Types

type LogEvent

type LogEvent struct {
	Type string
	Log  *apiv1.Log
}

type LogServiceRPC

type LogServiceRPC struct {
	// contains filtered or unexported fields
}

func (*LogServiceRPC) LogCollection

func (*LogServiceRPC) LogSync

type LogTopic

type LogTopic struct {
	UserID idwrap.IDWrap
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL