model

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPBPaging added in v0.1.7

func ToPBPaging(paging Paging) *librarian.PagingRequest

Types

type InternalID

type InternalID int64

type Paging

type Paging struct {
	PageSize int32
	PageNum  int32
}

func ToBizPaging added in v0.1.7

func ToBizPaging(paging *librarian.PagingRequest) Paging

func (*Paging) ToLimit added in v0.1.4

func (p *Paging) ToLimit() int

func (*Paging) ToOffset added in v0.1.4

func (p *Paging) ToOffset() int

type TimeRange added in v0.0.9

type TimeRange struct {
	StartTime time.Time
	Duration  time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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