service

package
v0.0.0-...-8f74952 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceDefault

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

func NewDefault

func NewDefault(db *sqlx.DB, tablePrefix string, rdb *goredis.Client, keyPrefix string) (d DataSourceDefault)

func (DataSourceDefault) GetById

func (d DataSourceDefault) GetById(id int) string

func (DataSourceDefault) NoneFunc

func (d DataSourceDefault) NoneFunc()

type DataSourceMock

type DataSourceMock struct {
}

func NewMock

func NewMock() DataSourceMock

func (DataSourceMock) Get

func (d DataSourceMock) Get() ExtErr.Err

func (DataSourceMock) GetById

func (d DataSourceMock) GetById(id int) string

func (DataSourceMock) NoneFunc

func (d DataSourceMock) NoneFunc()

Jump to

Keyboard shortcuts

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