model

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 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 AccountAppRelationType added in v0.2.1

type AccountAppRelationType int
const (
	AccountAppRelationTypeUnspecified AccountAppRelationType = iota
	AccountAppRelationTypeOwner
)

type InternalID

type InternalID int64

type Paging

type Paging struct {
	PageSize int64
	PageNum  int64
}

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