vchantempstore

package
v0.10.3-0...-96d0e78 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

ErrNotFound is returned when the vchannel is not found.

Functions

This section is empty.

Types

type VChannelTempStorage

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

VChannelTempStorage is a temporary storage for vchannel messages. It's used to make compatibility between old version and new version message. TODO: removed in 3.0.

func NewVChannelTempStorage

func NewVChannelTempStorage(mix *syncutil.Future[types.MixCoordClient]) *VChannelTempStorage

NewVChannelTempStorage creates a new VChannelTempStorage.

func (*VChannelTempStorage) GetVChannelByPChannelOfCollection

func (ts *VChannelTempStorage) GetVChannelByPChannelOfCollection(ctx context.Context, collectionID int64, pchannel string) (string, error)

Jump to

Keyboard shortcuts

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