carrier_memory

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

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

func New

func New(ctx context.Context) *Instance

func (*Instance) Close

func (i *Instance) Close() error

func (*Instance) Delete

func (i *Instance) Delete(sessionId, name string) error

func (*Instance) DeleteAll

func (i *Instance) DeleteAll(sessionId string) error

func (*Instance) GC

func (i *Instance) GC(_ context.Context) error

func (*Instance) Get

func (i *Instance) Get(sessionId, name string) (*session.Session, error)

func (*Instance) GetAll

func (i *Instance) GetAll(sessionId string) ([]*session.Session, error)

func (*Instance) Save

func (i *Instance) Save(s *session.Session) error

Jump to

Keyboard shortcuts

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