dao

package
v0.0.3-0...-2364115 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	*StoreManager
}

func New

func New(c config.Config) *Dao

type StoreManager

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

func MustNewStoreManager

func MustNewStoreManager(setId seqsvr.SetID, filePath string) *StoreManager

func (*StoreManager) GetCacheRouter

func (s *StoreManager) GetCacheRouter() *seqsvr.Router

func (*StoreManager) GetMaxSeqsData

func (s *StoreManager) GetMaxSeqsData() (*seqsvr.MaxSeqsData, error)

func (*StoreManager) SaveCacheRouter

func (s *StoreManager) SaveCacheRouter(router *seqsvr.Router) error

func (*StoreManager) SetSectionMaxSeq

func (s *StoreManager) SetSectionMaxSeq(id int32, maxSeq int64) int64

Jump to

Keyboard shortcuts

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