versionctx

package
v3.8.2-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableVersionCtx

func EnableVersionCtx() grpc.ServerOption

func WithVersionLog

func WithVersionLog(ctx context.Context) context.Context

Types

type Collection

type Collection struct {
	Name string
	Doc  *tablerelation.VersionLog
}

type VersionLog

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

func GetVersionLog

func GetVersionLog(ctx context.Context) *VersionLog

func (*VersionLog) Append

func (v *VersionLog) Append(data ...Collection)

func (*VersionLog) Get

func (v *VersionLog) Get() []Collection

Jump to

Keyboard shortcuts

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