mem

package
v0.0.0-...-941dc1b Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2023 Jon Lundy <jon@xuu.cc> SPDX-License-Identifier: BSD-3-Clause

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemSession

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

func NewMemSession

func NewMemSession(c *client.Client) *MemSession

func (*MemSession) ReadLog

func (m *MemSession) ReadLog(ctx context.Context, streamID string, after, count int64) ([]any, error)

func (*MemSession) Update

func (m *MemSession) Update(ctx context.Context, args any)

type SessionLogger

type SessionLogger interface {
	ReadLog(ctx context.Context, streamID string, after, count int64) ([]any, error)
}

Jump to

Keyboard shortcuts

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