dopTypes

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartVByTimeSt

type ChartVByTimeSt struct {
	Ts time.Time `json:"ts"`
	V  int64     `json:"v"`
}

type CreateRep

type CreateRep struct {
	Id any `json:"id"`
}

type ErrRep

type ErrRep struct {
	ErrorCode string            `json:"error_code"`
	Desc      string            `json:"desc,omitempty"`
	Fields    map[string]string `json:"fields,omitempty"`
}

type ListParams

type ListParams struct {
	Cols           []string `json:"cols" form:"cols"`
	Page           int64    `json:"page" form:"page"`
	PageSize       int64    `json:"page_size" form:"page_size"`
	WithTotalCount bool     `json:"with_total_count" form:"with_total_count"`
	OnlyCount      bool     `json:"only_count" form:"only_count"`
	SortName       string   `json:"sort_name" form:"sort_name"`
	Sort           []string `json:"sort" form:"sort"`
}

type ListRep

type ListRep struct {
	Results any `json:"results"`
}

type PaginatedListRep

type PaginatedListRep struct {
	Page       int64 `json:"page"`
	PageSize   int64 `json:"page_size"`
	TotalCount int64 `json:"total_count"`

	Results any `json:"results"`
}

type PeriodPars

type PeriodPars struct {
	TsGTE *time.Time `json:"ts_gte" form:"ts_gte"`
	TsLTE *time.Time `json:"ts_lte" form:"ts_lte"`
}

Jump to

Keyboard shortcuts

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