message

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Data  interface{}     `json:"data"`
	Error errorcode.Value `json:"err"`
}

api响应结构

type RedisGeoLocation

type RedisGeoLocation struct {
	RedisGeoPosition

	Distance float64
	Hash     int64
	Member   string
}

type RedisGeoPosition

type RedisGeoPosition struct {
	Latitude, Longitude float64
}

redis geo 坐标

type RedisGeoRadiusQuery

type RedisGeoRadiusQuery struct {
	Count     int
	Radius    float64
	Sort      string
	Unit      string
	WithCoord bool
	WithDist  bool
	WithHash  bool
}

redis geo半径查询

type RedisZMember

type RedisZMember struct {
	Score  float64
	Member string
}

type RedisZRangeByScore

type RedisZRangeByScore struct {
	Count, Offset int64
	WithScores    bool
}

Jump to

Keyboard shortcuts

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