impl

package
v0.15.0-zentao-beta-5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultBasicRes

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

DefaultBasicRes offers a common implementation for the BasisRes interface

func NewDefaultBasicRes

func NewDefaultBasicRes(
	cfg *viper.Viper,
	logger core.Logger,
	db dal.Dal,
) *DefaultBasicRes

NewDefaultBasicRes creates a new DefaultBasicRes instance

func (*DefaultBasicRes) GetConfig

func (c *DefaultBasicRes) GetConfig(name string) string

GetConfig returns the value of the specificed name

func (*DefaultBasicRes) GetDal

func (c *DefaultBasicRes) GetDal() dal.Dal

GetDal returns the Dal instance

func (*DefaultBasicRes) GetLogger

func (c *DefaultBasicRes) GetLogger() core.Logger

GetLogger returns the Logger instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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