storage

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	StorageSchemaVersion = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Service)

func WithPrefix

func WithPrefix(prefix string) Option

type Service

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

func New

func New(storageClient interfaces.StorageClient, opts ...Option) *Service

func (*Service) GetHistory

func (s *Service) GetHistory(ctx context.Context, ticketID types.TicketID, historyID types.HistoryID) (*gollem.History, error)

func (*Service) PutHistory

func (s *Service) PutHistory(ctx context.Context, ticketID types.TicketID, historyID types.HistoryID, history *gollem.History) error

Jump to

Keyboard shortcuts

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