quanta_service

package
v0.0.0-...-45e8f3b Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	common.BaseService
	// contains filtered or unexported fields
}

func NewService

func NewService(tracker *common.Tracker) *Service

func (*Service) GetQuantaByKey

func (s *Service) GetQuantaByKey(key string) *vo.QuantaVo

func (*Service) LoadQuanta

func (s *Service) LoadQuanta(id int) *errcode.ErrCode

func (*Service) QueryQuantaByKeys

func (s *Service) QueryQuantaByKeys(keys ...string) []*vo.QuantaVo

func (*Service) QueryQuantaPage

func (s *Service) QueryQuantaPage(param *dto.QuantaDto) *errcode.ErrCode

func (*Service) UpdateQuanta

func (s *Service) UpdateQuanta(param *dto.QuantaDto) *errcode.ErrCode

Jump to

Keyboard shortcuts

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