source

package
v0.0.0-...-bf0d46e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IdName   string
	PageSize int64
	Total    int64
}

type Mock

type Mock[E storage.Entry] struct {
	storage.Storage
	// contains filtered or unexported fields
}

func NewSliceMap

func NewSliceMap(config Config) *Mock[storage.MapEntry]

func NewSliceMapOfString

func NewSliceMapOfString(config Config) *Mock[storage.MapOfStringsEntry]

func NewSliceString

func NewSliceString(config Config) *Mock[string]

func (*Mock[E]) Close

func (m *Mock[E]) Close() error

func (*Mock[E]) Copy

func (m *Mock[E]) Copy(items []E) []E

func (*Mock[E]) ReceiveChan

func (m *Mock[E]) ReceiveChan() <-chan []E

func (*Mock[E]) Scan

func (m *Mock[E]) Scan() error

func (*Mock[E]) State

func (m *Mock[E]) State() []string

func (*Mock[E]) Summary

func (m *Mock[E]) Summary() []string

func (*Mock[E]) Title

func (m *Mock[E]) Title() string

type SliceMap

type SliceMap struct {
}

type SliceMapOfString

type SliceMapOfString struct {
}

type SliceString

type SliceString struct {
}

Jump to

Keyboard shortcuts

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