yama

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	ContractDeploy() *errors.Error
	YinPlant(req YinPlantReq) (*YinPlantResp, *errors.Error)
	ValueLoad(req ValueLoadReq) (*ValueLoadResp, *errors.Error)
}

type ValueLoadReq

type ValueLoadReq struct {
	VN   vn.ID      `json:"vn"`
	Page *load.Page `json:"page"`
}

type ValueLoadResp

type ValueLoadResp struct {
	TTM    int64          `json:"ttm"`
	Items  []*ValueSpItem `bson:"items" json:"items"`
	Paging *load.Paging   `bson:"paging" json:"paging"`
}

type ValueSpItem

type ValueSpItem struct {
	SP    sp.ID       `json:"sp"`
	TTM   int64       `json:"ttm"`
	Value value.Value `json:"value"`
	LstDt string      `json:"lst_dt"`
}

type YinPlantReq

type YinPlantReq struct {
	Yin *yn.Yin `json:"yin"`
}

type YinPlantResp

type YinPlantResp struct {
	YID yn.YID `json:"yid"`
}

Jump to

Keyboard shortcuts

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