metadata

package
v0.0.0-...-3735443 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResponse

type BaseResponse struct {
	Code   int64  `json:"code"`
	Status string `json:"status"`
}

type Condition

type Condition struct {
	Page    `json:",inline"`
	Filters Filters `json:"filters"`
}

type DpmTime

type DpmTime struct {
	time.Time
}

func (*DpmTime) MarshalBSONValue

func (t *DpmTime) MarshalBSONValue() (bsontype.Type, []byte, error)

func (*DpmTime) MarshalJSON

func (t *DpmTime) MarshalJSON() ([]byte, error)

func (*DpmTime) UnmarshalBSONValue

func (t *DpmTime) UnmarshalBSONValue(tType bsontype.Type, raw []byte) error

func (*DpmTime) UnmarshalJSON

func (t *DpmTime) UnmarshalJSON(data []byte) error

type Filters

type Filters map[string]interface{}

type MapStr

type MapStr map[string]interface{}

type Page

type Page struct {
	Limit  int64 `json:"limit"`
	Offset int64 `json:"offset"`
}

type PageData

type PageData struct {
	PageNo     int64       `json:"pageNo"`
	PageSize   int64       `json:"pageSize"`
	TotalCount int64       `json:"totalCount"`
	Data       interface{} `json:"data"`
}

type PageListResponse

type PageListResponse struct {
	BaseResponse `json:",inline"`
	Info         PageData `json:"info"`
}

type PageRequest

type PageRequest struct {
	PageNo   int64   `json:"pageNo"`
	PageSize int64   `json:"pageSize"`
	Filters  Filters `json:"filters"`
}

type Response

type Response struct {
	BaseResponse `json:",inline"`
	Info         interface{} `json:"info"`
}

Jump to

Keyboard shortcuts

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