data

package
v0.0.0-...-3237e8e Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.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 AgeData

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

func NewAgeData

func NewAgeData(logger *logrus.Entry) *AgeData

func (*AgeData) Get

func (s *AgeData) Get(ctx context.Context, age uint64) (sage dao.Age, err error)

TODO(mike.cao): 递归每次返回不一样的 age

func (*AgeData) SetLogger

func (s *AgeData) SetLogger(logger *logrus.Entry)

Jump to

Keyboard shortcuts

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