common

package
v1.0.82 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseReq

type BaseReq struct {
	Context Context `json:"-"`
	PrevID  int64   `json:"prevID"`
	LastID  int64   `json:"lastID"`
	CountQ  bool    `json:"countQ"`
	Offset  int64   `json:"offset"`
	Limit   int64   `json:"limit"`
}

func GetBaseReq

func GetBaseReq(ptr uintptr) *BaseReq

type Context

type Context struct {
	Identify *Identify
}

type Identify added in v1.0.29

type Identify struct {
	ID interface{}
}

func (*Identify) Int64 added in v1.0.29

func (s *Identify) Int64() int64

func (*Identify) ObjectID added in v1.0.29

func (s *Identify) ObjectID() primitive.ObjectID

func (*Identify) String added in v1.0.29

func (s *Identify) String() string

Jump to

Keyboard shortcuts

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