frame

package
v1.1.87 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DirectionBackward = 1
View Source
const DirectionForward = -1

Variables

This section is empty.

Functions

func App added in v0.9.2

func App(ctx context.Context) string

func FindWithPage added in v1.1.86

func FindWithPage[T any](
	ctx context.Context,
	repo *database.Repository,
	filter bson.M,
	sortField string,
	pt *Page,
	optChain ...*options.FindOptions,
) (*struct {
	L     []T `json:"l"`
	*Page `json:"page"`
}, error)
func Header(ctx context.Context) http.Header

func IsHayo added in v0.9.2

func IsHayo(ctx context.Context) bool

func IsKeke added in v1.1.67

func IsKeke(ctx context.Context) bool

func Request added in v0.2.4

func Request(ctx context.Context) *http.Request

func Uid added in v1.1.86

func Uid(ctx context.Context) string

func UrlContainsCMS added in v1.1.86

func UrlContainsCMS(ctx context.Context) bool

Types

type BaseResponse

type BaseResponse struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type Page added in v1.1.84

type Page struct {
	Count       int64  `json:"count"`
	IsLastPage  bool   `json:"isLastPage"`
	PageTag     string `json:"pageTag"`
	PrevPageTag string `json:"prevPageTag"`
}

func (*Page) Direction added in v1.1.84

func (p *Page) Direction() (int, string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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