SYMBOL INDEX (1191 symbols across 122 files) FILE: cmd/tile38-benchmark/main.go function showHelp (line 39) | func showHelp() bool { function parseArgs (line 65) | func parseArgs() bool { function fillOpts (line 143) | func fillOpts() *redbench.Options { function randPoint (line 155) | func randPoint() (lat, lon float64) { function isValidRect (line 159) | func isValidRect(minlat, minlon, maxlat, maxlon float64) bool { function randRect (line 163) | func randRect(meters float64) (minlat, minlon, maxlat, maxlon float64) { function prepFn (line 176) | func prepFn(conn net.Conn) bool { function main (line 205) | func main() { constant earthRadius (line 737) | earthRadius = 6371e3 function toRadians (line 739) | func toRadians(deg float64) float64 { return deg * math.Pi / 180 } function toDegrees (line 740) | func toDegrees(rad float64) float64 { return rad * 180 / math.Pi } function destinationPoint (line 743) | func destinationPoint(lat, lon, meters, bearingDegrees float64) (destLat... FILE: cmd/tile38-cli/main.go function getEnv (line 25) | func getEnv(name string, defaultValue string) string { function userHomeDir (line 33) | func userHomeDir() string { type connError (line 48) | type connError struct function showHelp (line 64) | func showHelp() bool { function parseArgs (line 85) | func parseArgs() bool { function refusedErrorString (line 171) | func refusedErrorString(addr string) string { function jsonOK (line 177) | func jsonOK(msg []byte) bool { function main (line 181) | func main() { function convert2termresp (line 451) | func convert2termresp(msg []byte) []byte { function convert2termjson (line 464) | func convert2termjson(msg []byte) []byte { function convert2termrespval (line 471) | func convert2termrespval(v resp.Value, spaces int) string { function numlen (line 502) | func numlen(n int) int { function help (line 518) | func help(arg string) error { constant liveJSON (line 566) | liveJSON = `{"ok":true,"live":true}` type client (line 568) | type client struct method Do (line 581) | func (c *client) Do(command string) ([]byte, error) { method readResp (line 589) | func (c *client) readResp() ([]byte, error) { method readArray (line 606) | func (c *client) readArray() ([]byte, error) { method readBulk (line 625) | func (c *client) readBulk() ([]byte, error) { method readLine (line 648) | func (c *client) readLine() ([]byte, error) { method Reader (line 663) | func (c *client) Reader() io.Reader { method readLiveResp (line 667) | func (c *client) readLiveResp() (message []byte, err error) { function clientDial (line 573) | func clientDial(network, addr string) (*client, error) { function plainToCompat (line 673) | func plainToCompat(message string) []byte { function clearScreen (line 719) | func clearScreen() { FILE: cmd/tile38-luamemtest/main.go function Sha1Sum (line 18) | func Sha1Sum(s string) string { function ConvertToResp (line 25) | func ConvertToResp(val lua.LValue) resp.Value { function ConvertToLua (line 78) | func ConvertToLua(L *lua.LState, val resp.Value) lua.LValue { function luaTile38Call (line 105) | func luaTile38Call(evalcmd string, cmd string, args ...string) (resp.Val... function NewLuaState (line 117) | func NewLuaState() *lua.LState { function makeSafeErr (line 187) | func makeSafeErr(err error) error { function runLuaFunc (line 191) | func runLuaFunc(luaState *lua.LState, script string, name string) resp.V... function runMany (line 207) | func runMany(luaState *lua.LState, start int, num int) int { function printMemStats (line 221) | func printMemStats() { function testLua (line 236) | func testLua() { function main (line 279) | func main() { FILE: cmd/tile38-server/main.go type hserver (line 55) | type hserver struct method Send (line 57) | func (s *hserver) Send(ctx context.Context, in *hservice.MessageReques... function main (line 61) | func main() { FILE: core/commands.go constant clear (line 11) | clear = "\x1b[0m" constant bright (line 12) | bright = "\x1b[1m" constant gray (line 13) | gray = "\x1b[90m" constant yellow (line 14) | yellow = "\x1b[33m" type Command (line 18) | type Command struct method String (line 29) | func (c Command) String() string { method TermOutput (line 38) | func (c Command) TermOutput(indent string) string { type EnumArg (line 52) | type EnumArg struct method String (line 58) | func (a EnumArg) String() string { type Argument (line 67) | type Argument struct method String (line 79) | func (a Argument) String() string { method NameTypes (line 141) | func (a Argument) NameTypes() (names, types []string) { function parseAnyStringArray (line 125) | func parseAnyStringArray(any interface{}) []string { FILE: core/commands_gen.go constant clear (line 11) | clear = "\x1b[0m" constant bright (line 12) | bright = "\x1b[1m" constant gray (line 13) | gray = "\x1b[90m" constant yellow (line 14) | yellow = "\x1b[33m" type Command (line 18) | type Command struct method String (line 29) | func (c Command) String() string { method TermOutput (line 38) | func (c Command) TermOutput(indent string) string { type EnumArg (line 52) | type EnumArg struct method String (line 58) | func (a EnumArg) String() string { type Argument (line 67) | type Argument struct method String (line 79) | func (a Argument) String() string { method NameTypes (line 141) | func (a Argument) NameTypes() (names, types []string) { function parseAnyStringArray (line 125) | func parseAnyStringArray(any interface{}) []string { FILE: core/commands_test.go function TestCommands (line 9) | func TestCommands(t *testing.T) { FILE: internal/bing/bing.go constant EarthRadius (line 9) | EarthRadius = 6378137.0 constant MinLatitude (line 11) | MinLatitude = -85.05112878 constant MaxLatitude (line 13) | MaxLatitude = 85.05112878 constant MinLongitude (line 15) | MinLongitude = -180.0 constant MaxLongitude (line 17) | MaxLongitude = 180.0 constant TileSize (line 19) | TileSize = 256 constant MaxLevelOfDetail (line 21) | MaxLevelOfDetail = 38 function clip (line 29) | func clip(n, minValue, maxValue float64) float64 { function MapSize (line 42) | func MapSize(levelOfDetail uint64) uint64 { function LatLongToPixelXY (line 70) | func LatLongToPixelXY(latitude, longitude float64, levelOfDetail uint64)... function PixelXYToLatLong (line 88) | func PixelXYToLatLong(pixelX, pixelY int64, levelOfDetail uint64) (latit... function PixelXYToTileXY (line 102) | func PixelXYToTileXY(pixelX, pixelY int64) (tileX, tileY int64) { function TileXYToPixelXY (line 111) | func TileXYToPixelXY(tileX, tileY int64) (pixelX, pixelY int64) { function TileXYToQuadKey (line 120) | func TileXYToQuadKey(tileX, tileY int64, levelOfDetail uint64) string { function QuadKeyToTileXY (line 144) | func QuadKeyToTileXY(quadKey string) (tileX, tileY int64, levelOfDetail ... FILE: internal/bing/bing_test.go function TestLevelFuzz (line 9) | func TestLevelFuzz(t *testing.T) { function TestInvalidQuadKeyFuzz (line 44) | func TestInvalidQuadKeyFuzz(t *testing.T) { function TestLatLonClippingFuzz (line 76) | func TestLatLonClippingFuzz(t *testing.T) { function TestIssue302 (line 96) | func TestIssue302(t *testing.T) { FILE: internal/bing/ext.go function LatLongToQuad (line 6) | func LatLongToQuad(latitude, longitude float64, levelOfDetail uint64, it... function partForTileXY (line 16) | func partForTileXY(tileX, tileY int64, levelOfDetail uint64) int { function TileXYToBounds (line 30) | func TileXYToBounds(tileX, tileY int64, levelOfDetail uint64) (minLat, m... function QuadKeyToBounds (line 52) | func QuadKeyToBounds(quadkey string) (minLat, minLon, maxLat, maxLon flo... FILE: internal/bing/ext_test.go function TestIteratorFuzz (line 9) | func TestIteratorFuzz(t *testing.T) { function TestExt (line 35) | func TestExt(t *testing.T) { FILE: internal/buffer/buffer.go constant bufferSteps (line 16) | bufferSteps = 15 function Simple (line 19) | func Simple(g geojson.Object, meters float64) (geojson.Object, error) { function bufferSimplePoint (line 59) | func bufferSimplePoint(p geometry.Point, meters float64) *geojson.Polygon { function bufferSimpleGeometries (line 90) | func bufferSimpleGeometries(objs []geojson.Object, meters float64, function bufferSimpleFeatures (line 103) | func bufferSimpleFeatures(objs []geojson.Object, meters float64, function appendBufferSimpleSeries (line 117) | func appendBufferSimpleSeries(dst []geojson.Object, s geometry.Series, m... function appendSimpleBufferSegment (line 126) | func appendSimpleBufferSegment(dst []geojson.Object, seg geometry.Segment, function bufferSimplePolygon (line 153) | func bufferSimplePolygon(p *geojson.Polygon, meters float64, function bufferSimpleLineString (line 165) | func bufferSimpleLineString(l *geojson.LineString, meters float64, FILE: internal/buffer/buffer_test.go constant lineString (line 10) | lineString = `{"type":"LineString","coordinates":[ function TestBufferLineString (line 30) | func TestBufferLineString(t *testing.T) { constant polygon (line 47) | polygon = `{"type": "Polygon","coordinates":[ function TestBufferPolygon (line 92) | func TestBufferPolygon(t *testing.T) { FILE: internal/clip/clip.go function Clip (line 9) | func Clip( function clipSegment (line 31) | func clipSegment(seg geometry.Segment, rect geometry.Rect) ( function clipRing (line 57) | func clipRing(ring []geometry.Point, bbox geometry.Rect) ( function getCode (line 99) | func getCode(bbox geometry.Rect, point geometry.Point) (code uint8) { function intersect (line 117) | func intersect(bbox geometry.Rect, code uint8, start, end geometry.Point) ( FILE: internal/clip/clip_test.go function LO (line 10) | func LO(points []geometry.Point) *geojson.LineString { function RO (line 14) | func RO(minX, minY, maxX, maxY float64) *geojson.Rect { function PPO (line 21) | func PPO(exterior []geometry.Point, holes [][]geometry.Point) *geojson.P... function TestClipLineStringSimple (line 25) | func TestClipLineStringSimple(t *testing.T) { function TestClipPolygonSimple (line 40) | func TestClipPolygonSimple(t *testing.T) { function TestClipPolygon2 (line 72) | func TestClipPolygon2(t *testing.T) { FILE: internal/clip/collection.go function clipCollection (line 8) | func clipCollection( FILE: internal/clip/feature.go function clipFeature (line 8) | func clipFeature( FILE: internal/clip/linestring.go function clipLineString (line 8) | func clipLineString( FILE: internal/clip/point.go function clipPoint (line 8) | func clipPoint( FILE: internal/clip/polygon.go function clipPolygon (line 8) | func clipPolygon( FILE: internal/clip/rect.go function clipRect (line 8) | func clipRect( FILE: internal/collection/collection.go constant yieldStep (line 17) | yieldStep = 256 type Cursor (line 20) | type Cursor interface function byID (line 25) | func byID(a, b *object.Object) bool { function byValue (line 29) | func byValue(a, b *object.Object) bool { function byExpires (line 42) | func byExpires(a, b *object.Object) bool { type Collection (line 54) | type Collection struct method Count (line 77) | func (c *Collection) Count() int { method StringCount (line 82) | func (c *Collection) StringCount() int { method PointCount (line 87) | func (c *Collection) PointCount() int { method TotalWeight (line 92) | func (c *Collection) TotalWeight() int { method Bounds (line 97) | func (c *Collection) Bounds() (minX, minY, maxX, maxY float64) { method indexDelete (line 109) | func (c *Collection) indexDelete(item *object.Object) { method indexInsert (line 115) | func (c *Collection) indexInsert(item *object.Object) { method Set (line 164) | func (c *Collection) Set(obj *object.Object) (prev *object.Object) { method setFill (line 170) | func (c *Collection) setFill(prev, obj *object.Object) { method Delete (line 201) | func (c *Collection) Delete(id string) (prev *object.Object) { method Get (line 225) | func (c *Collection) Get(id string) *object.Object { method Scan (line 231) | func (c *Collection) Scan( method ScanRange (line 262) | func (c *Collection) ScanRange( method SearchValues (line 304) | func (c *Collection) SearchValues( method SearchValuesRange (line 335) | func (c *Collection) SearchValuesRange(start, end string, desc bool, method ScanGreaterOrEqual (line 376) | func (c *Collection) ScanGreaterOrEqual(id string, desc bool, method geoSearch (line 405) | func (c *Collection) geoSearch( method geoSparse (line 429) | func (c *Collection) geoSparse( method geoSparseInner (line 447) | func (c *Collection) geoSparseInner( method Within (line 493) | func (c *Collection) Within( method Intersects (line 534) | func (c *Collection) Intersects( method Nearby (line 575) | func (c *Collection) Nearby( method ScanExpires (line 622) | func (c *Collection) ScanExpires(iter func(o *object.Object) bool) { function New (line 68) | func New() *Collection { constant dRNDTOWARDS (line 121) | dRNDTOWARDS = (1.0 - 1.0/8388608.0) constant dRNDAWAY (line 122) | dRNDAWAY = (1.0 + 1.0/8388608.0) function rtreeValueDown (line 124) | func rtreeValueDown(d float64) float32 { function rtreeValueUp (line 135) | func rtreeValueUp(d float64) float32 { function rtreeItem (line 147) | func rtreeItem(item *object.Object) (min, max [2]float32, data *object.O... function rtreeRect (line 152) | func rtreeRect(rect geometry.Rect) (min, max [2]float32) { function bLT (line 372) | func bLT(tr *btree.BTreeG[*object.Object], a, b *object.Object) bool { r... function bGT (line 373) | func bGT(tr *btree.BTreeG[*object.Object], a, b *object.Object) bool { r... function nextStep (line 611) | func nextStep(step uint64, cursor Cursor, deadline *deadline.Deadline) { FILE: internal/collection/collection_test.go function PO (line 18) | func PO(x, y float64) *geojson.Point { function init (line 22) | func init() { function expect (line 28) | func expect(t testing.TB, expect bool) { function bounds (line 35) | func bounds(c *Collection) geometry.Rect { function TestCollectionNewCollection (line 43) | func TestCollectionNewCollection(t *testing.T) { function toFields (line 72) | func toFields(fNames, fValues []string) field.List { function TestCollectionSet (line 80) | func TestCollectionSet(t *testing.T) { function fieldValueAt (line 178) | func fieldValueAt(fields field.List, index int) string { function TestCollectionScan (line 194) | func TestCollectionScan(t *testing.T) { function makeFields (line 281) | func makeFields(entries ...field.Field) field.List { function TestCollectionSearch (line 289) | func TestCollectionSearch(t *testing.T) { function TestCollectionWeight (line 352) | func TestCollectionWeight(t *testing.T) { function TestSpatialSearch (line 390) | func TestSpatialSearch(t *testing.T) { function TestCollectionSparse (line 497) | func TestCollectionSparse(t *testing.T) { function testCollectionVerifyContents (line 556) | func testCollectionVerifyContents(t *testing.T, c *Collection, objs map[... function TestManyCollections (line 570) | func TestManyCollections(t *testing.T) { type testPointItem (line 606) | type testPointItem struct function makeBenchFields (line 612) | func makeBenchFields(nFields int) field.List { function BenchmarkInsert_Fields (line 622) | func BenchmarkInsert_Fields(t *testing.B) { function BenchmarkInsert_NoFields (line 626) | func BenchmarkInsert_NoFields(t *testing.B) { function benchmarkInsert (line 630) | func benchmarkInsert(t *testing.B, nFields int) { function BenchmarkReplace_Fields (line 647) | func BenchmarkReplace_Fields(t *testing.B) { function BenchmarkReplace_NoFields (line 651) | func BenchmarkReplace_NoFields(t *testing.B) { function benchmarkReplace (line 655) | func benchmarkReplace(t *testing.B, nFields int) { function BenchmarkGet_Fields (line 678) | func BenchmarkGet_Fields(t *testing.B) { function BenchmarkGet_NoFields (line 682) | func BenchmarkGet_NoFields(t *testing.B) { function benchmarkGet (line 686) | func benchmarkGet(t *testing.B, nFields int) { function BenchmarkRemove_Fields (line 709) | func BenchmarkRemove_Fields(t *testing.B) { function BenchmarkRemove_NoFields (line 713) | func BenchmarkRemove_NoFields(t *testing.B) { function benchmarkRemove (line 717) | func benchmarkRemove(t *testing.B, nFields int) { function BenchmarkScan_Fields (line 740) | func BenchmarkScan_Fields(t *testing.B) { function BenchmarkScan_NoFields (line 744) | func BenchmarkScan_NoFields(t *testing.B) { function benchmarkScan (line 748) | func benchmarkScan(t *testing.B, nFields int) { FILE: internal/collection/geodesic.go function geodeticDistAlgo (line 9) | func geodeticDistAlgo(center [2]float64) ( function pointRectDistGeodeticDeg (line 29) | func pointRectDistGeodeticDeg(pLat, pLng, minLat, minLng, maxLat, maxLng... function pointRectDistGeodeticRad (line 38) | func pointRectDistGeodeticRad(φq, λq, φl, λl, φh, λh float64) float64 { FILE: internal/collection/string.go type String (line 10) | type String method Spatial (line 14) | func (s String) Spatial() geojson.Spatial { method ForEach (line 18) | func (s String) ForEach(iter func(geom geojson.Object) bool) bool { method Empty (line 22) | func (s String) Empty() bool { method Valid (line 26) | func (s String) Valid() bool { method Rect (line 30) | func (s String) Rect() geometry.Rect { method Center (line 34) | func (s String) Center() geometry.Point { method AppendJSON (line 38) | func (s String) AppendJSON(dst []byte) []byte { method String (line 43) | func (s String) String() string { method JSON (line 47) | func (s String) JSON() string { method MarshalJSON (line 51) | func (s String) MarshalJSON() ([]byte, error) { method Within (line 55) | func (s String) Within(obj geojson.Object) bool { method Contains (line 59) | func (s String) Contains(obj geojson.Object) bool { method Intersects (line 63) | func (s String) Intersects(obj geojson.Object) bool { method NumPoints (line 67) | func (s String) NumPoints() int { method Distance (line 71) | func (s String) Distance(obj geojson.Object) float64 { method Members (line 75) | func (s String) Members() string { FILE: internal/deadline/deadline.go type Deadline (line 6) | type Deadline struct method Check (line 19) | func (dl *Deadline) Check() { method Hit (line 30) | func (dl *Deadline) Hit() bool { method GetDeadlineTime (line 36) | func (dl *Deadline) GetDeadlineTime() time.Time { function New (line 12) | func New(dl time.Time) *Deadline { FILE: internal/endpoint/amqp.go constant amqpExpiresAfter (line 12) | amqpExpiresAfter = time.Second * 30 type AMQPConn (line 15) | type AMQPConn struct method Expired (line 25) | func (conn *AMQPConn) Expired() bool { method ExpireNow (line 38) | func (conn *AMQPConn) ExpireNow() { method close (line 45) | func (conn *AMQPConn) close() { method Send (line 54) | func (conn *AMQPConn) Send(msg string) error { function newAMQPConn (line 140) | func newAMQPConn(ep Endpoint) *AMQPConn { FILE: internal/endpoint/cfqueue.go constant cfqueueExpiresAfter (line 13) | cfqueueExpiresAfter = time.Second * 30 type CFQueueConn (line 16) | type CFQueueConn struct method Expired (line 25) | func (conn *CFQueueConn) Expired() bool { method ExpireNow (line 38) | func (conn *CFQueueConn) ExpireNow() { method close (line 45) | func (conn *CFQueueConn) close() { method Send (line 52) | func (conn *CFQueueConn) Send(msg string) error { function newCFQueueConn (line 87) | func newCFQueueConn(ep Endpoint) *CFQueueConn { FILE: internal/endpoint/disque.go constant disqueExpiresAfter (line 12) | disqueExpiresAfter = time.Second * 30 type DisqueConn (line 15) | type DisqueConn struct method Expired (line 31) | func (conn *DisqueConn) Expired() bool { method ExpireNow (line 44) | func (conn *DisqueConn) ExpireNow() { method close (line 51) | func (conn *DisqueConn) close() { method Send (line 59) | func (conn *DisqueConn) Send(msg string) error { function newDisqueConn (line 23) | func newDisqueConn(ep Endpoint) *DisqueConn { FILE: internal/endpoint/endpoint.go type Protocol (line 18) | type Protocol constant Local (line 22) | Local = Protocol("local") constant HTTP (line 24) | HTTP = Protocol("http") constant Disque (line 26) | Disque = Protocol("disque") constant GRPC (line 28) | GRPC = Protocol("grpc") constant Redis (line 30) | Redis = Protocol("redis") constant Kafka (line 32) | Kafka = Protocol("kafka") constant MQTT (line 34) | MQTT = Protocol("mqtt") constant AMQP (line 36) | AMQP = Protocol("amqp") constant SQS (line 38) | SQS = Protocol("sqs") constant PubSub (line 40) | PubSub = Protocol("pubsub") constant NATS (line 42) | NATS = Protocol("nats") constant EventHub (line 44) | EventHub = Protocol("sb") constant CFQueue (line 46) | CFQueue = Protocol("cf-queue") type Endpoint (line 50) | type Endpoint struct type Conn (line 150) | type Conn interface type Manager (line 157) | type Manager struct method Shutdown (line 176) | func (epc *Manager) Shutdown() { method run (line 188) | func (epc *Manager) run() { method Validate (line 208) | func (epc *Manager) Validate(url string) error { method Send (line 214) | func (epc *Manager) Send(endpoint, msg string) error { function NewManager (line 166) | func NewManager(publisher LocalPublisher) *Manager { function parseEndpoint (line 271) | func parseEndpoint(s string) (Endpoint, error) { function queryInt (line 876) | func queryInt(s string) int { function queryBool (line 881) | func queryBool(s string) bool { FILE: internal/endpoint/eventHub.go type EvenHubConn (line 16) | type EvenHubConn struct method Expired (line 27) | func (conn *EvenHubConn) Expired() bool { method ExpireNow (line 32) | func (conn *EvenHubConn) ExpireNow() { method Send (line 36) | func (conn *EvenHubConn) Send(msg string) error { function newEventHubConn (line 20) | func newEventHubConn(ep Endpoint) *EvenHubConn { FILE: internal/endpoint/grpc.go constant grpcExpiresAfter (line 14) | grpcExpiresAfter = time.Second * 30 type GRPCConn (line 17) | type GRPCConn struct method Expired (line 34) | func (conn *GRPCConn) Expired() bool { method ExpireNow (line 47) | func (conn *GRPCConn) ExpireNow() { method close (line 54) | func (conn *GRPCConn) close() { method Send (line 62) | func (conn *GRPCConn) Send(msg string) error { function newGRPCConn (line 26) | func newGRPCConn(ep Endpoint) *GRPCConn { FILE: internal/endpoint/http.go constant httpExpiresAfter (line 12) | httpExpiresAfter = time.Second * 30 constant httpRequestTimeout (line 13) | httpRequestTimeout = time.Second * 5 constant httpMaxIdleConnections (line 14) | httpMaxIdleConnections = 20 type HTTPConn (line 18) | type HTTPConn struct method Expired (line 37) | func (conn *HTTPConn) Expired() bool { method ExpireNow (line 42) | func (conn *HTTPConn) ExpireNow() { method Send (line 46) | func (conn *HTTPConn) Send(msg string) error { function newHTTPConn (line 23) | func newHTTPConn(ep Endpoint) *HTTPConn { FILE: internal/endpoint/kafka.go constant kafkaExpiresAfter (line 19) | kafkaExpiresAfter = time.Second * 30 type KafkaConn (line 22) | type KafkaConn struct method Expired (line 32) | func (conn *KafkaConn) Expired() bool { method ExpireNow (line 45) | func (conn *KafkaConn) ExpireNow() { method close (line 52) | func (conn *KafkaConn) close() { method Send (line 62) | func (conn *KafkaConn) Send(msg string) error { function newKafkaConn (line 200) | func newKafkaConn(ep Endpoint) *KafkaConn { function loadClientTLSCert (line 207) | func loadClientTLSCert(KeyFile, CertFile string) ([]tls.Certificate, err... function loadRootTLSCert (line 218) | func loadRootTLSCert(CACertFile string) (x509.CertPool, error) { FILE: internal/endpoint/local.go type LocalPublisher (line 4) | type LocalPublisher interface type LocalConn (line 9) | type LocalConn struct method Expired (line 22) | func (conn *LocalConn) Expired() bool { method ExpireNow (line 27) | func (conn *LocalConn) ExpireNow() { method Send (line 31) | func (conn *LocalConn) Send(msg string) error { function newLocalConn (line 14) | func newLocalConn(ep Endpoint, publisher LocalPublisher) *LocalConn { FILE: internal/endpoint/mqtt.go constant mqttExpiresAfter (line 17) | mqttExpiresAfter = time.Second * 30 constant mqttPublishTimeout (line 18) | mqttPublishTimeout = time.Second * 5 type MQTTConn (line 22) | type MQTTConn struct method Expired (line 31) | func (conn *MQTTConn) Expired() bool { method ExpireNow (line 44) | func (conn *MQTTConn) ExpireNow() { method close (line 51) | func (conn *MQTTConn) close() { method Send (line 61) | func (conn *MQTTConn) Send(msg string) error { function newMQTTConn (line 126) | func newMQTTConn(ep Endpoint) *MQTTConn { FILE: internal/endpoint/nats.go constant natsExpiresAfter (line 13) | natsExpiresAfter = time.Second * 30 type NATSConn (line 16) | type NATSConn struct method Expired (line 33) | func (conn *NATSConn) Expired() bool { method ExpireNow (line 46) | func (conn *NATSConn) ExpireNow() { method close (line 53) | func (conn *NATSConn) close() { method Send (line 61) | func (conn *NATSConn) Send(msg string) error { method publish (line 116) | func (conn *NATSConn) publish(msg string) error { method publishJS (line 127) | func (conn *NATSConn) publishJS(msg string) error { function newNATSConn (line 25) | func newNATSConn(ep Endpoint) *NATSConn { FILE: internal/endpoint/pubsub.go constant pubsubExpiresAfter (line 13) | pubsubExpiresAfter = time.Second * 30 type PubSubConn (line 16) | type PubSubConn struct method close (line 25) | func (conn *PubSubConn) close() { method Send (line 33) | func (conn *PubSubConn) Send(msg string) error { method Expired (line 81) | func (conn *PubSubConn) Expired() bool { method ExpireNow (line 94) | func (conn *PubSubConn) ExpireNow() { function newPubSubConn (line 101) | func newPubSubConn(ep Endpoint) *PubSubConn { FILE: internal/endpoint/redis.go constant redisExpiresAfter (line 11) | redisExpiresAfter = time.Second * 30 type RedisConn (line 14) | type RedisConn struct method Expired (line 30) | func (conn *RedisConn) Expired() bool { method ExpireNow (line 43) | func (conn *RedisConn) ExpireNow() { method close (line 50) | func (conn *RedisConn) close() { method Send (line 58) | func (conn *RedisConn) Send(msg string) error { function newRedisConn (line 22) | func newRedisConn(ep Endpoint) *RedisConn { FILE: internal/endpoint/scram_client.go type XDGSCRAMClient (line 15) | type XDGSCRAMClient struct method Begin (line 21) | func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (er... method Step (line 30) | func (x *XDGSCRAMClient) Step(challenge string) (response string, err ... method Done (line 35) | func (x *XDGSCRAMClient) Done() bool { FILE: internal/endpoint/sqs.go constant sqsExpiresAfter (line 18) | sqsExpiresAfter = time.Second * 30 type SQSConn (line 21) | type SQSConn struct method generateSQSURL (line 30) | func (conn *SQSConn) generateSQSURL() string { method Expired (line 39) | func (conn *SQSConn) Expired() bool { method ExpireNow (line 52) | func (conn *SQSConn) ExpireNow() { method close (line 59) | func (conn *SQSConn) close() { method Send (line 67) | func (conn *SQSConn) Send(msg string) error { function newSQSConn (line 133) | func newSQSConn(ep Endpoint) *SQSConn { function probeSQS (line 140) | func probeSQS(s string) bool { function sqsRegionFromPlainURL (line 146) | func sqsRegionFromPlainURL(s string) string { function isFifoQueue (line 157) | func isFifoQueue(s string) bool { FILE: internal/field/field.go type Kind (line 15) | type Kind constant Null (line 18) | Null = Kind(gjson.Null) constant False (line 19) | False = Kind(gjson.False) constant Number (line 20) | Number = Kind(gjson.Number) constant String (line 21) | String = Kind(gjson.String) constant True (line 22) | True = Kind(gjson.True) constant JSON (line 23) | JSON = Kind(gjson.JSON) type Value (line 26) | type Value struct method IsZero (line 32) | func (v Value) IsZero() bool { method Equals (line 36) | func (v Value) Equals(b Value) bool { method Kind (line 40) | func (v Value) Kind() Kind { method Data (line 44) | func (v Value) Data() string { method Num (line 48) | func (v Value) Num() float64 { method JSON (line 52) | func (v Value) JSON() string { method LessCase (line 125) | func (v Value) LessCase(b Value, caseSensitive bool) bool { method Less (line 149) | func (v Value) Less(b Value) bool { function stringLessInsensitive (line 81) | func stringLessInsensitive(a, b string) bool { type Field (line 153) | type Field struct method Name (line 158) | func (f Field) Name() string { method Value (line 162) | func (f Field) Value() Value { method Weight (line 166) | func (f Field) Weight() int { function ValueOf (line 174) | func ValueOf(data string) Value { function Make (line 231) | func Make(name, data string) Field { FILE: internal/field/field_test.go function mLT (line 9) | func mLT(a, b Value) bool { return a.Less(b) } function mLTE (line 10) | func mLTE(a, b Value) bool { return !mLT(b, a) } function mGT (line 11) | func mGT(a, b Value) bool { return mLT(b, a) } function mGTE (line 12) | func mGTE(a, b Value) bool { return !mLT(a, b) } function mEQ (line 13) | func mEQ(a, b Value) bool { return !mLT(a, b) && !mLT(b, a) } function TestOrder (line 15) | func TestOrder(t *testing.T) { function TestLess (line 41) | func TestLess(t *testing.T) { function TestLessCase (line 76) | func TestLessCase(t *testing.T) { function TestVarious (line 82) | func TestVarious(t *testing.T) { function TestJSON (line 97) | func TestJSON(t *testing.T) { function TestField (line 120) | func TestField(t *testing.T) { function TestWeight (line 128) | func TestWeight(t *testing.T) { function TestNumber (line 132) | func TestNumber(t *testing.T) { FILE: internal/field/list_binary.go constant useSharedNames (line 27) | useSharedNames = true type List (line 30) | type List struct method Set (line 103) | func (fields List) Set(field Field) List { method Get (line 255) | func (fields List) Get(name string) Field { method Scan (line 312) | func (fields List) Scan(iter func(field Field) bool) { method Len (line 344) | func (fields List) Len() int { method Weight (line 370) | func (fields List) Weight() int { method String (line 388) | func (fields List) String() string { type bytes (line 34) | type bytes struct function ptob (line 40) | func ptob(p *byte) []byte { function btoa (line 50) | func btoa(b []byte) string { function uvarint (line 56) | func uvarint(buf []byte) (int, int) { function datakind (line 68) | func datakind(kind Kind) bool { function bfield (line 76) | func bfield(name string, kind Kind, data string) Field { function delfield (line 155) | func delfield(b []byte, s, e int) *byte { function putfield (line 181) | func putfield(b []byte, f Field, s, e int) *byte { function MakeList (line 379) | func MakeList(fields []Field) List { FILE: internal/field/list_struct.go type List (line 5) | type List struct method bsearch (line 10) | func (fields List) bsearch(name string) (index int, found bool) { method Set (line 26) | func (fields List) Set(field Field) List { method Get (line 58) | func (fields List) Get(name string) Field { method Scan (line 66) | func (fields List) Scan(iter func(field Field) bool) { method Len (line 74) | func (fields List) Len() int { method Weight (line 78) | func (fields List) Weight() int { FILE: internal/field/list_test.go function TestList (line 13) | func TestList(t *testing.T) { function randStr (line 83) | func randStr(n int) string { function randVal (line 92) | func randVal(n int) string { function TestRandom (line 113) | func TestRandom(t *testing.T) { function TestJSONGet (line 183) | func TestJSONGet(t *testing.T) { FILE: internal/glob/glob.go type Glob (line 6) | type Glob struct function Match (line 15) | func Match(pattern, str string) (matched bool, err error) { function IsGlob (line 20) | func IsGlob(pattern string) bool { function Parse (line 32) | func Parse(pattern string, desc bool) *Glob { FILE: internal/glob/glob_test.go function test (line 9) | func test(t *testing.T, pattern string, desc bool, limitsExpect []string... function TestGlob (line 25) | func TestGlob(t *testing.T) { function testMatch (line 46) | func testMatch(s, pattern string) bool { function TestMatch (line 51) | func TestMatch(t *testing.T) { function TestWildcardMatch (line 96) | func TestWildcardMatch(t *testing.T) { function TestRandomInput (line 398) | func TestRandomInput(t *testing.T) { function BenchmarkAscii (line 412) | func BenchmarkAscii(t *testing.B) { function BenchmarkUnicode (line 420) | func BenchmarkUnicode(t *testing.B) { FILE: internal/glob/match.go function wildcardMatch (line 39) | func wildcardMatch(pattern, name string) (matched bool, err error) { function scanChunk (line 86) | func scanChunk(pattern string) (star bool, chunk, rest string) { function matchChunk (line 117) | func matchChunk(chunk, s string) (rest string, ok bool, err error) { function getEsc (line 191) | func getEsc(chunk string) (r rune, nchunk string, err error) { FILE: internal/hservice/hservice.pb.go constant _ (line 35) | _ = proto.ProtoPackageIsVersion2 type MessageRequest (line 38) | type MessageRequest struct method Reset (line 42) | func (m *MessageRequest) Reset() { *m = MessageRequ... method String (line 43) | func (m *MessageRequest) String() string { return proto.Com... method ProtoMessage (line 44) | func (*MessageRequest) ProtoMessage() {} method Descriptor (line 45) | func (*MessageRequest) Descriptor() ([]byte, []int) { return fileDescr... type MessageReply (line 48) | type MessageReply struct method Reset (line 52) | func (m *MessageReply) Reset() { *m = MessageReply{} } method String (line 53) | func (m *MessageReply) String() string { return proto.Compa... method ProtoMessage (line 54) | func (*MessageReply) ProtoMessage() {} method Descriptor (line 55) | func (*MessageReply) Descriptor() ([]byte, []int) { return fileDescrip... function init (line 57) | func init() { constant _ (line 68) | _ = grpc.SupportPackageIsVersion3 type HookServiceClient (line 72) | type HookServiceClient interface type hookServiceClient (line 77) | type hookServiceClient struct method Send (line 85) | func (c *hookServiceClient) Send(ctx context.Context, in *MessageReque... function NewHookServiceClient (line 81) | func NewHookServiceClient(cc *grpc.ClientConn) HookServiceClient { type HookServiceServer (line 96) | type HookServiceServer interface function RegisterHookServiceServer (line 101) | func RegisterHookServiceServer(s *grpc.Server, srv HookServiceServer) { function _HookService_Send_Handler (line 105) | func _HookService_Send_Handler(srv interface{}, ctx context.Context, dec... function init (line 136) | func init() { proto.RegisterFile("hservice.proto", fileDescriptor0) } FILE: internal/log/log.go function init (line 26) | func init() { function SetLevel (line 36) | func SetLevel(level int) { function Level (line 46) | func Level() int { function SetLogJSON (line 50) | func SetLogJSON(logJSON bool) { function LogJSON (line 54) | func LogJSON() bool { function SetOutput (line 59) | func SetOutput(w io.Writer) { function Build (line 68) | func Build(c string) error { function Set (line 100) | func Set(sl *zap.SugaredLogger) { function Get (line 107) | func Get() *zap.SugaredLogger { function Output (line 115) | func Output() io.Writer { function log (line 121) | func log(level int, tag, color string, formatted bool, format string, ar... function Infof (line 172) | func Infof(format string, args ...interface{}) { function Info (line 179) | func Info(args ...interface{}) { function HTTPf (line 186) | func HTTPf(format string, args ...interface{}) { function HTTP (line 193) | func HTTP(args ...interface{}) { function Errorf (line 200) | func Errorf(format string, args ...interface{}) { function Error (line 207) | func Error(args ...interface{}) { function Warnf (line 214) | func Warnf(format string, args ...interface{}) { function Warn (line 221) | func Warn(args ...interface{}) { function Debugf (line 228) | func Debugf(format string, args ...interface{}) { function Debug (line 235) | func Debug(args ...interface{}) { function Printf (line 242) | func Printf(format string, args ...interface{}) { function Print (line 247) | func Print(args ...interface{}) { function Fatalf (line 252) | func Fatalf(format string, args ...interface{}) { function Fatal (line 258) | func Fatal(args ...interface{}) { FILE: internal/log/log_test.go function TestLog (line 14) | func TestLog(t *testing.T) { function TestLogJSON (line 24) | func TestLogJSON(t *testing.T) { function BenchmarkLogPrintf (line 189) | func BenchmarkLogPrintf(t *testing.B) { function BenchmarkLogJSONPrintf (line 199) | func BenchmarkLogJSONPrintf(t *testing.B) { FILE: internal/object/object_binary.go type pointObject (line 12) | type pointObject struct type geoObject (line 17) | type geoObject struct constant opoint (line 22) | opoint = 1 constant ogeo (line 23) | ogeo = 2 type Object (line 25) | type Object struct method geo (line 30) | func (o *Object) geo() geojson.Object { method ID (line 65) | func (o *Object) ID() string { method Fields (line 73) | func (o *Object) Fields() field.List { method Expires (line 77) | func (o *Object) Expires() int64 { method Rect (line 82) | func (o *Object) Rect() geometry.Rect { method Geo (line 90) | func (o *Object) Geo() geojson.Object { method String (line 94) | func (o *Object) String() string { method IsSpatial (line 102) | func (o *Object) IsSpatial() bool { method Weight (line 107) | func (o *Object) Weight() int { function uvarint (line 44) | func uvarint(s string) (uint64, int) { function varint (line 56) | func varint(s string) (int64, int) { function makeHead (line 122) | func makeHead(kind byte, id string, expires int64) string { function newPoint (line 136) | func newPoint(id string, pt geometry.Point, expires int64, fields field.... function newGeo (line 146) | func newGeo(id string, geo geojson.Object, expires int64, fields field.L... function New (line 157) | func New(id string, geo geojson.Object, expires int64, fields field.List, FILE: internal/object/object_struct.go type Object (line 11) | type Object struct method ID (line 18) | func (o *Object) ID() string { method Fields (line 25) | func (o *Object) Fields() field.List { method Expires (line 32) | func (o *Object) Expires() int64 { method Rect (line 39) | func (o *Object) Rect() geometry.Rect { method Geo (line 46) | func (o *Object) Geo() geojson.Object { method String (line 53) | func (o *Object) String() string { method IsSpatial (line 60) | func (o *Object) IsSpatial() bool { method Weight (line 65) | func (o *Object) Weight() int { function New (line 80) | func New(id string, geo geojson.Object, expires int64, fields field.List, FILE: internal/object/object_test.go function P (line 12) | func P(x, y float64) geojson.Object { function TestObject (line 15) | func TestObject(t *testing.T) { FILE: internal/server/aof.go type errAOFHook (line 23) | type errAOFHook struct method Error (line 27) | func (err errAOFHook) Error() string { method loadAOF (line 31) | func (s *Server) loadAOF() (err error) { function commandErrIsFatal (line 118) | func commandErrIsFatal(err error) bool { method flushAOF (line 127) | func (s *Server) flushAOF(sync bool) { method writeAOF (line 148) | func (s *Server) writeAOF(args []string, d *commandDetails) error { method getQueueCandidates (line 207) | func (s *Server) getQueueCandidates(d *commandDetails) []*Hook { method queueHooks (line 276) | func (s *Server) queueHooks(d *commandDetails) error { function sortMsgs (line 346) | func sortMsgs(msgs []string) { function msgDetectCode (line 363) | func msgDetectCode(detect string) int { function stringToUint64 (line 379) | func stringToUint64(s string) uint64 { function uint64ToString (line 385) | func uint64ToString(u uint64) string { type liveAOFSwitches (line 390) | type liveAOFSwitches struct method Error (line 394) | func (s liveAOFSwitches) Error() string { method cmdAOFMD5 (line 399) | func (s *Server) cmdAOFMD5(msg *Message) (resp.Value, error) { method cmdAOF (line 435) | func (s *Server) cmdAOF(msg *Message) (resp.Value, error) { method liveAOF (line 477) | func (s *Server) liveAOF(pos int64, conn net.Conn, rd *PipelineReader, m... FILE: internal/server/aofmigrate.go type LegacyAOFReader (line 19) | type LegacyAOFReader struct method ReadCommand (line 29) | func (rd *LegacyAOFReader) ReadCommand() ([]byte, error) { function NewLegacyAOFReader (line 81) | func NewLegacyAOFReader(r io.Reader) *LegacyAOFReader { method migrateAOF (line 86) | func (s *Server) migrateAOF() error { FILE: internal/server/aofshrink.go constant maxkeys (line 17) | maxkeys = 8 constant maxids (line 18) | maxids = 32 constant maxchunk (line 19) | maxchunk = 4 * 1024 * 1024 method aofshrink (line 21) | func (s *Server) aofshrink() { FILE: internal/server/bson.go function bsonID (line 13) | func bsonID() string { FILE: internal/server/bson_test.go function TestBSON (line 5) | func TestBSON(t *testing.T) { FILE: internal/server/checksum.go method checksum (line 16) | func (s *Server) checksum(pos, size int64) (sum string, err error) { function connAOFMD5 (line 57) | func connAOFMD5(conn *RESPConn, pos, size int64) (sum string, err error) { method matchChecksums (line 76) | func (s *Server) matchChecksums(conn *RESPConn, pos, size int64) (match ... function getEndOfLastValuePositionInFile (line 96) | func getEndOfLastValuePositionInFile(fname string, startPos int64) (int6... method followCheckSome (line 140) | func (s *Server) followCheckSome(addr string, followc int, auth string, FILE: internal/server/client.go type Client (line 16) | type Client struct method Write (line 41) | func (client *Client) Write(b []byte) (n int, err error) { method cmdCLIENT (line 47) | func (s *Server) cmdCLIENT(msg *Message, client *Client) (resp.Value, er... FILE: internal/server/config.go constant defaultKeepAlive (line 17) | defaultKeepAlive = 300 constant defaultProtectedMode (line 18) | defaultProtectedMode = "yes" constant FollowHost (line 23) | FollowHost = "follow_host" constant FollowPort (line 24) | FollowPort = "follow_port" constant FollowID (line 25) | FollowID = "follow_id" constant FollowPos (line 26) | FollowPos = "follow_pos" constant ReplicaPriority (line 27) | ReplicaPriority = "replica-priority" constant ServerID (line 28) | ServerID = "server_id" constant ReadOnly (line 29) | ReadOnly = "read_only" constant RequirePass (line 30) | RequirePass = "requirepass" constant LeaderAuth (line 31) | LeaderAuth = "leaderauth" constant ProtectedMode (line 32) | ProtectedMode = "protected-mode" constant MaxMemory (line 33) | MaxMemory = "maxmemory" constant AutoGC (line 34) | AutoGC = "autogc" constant KeepAlive (line 35) | KeepAlive = "keepalive" constant LogConfig (line 36) | LogConfig = "logconfig" constant AnnounceIP (line 37) | AnnounceIP = "replica_announce_ip" constant AnnouncePort (line 38) | AnnouncePort = "replica_announce_port" type Config (line 44) | type Config struct method write (line 152) | func (config *Config) write(writeProperties bool) { method setProperty (line 299) | func (config *Config) setProperty(name, value string, fromLoad bool) e... method getProperties (line 384) | func (config *Config) getProperties(pattern string) map[string]interfa... method getProperty (line 395) | func (config *Config) getProperty(name string) string { method followHost (line 491) | func (config *Config) followHost() string { method followPort (line 497) | func (config *Config) followPort() int { method replicaPriority (line 503) | func (config *Config) replicaPriority() int { method serverID (line 509) | func (config *Config) serverID() string { method readOnly (line 515) | func (config *Config) readOnly() bool { method requirePass (line 521) | func (config *Config) requirePass() string { method leaderAuth (line 527) | func (config *Config) leaderAuth() string { method protectedMode (line 533) | func (config *Config) protectedMode() string { method maxMemory (line 539) | func (config *Config) maxMemory() int { method autoGC (line 545) | func (config *Config) autoGC() uint64 { method keepAlive (line 551) | func (config *Config) keepAlive() int64 { method announceIP (line 557) | func (config *Config) announceIP() string { method announcePort (line 563) | func (config *Config) announcePort() int { method setFollowHost (line 569) | func (config *Config) setFollowHost(v string) { method setFollowPort (line 574) | func (config *Config) setFollowPort(v int) { method setReadOnly (line 579) | func (config *Config) setReadOnly(v bool) { function loadConfig (line 77) | func loadConfig(path string) (*Config, error) { function parseMemSize (line 253) | func parseMemSize(s string) (bytes int64, ok bool) { function formatMemSize (line 280) | func formatMemSize(sz int64) string { method cmdConfigGet (line 428) | func (s *Server) cmdConfigGet(msg *Message) (res resp.Value, err error) { method cmdConfigSet (line 454) | func (s *Server) cmdConfigSet(msg *Message) (res resp.Value, err error) { method cmdConfigRewrite (line 480) | func (s *Server) cmdConfigRewrite(msg *Message) (res resp.Value, err err... FILE: internal/server/crud.go method cmdBOUNDS (line 21) | func (s *Server) cmdBOUNDS(msg *Message) (resp.Value, error) { method cmdTYPE (line 78) | func (s *Server) cmdTYPE(msg *Message) (resp.Value, error) { method cmdGET (line 111) | func (s *Server) cmdGET(msg *Message) (resp.Value, error) { function buildObjectResponse (line 176) | func buildObjectResponse(msg *Message, o *object.Object, start time.Time... method cmdDEL (line 283) | func (s *Server) cmdDEL(msg *Message) (resp.Value, commandDetails, error) { method cmdPDEL (line 351) | func (s *Server) cmdPDEL(msg *Message) (resp.Value, commandDetails, erro... method cmdDROPop (line 421) | func (s *Server) cmdDROPop(key string) *collection.Collection { method cmdDROP (line 431) | func (s *Server) cmdDROP(msg *Message) (resp.Value, commandDetails, erro... method cmdRENAME (line 469) | func (s *Server) cmdRENAME(msg *Message) (resp.Value, commandDetails, er... method cmdFLUSHDB (line 547) | func (s *Server) cmdFLUSHDB(msg *Message) (resp.Value, commandDetails, e... method cmdSET (line 623) | func (s *Server) cmdSET(msg *Message) (resp.Value, commandDetails, error) { function retwerr (line 874) | func retwerr(err error) (resp.Value, commandDetails, error) { function retrerr (line 877) | func retrerr(err error) (resp.Value, error) { method cmdFSET (line 882) | func (s *Server) cmdFSET(msg *Message) (resp.Value, commandDetails, erro... method cmdFGET (line 1016) | func (s *Server) cmdFGET(msg *Message) (resp.Value, error) { method cmdEXPIRE (line 1056) | func (s *Server) cmdEXPIRE(msg *Message) (resp.Value, commandDetails, er... method cmdPERSIST (line 1120) | func (s *Server) cmdPERSIST(msg *Message) (resp.Value, commandDetails, e... method cmdTTL (line 1182) | func (s *Server) cmdTTL(msg *Message) (resp.Value, error) { method cmdEXISTS (line 1230) | func (s *Server) cmdEXISTS(msg *Message) (resp.Value, error) { method cmdFEXISTS (line 1262) | func (s *Server) cmdFEXISTS(msg *Message) (resp.Value, error) { FILE: internal/server/dev.go function randMassInsertPosition (line 17) | func randMassInsertPosition(minLat, minLon, maxLat, maxLon float64) (flo... method cmdMassInsert (line 22) | func (s *Server) cmdMassInsert(msg *Message) (res resp.Value, err error) { method cmdSleep (line 151) | func (s *Server) cmdSleep(msg *Message) (res resp.Value, err error) { FILE: internal/server/expire.go constant bgExpireDelay (line 12) | bgExpireDelay = time.Second / 10 method backgroundExpiring (line 16) | func (s *Server) backgroundExpiring(wg *sync.WaitGroup) { method backgroundExpireObjects (line 27) | func (s *Server) backgroundExpireObjects(now time.Time) { method backgroundExpireHooks (line 55) | func (s *Server) backgroundExpireHooks(now time.Time) { FILE: internal/server/expr.go type exprPool (line 18) | type exprPool struct method Get (line 174) | func (p *exprPool) Get(o *object.Object) *expr.Context { method Put (line 181) | func (p *exprPool) Put(ctx *expr.Context) { function typeForObject (line 23) | func typeForObject(o *object.Object) expr.Value { function resultToValue (line 48) | func resultToValue(r gjson.Result) expr.Value { function objExpr (line 68) | func objExpr(o *object.Object, info expr.RefInfo) (expr.Value, error) { function newExprPool (line 96) | func newExprPool(s *Server) *exprPool { method matchExpr (line 185) | func (where whereT) matchExpr(s *Server, o *object.Object) bool { FILE: internal/server/expression.go type BinaryOp (line 10) | type BinaryOp constant NOOP (line 14) | NOOP BinaryOp = iota constant AND (line 15) | AND constant OR (line 16) | OR constant tokenAND (line 17) | tokenAND = "and" constant tokenOR (line 18) | tokenOR = "or" constant tokenNOT (line 19) | tokenNOT = "not" constant tokenLParen (line 20) | tokenLParen = "(" constant tokenRParen (line 21) | tokenRParen = ")" type areaExpression (line 26) | type areaExpression struct method String (line 36) | func (e *areaExpression) String() (res string) { method maybeNegate (line 62) | func (e *areaExpression) maybeNegate(val bool) bool { method testObject (line 70) | func (e *areaExpression) testObject( method rawIntersects (line 97) | func (e *areaExpression) rawIntersects(o geojson.Object) bool { method rawContains (line 101) | func (e *areaExpression) rawContains(o geojson.Object) bool { method rawWithin (line 105) | func (e *areaExpression) rawWithin(o geojson.Object) bool { method Intersects (line 109) | func (e *areaExpression) Intersects(o geojson.Object) bool { method Contains (line 113) | func (e *areaExpression) Contains(o geojson.Object) bool { method Within (line 117) | func (e *areaExpression) Within(o geojson.Object) bool { method testExpression (line 122) | func (e *areaExpression) testExpression( method rawIntersectsExpr (line 155) | func (e *areaExpression) rawIntersectsExpr(other *areaExpression) bool { method rawWithinExpr (line 163) | func (e *areaExpression) rawWithinExpr(other *areaExpression) bool { method rawContainsExpr (line 171) | func (e *areaExpression) rawContainsExpr(other *areaExpression) bool { method IntersectsExpr (line 179) | func (e *areaExpression) IntersectsExpr(other *areaExpression) bool { method WithinExpr (line 183) | func (e *areaExpression) WithinExpr(other *areaExpression) bool { method ContainsExpr (line 187) | func (e *areaExpression) ContainsExpr(other *areaExpression) bool { type children (line 33) | type children FILE: internal/server/fence.go function FenceMatch (line 19) | func FenceMatch(hookName string, sw *scanWriter, fence *liveFenceSwitche... function appendHookDetails (line 32) | func appendHookDetails(b []byte, hookName string, metas []FenceMeta) []b... function objIsSpatial (line 52) | func objIsSpatial(obj geojson.Object) bool { function hookJSONString (line 57) | func hookJSONString(hookName string, metas []FenceMeta) string { function multiGlobMatch (line 61) | func multiGlobMatch(globs []string, s string) bool { function fenceMatch (line 74) | func fenceMatch( function extendRoamMessage (line 278) | func extendRoamMessage( function makemsg (line 337) | func makemsg( function fenceMatchObject (line 353) | func fenceMatchObject(fence *liveFenceSwitches, o *object.Object) bool { function fenceMatchNearbys (line 373) | func fenceMatchNearbys( function fenceMatchRoam (line 421) | func fenceMatchRoam( function sortRoamMatches (line 460) | func sortRoamMatches(matches []roamMatch) { FILE: internal/server/follow.go constant checksumsz (line 17) | checksumsz = 512 * 1024 method cmdFollow (line 19) | func (s *Server) cmdFollow(msg *Message) (res resp.Value, err error) { method cmdReplConf (line 99) | func (s *Server) cmdReplConf(msg *Message, client *Client) (res resp.Val... function doServer (line 149) | func doServer(conn *RESPConn) (map[string]string, error) { method followHandleCommand (line 165) | func (s *Server) followHandleCommand(args []string, followc int, w io.Wr... method followDoLeaderAuth (line 192) | func (s *Server) followDoLeaderAuth(conn *RESPConn, auth string) error { constant bitCaughtUpOnce (line 208) | bitCaughtUpOnce int32 = 1 constant bitCaughtUp (line 209) | bitCaughtUp int32 = 2 method setCaughtUp (line 212) | func (s *Server) setCaughtUp(caughtUp bool) { method caughtUp (line 222) | func (s *Server) caughtUp() bool { method caughtUpOnce (line 226) | func (s *Server) caughtUpOnce() bool { method followStep (line 230) | func (s *Server) followStep(host string, port int, followc int) error { method follow (line 372) | func (s *Server) follow(host string, port int, followc int) { FILE: internal/server/group.go function byGroupHook (line 7) | func byGroupHook(va, vb interface{}) bool { function byGroupObject (line 24) | func byGroupObject(va, vb interface{}) bool { type groupItem (line 41) | type groupItem struct function newGroupItem (line 48) | func newGroupItem(hookName, colKey, objID string) *groupItem { method groupConnect (line 65) | func (s *Server) groupConnect(hookName, colKey, objID string) (groupID s... method groupDisconnect (line 72) | func (s *Server) groupDisconnect(hookName, colKey, objID string) { method groupGet (line 82) | func (s *Server) groupGet(hookName, colKey, objID string) (groupID strin... function deleteGroups (line 94) | func deleteGroups(s *Server, groups []*groupItem) { method groupDisconnectObject (line 104) | func (s *Server) groupDisconnectObject(colKey, objID string) { method groupDisconnectCollection (line 121) | func (s *Server) groupDisconnectCollection(colKey string) { method groupDisconnectHook (line 137) | func (s *Server) groupDisconnectHook(hookName string) { FILE: internal/server/hooks.go function byHookName (line 26) | func byHookName(a, b interface{}) bool { method cmdSetHook (line 30) | func (s *Server) cmdSetHook(msg *Message) ( function byHookExpires (line 231) | func byHookExpires(a, b interface{}) bool { method cmdDELHOOKop (line 243) | func (s *Server) cmdDELHOOKop(name string, channel bool) (updated bool) { method cmdDelHook (line 274) | func (s *Server) cmdDelHook(msg *Message) ( method cmdPDelHook (line 305) | func (s *Server) cmdPDelHook(msg *Message) ( method forEachHookByPattern (line 347) | func (s *Server) forEachHookByPattern( method cmdHooks (line 367) | func (s *Server) cmdHooks(msg *Message) ( type Hook (line 473) | type Hook struct method Expires (line 494) | func (h *Hook) Expires() time.Time { method Equals (line 499) | func (h *Hook) Equals(hook *Hook) bool { method Open (line 552) | func (h *Hook) Open() { method Close (line 568) | func (h *Hook) Close() { method Signal (line 584) | func (h *Hook) Signal() { method manager (line 597) | func (h *Hook) manager() { method proc (line 630) | func (h *Hook) proc() (ok bool) { type FenceMeta (line 532) | type FenceMeta struct type hookMetaByName (line 536) | type hookMetaByName method Len (line 538) | func (arr hookMetaByName) Len() int { method Less (line 542) | func (arr hookMetaByName) Less(a, b int) bool { method Swap (line 546) | func (arr hookMetaByName) Swap(a, b int) { FILE: internal/server/json.go function appendJSONString (line 19) | func appendJSONString(b []byte, s string) []byte { function jsonString (line 32) | func jsonString(s string) string { function isJSONNumber (line 46) | func isJSONNumber(data string) bool { function appendJSONSimpleBounds (line 122) | func appendJSONSimpleBounds(dst []byte, o geojson.Object) []byte { function appendJSONSimplePoint (line 136) | func appendJSONSimplePoint(dst []byte, o geojson.Object) []byte { function appendJSONTimeFormat (line 151) | func appendJSONTimeFormat(b []byte, t time.Time) []byte { function jsonTimeFormat (line 158) | func jsonTimeFormat(t time.Time) string { method cmdJget (line 164) | func (s *Server) cmdJget(msg *Message) (resp.Value, error) { method cmdJset (line 235) | func (s *Server) cmdJset(msg *Message) (res resp.Value, d commandDetails... method cmdJdel (line 323) | func (s *Server) cmdJdel(msg *Message) (res resp.Value, d commandDetails... FILE: internal/server/json_test.go function BenchmarkJSONString (line 8) | func BenchmarkJSONString(t *testing.B) { function BenchmarkJSONMarshal (line 15) | func BenchmarkJSONMarshal(t *testing.B) { function TestIsJsonNumber (line 22) | func TestIsJsonNumber(t *testing.T) { FILE: internal/server/keys.go method cmdKEYS (line 13) | func (s *Server) cmdKEYS(msg *Message) (resp.Value, error) { FILE: internal/server/live.go type liveBuffer (line 17) | type liveBuffer struct method processLives (line 25) | func (s *Server) processLives(wg *sync.WaitGroup) { function writeLiveMessage (line 65) | func writeLiveMessage( method goLive (line 91) | func (s *Server) goLive( FILE: internal/server/metrics.go method MetricsIndexHandler (line 58) | func (s *Server) MetricsIndexHandler(w http.ResponseWriter, r *http.Requ... method MetricsHandler (line 66) | func (s *Server) MetricsHandler(w http.ResponseWriter, r *http.Request) { method Describe (line 80) | func (s *Server) Describe(ch chan<- *prometheus.Desc) { method Collect (line 86) | func (s *Server) Collect(ch chan<- prometheus.Metric) { function toFloat (line 153) | func toFloat(val interface{}) (float64, bool) { FILE: internal/server/monitor.go type liveMonitorSwitches (line 14) | type liveMonitorSwitches struct method Error (line 18) | func (sub liveMonitorSwitches) Error() string { method cmdMonitor (line 22) | func (s *Server) cmdMonitor(msg *Message) (resp.Value, error) { method liveMonitor (line 29) | func (s *Server) liveMonitor(conn net.Conn, rd *PipelineReader, msg *Mes... method sendMonitor (line 61) | func (s *Server) sendMonitor(err error, msg *Message, c *Client, lua boo... FILE: internal/server/must.go function Must (line 3) | func Must[T any](a T, err error) T { function Default (line 10) | func Default[T comparable](a, b T) T { FILE: internal/server/must_test.go function TestMust (line 8) | func TestMust(t *testing.T) { function TestDefault (line 31) | func TestDefault(t *testing.T) { FILE: internal/server/mvt.go type mvtObj (line 12) | type mvtObj struct function mvtDrawRing (line 17) | func mvtDrawRing(f *mvt.Feature, tileX, tileY, tileZ int, ring geometry.... function mvtAddFeature (line 44) | func mvtAddFeature(l *mvt.Layer, tileX, tileY, tileZ int, o mvtObj) { function mvtRender (line 97) | func mvtRender(tileX, tileY, tileZ int, objs []mvtObj) []byte { function mvtFilterHTTPArgs (line 107) | func mvtFilterHTTPArgs(msg *Message, query string) (modified bool) { FILE: internal/server/mvt_test.go function ls (line 12) | func ls(points []geometry.Point) *geojson.LineString { function TestMVTAddFeatureLineStringUsesAllPoints (line 18) | func TestMVTAddFeatureLineStringUsesAllPoints(t *testing.T) { function TestMVTAddFeatureLineStringTooShort (line 60) | func TestMVTAddFeatureLineStringTooShort(t *testing.T) { FILE: internal/server/output.go method cmdOUTPUT (line 11) | func (s *Server) cmdOUTPUT(msg *Message) (resp.Value, error) { FILE: internal/server/pubqueue.go type pubQueue (line 10) | type pubQueue struct type pubQueueEntry (line 16) | type pubQueueEntry struct method startPublishQueue (line 21) | func (s *Server) startPublishQueue(wg *sync.WaitGroup) { method stopPublishQueue (line 63) | func (s *Server) stopPublishQueue() { method sendPublishQueue (line 70) | func (s *Server) sendPublishQueue(channel string, message ...string) { FILE: internal/server/pubsub.go constant pubsubChannel (line 18) | pubsubChannel = iota constant pubsubPattern (line 19) | pubsubPattern type pubsub (line 22) | type pubsub struct method register (line 83) | func (ps *pubsub) register(kind int, channel string, target *subtarget) { method unregister (line 94) | func (ps *pubsub) unregister(kind int, channel string, target *subtarg... function newPubsub (line 27) | func newPubsub() *pubsub { method Publish (line 37) | func (s *Server) Publish(channel string, message ...string) int { type submsg (line 106) | type submsg struct type subtarget (line 114) | type subtarget struct function newSubtarget (line 120) | func newSubtarget() *subtarget { type subhub (line 126) | type subhub struct function newSubhub (line 130) | func newSubhub() *subhub { type liveSubscriptionSwitches (line 136) | type liveSubscriptionSwitches struct method Error (line 140) | func (sub liveSubscriptionSwitches) Error() string { method cmdSubscribe (line 144) | func (s *Server) cmdSubscribe(msg *Message) (resp.Value, error) { method cmdPsubscribe (line 151) | func (s *Server) cmdPsubscribe(msg *Message) (resp.Value, error) { method cmdPublish (line 158) | func (s *Server) cmdPublish(msg *Message) (resp.Value, error) { method liveSubscription (line 180) | func (s *Server) liveSubscription( FILE: internal/server/readonly.go method cmdREADONLY (line 11) | func (s *Server) cmdREADONLY(msg *Message) (resp.Value, error) { FILE: internal/server/respconn.go type RESPConn (line 11) | type RESPConn struct method Close (line 32) | func (conn *RESPConn) Close() error { method Do (line 38) | func (conn *RESPConn) Do(commandName string, args ...interface{}) ( function DialTimeout (line 18) | func DialTimeout(address string, timeout time.Duration) (*RESPConn, erro... FILE: internal/server/scan.go method cmdScanArgs (line 11) | func (s *Server) cmdScanArgs(vs []string) ( method cmdScan (line 27) | func (s *Server) cmdScan(msg *Message) (res resp.Value, err error) { FILE: internal/server/scanner.go constant limitItems (line 23) | limitItems = 100 type outputT (line 25) | type outputT constant outputUnknown (line 28) | outputUnknown outputT = iota constant outputIDs (line 29) | outputIDs constant outputObjects (line 30) | outputObjects constant outputCount (line 31) | outputCount constant outputPoints (line 32) | outputPoints constant outputHashes (line 33) | outputHashes constant outputBounds (line 34) | outputBounds type scanWriter (line 37) | type scanWriter struct method hasFieldsOutput (line 131) | func (sw *scanWriter) hasFieldsOutput() bool { method writeFoot (line 140) | func (sw *scanWriter) writeFoot() { method fieldMatch (line 255) | func (sw *scanWriter) fieldMatch(o *object.Object) (bool, error) { method globMatch (line 297) | func (sw *scanWriter) globMatch(o *object.Object) (ok, keepGoing bool) { method Offset (line 317) | func (sw *scanWriter) Offset() uint64 { method Step (line 321) | func (sw *scanWriter) Step(n uint64) { method testObject (line 327) | func (sw *scanWriter) testObject(o *object.Object, method pushObject (line 340) | func (sw *scanWriter) pushObject(opts ScanWriterParams) (keepGoing bool, method writeObject (line 386) | func (sw *scanWriter) writeObject(opts ScanWriterParams) { method writeFilled (line 395) | func (sw *scanWriter) writeFilled(opts ScanWriterParams) { type ScanWriterParams (line 71) | type ScanWriterParams struct method newScanWriter (line 81) | func (s *Server) newScanWriter( function extractZCoordinate (line 217) | func extractZCoordinate(o geojson.Object) float64 { function isPathKey (line 230) | func isPathKey(s string, key string) bool { function getFieldValue (line 234) | func getFieldValue(o *object.Object, name string) field.Value { FILE: internal/server/scanner_test.go type testPointItem (line 16) | type testPointItem struct function PO (line 21) | func PO(x, y float64) *geojson.Point { function BenchmarkFieldMatch (line 25) | func BenchmarkFieldMatch(t *testing.B) { FILE: internal/server/scripts.go constant iniLuaPoolSize (line 26) | iniLuaPoolSize = 5 constant maxLuaPoolSize (line 27) | maxLuaPoolSize = 1000 type lStatePool (line 42) | type lStatePool struct method Get (line 63) | func (pl *lStatePool) Get() (*lua.LState, error) { method Prune (line 80) | func (pl *lStatePool) Prune() { method New (line 97) | func (pl *lStatePool) New() *lua.LState { method Put (line 210) | func (pl *lStatePool) Put(L *lua.LState) { method Shutdown (line 216) | func (pl *lStatePool) Shutdown() { method newPool (line 50) | func (s *Server) newPool() *lStatePool { type lScriptMap (line 225) | type lScriptMap struct method Get (line 231) | func (sm *lScriptMap) Get(key string) (script *lua.FunctionProto, ok b... method Put (line 241) | func (sm *lScriptMap) Put(key string, script *lua.FunctionProto) { method PutLRU (line 247) | func (sm *lScriptMap) PutLRU(key string, script *lua.FunctionProto) { method Flush (line 253) | func (sm *lScriptMap) Flush() { method newScriptMap (line 261) | func (s *Server) newScriptMap() *lScriptMap { function ConvertToLua (line 268) | func ConvertToLua(L *lua.LState, val resp.Value) lua.LValue { function ConvertToRESP (line 296) | func ConvertToRESP(val lua.LValue) resp.Value { function ConvertToJSON (line 348) | func ConvertToJSON(val lua.LValue) string { function luaSetRawGlobals (line 391) | func luaSetRawGlobals(ls *lua.LState, tbl map[string]lua.LValue) { function Sha1Sum (line 399) | func Sha1Sum(s string) string { function makeSafeErr (line 406) | func makeSafeErr(err error) error { method cmdEvalUnified (line 411) | func (s *Server) cmdEvalUnified(scriptIsSha bool, msg *Message) (res res... method cmdScriptLoad (line 531) | func (s *Server) cmdScriptLoad(msg *Message) (resp.Value, error) { method cmdScriptExists (line 568) | func (s *Server) cmdScriptExists(msg *Message) (resp.Value, error) { method cmdScriptFlush (line 610) | func (s *Server) cmdScriptFlush(msg *Message) (resp.Value, error) { method commandInScript (line 626) | func (s *Server) commandInScript(msg *Message) ( method luaTile38Call (line 693) | func (s *Server) luaTile38Call(evalcmd string, cmd string, args ...strin... method luaTile38AtomicRW (line 727) | func (s *Server) luaTile38AtomicRW(msg *Message) (resp.Value, error) { method luaTile38AtomicRO (line 786) | func (s *Server) luaTile38AtomicRO(msg *Message) (resp.Value, error) { method luaTile38NonAtomic (line 828) | func (s *Server) luaTile38NonAtomic(msg *Message) (resp.Value, error) { function openBaseSubset (line 893) | func openBaseSubset(L *lua.LState) int { function openOsSubset (line 910) | func openOsSubset(L *lua.LState) int { function baseToNumber (line 921) | func baseToNumber(L *lua.LState) int { function baseToString (line 953) | func baseToString(L *lua.LState) int { function osClock (line 960) | func osClock(L *lua.LState) int { function osDiffTime (line 966) | func osDiffTime(L *lua.LState) int { FILE: internal/server/search.go constant defaultCircleSteps (line 23) | defaultCircleSteps = 64 type liveFenceSwitches (line 25) | type liveFenceSwitches struct method Error (line 47) | func (lfs liveFenceSwitches) Error() string { method Close (line 51) | func (lfs liveFenceSwitches) Close() { method usingLua (line 57) | func (lfs liveFenceSwitches) usingLua() bool { type roamSwitches (line 32) | type roamSwitches struct type roamMatch (line 41) | type roamMatch struct function parseRectArea (line 61) | func parseRectArea(ltyp string, vs []string) (nvs []string, method cmdSearchArgs (line 198) | func (s *Server) cmdSearchArgs( method cmdNearby (line 501) | func (s *Server) cmdNearby(msg *Message) (res resp.Value, err error) { method cmdWITHIN (line 591) | func (s *Server) cmdWITHIN(msg *Message) (res resp.Value, err error) { method cmdINTERSECTS (line 595) | func (s *Server) cmdINTERSECTS(msg *Message) (res resp.Value, err error) { method cmdWITHINorINTERSECTS (line 599) | func (s *Server) cmdWITHINorINTERSECTS(cmd string, msg *Message) (res re... method cmdSeachValuesArgs (line 675) | func (s *Server) cmdSeachValuesArgs(vs []string) ( function multiGlobParse (line 691) | func multiGlobParse(globs []string, desc bool) [2]string { method cmdSearch (line 720) | func (s *Server) cmdSearch(msg *Message) (res resp.Value, err error) { FILE: internal/server/server.go function errTimeoutOnCmd (line 46) | func errTimeoutOnCmd(cmd string) error { constant goingLive (line 51) | goingLive = "going live" constant hookLogPrefix (line 52) | hookLogPrefix = "hook:log:" type commandDetails (line 57) | type commandDetails struct type rwlocker (line 72) | type rwlocker interface type rwspinlock (line 81) | type rwspinlock struct method Lock (line 85) | func (l *rwspinlock) Lock() { method LockLowPriority (line 94) | func (l *rwspinlock) LockLowPriority() { method Unlock (line 98) | func (l *rwspinlock) Unlock() { method RLock (line 103) | func (l *rwspinlock) RLock() { method RUnlock (line 112) | func (l *rwspinlock) RUnlock() { type rwmutex (line 120) | type rwmutex struct method Lock (line 124) | func (l *rwmutex) Lock() { method LockLowPriority (line 139) | func (l *rwmutex) LockLowPriority() { method Unlock (line 144) | func (l *rwmutex) Unlock() { method RLock (line 147) | func (l *rwmutex) RLock() { method RUnlock (line 150) | func (l *rwmutex) RUnlock() { type Server (line 155) | type Server struct method isProtected (line 541) | func (s *Server) isProtected() bool { method netServe (line 555) | func (s *Server) netServe() error { method watchAutoGC (line 846) | func (s *Server) watchAutoGC(wg *sync.WaitGroup) { method checkOutOfMemory (line 873) | func (s *Server) checkOutOfMemory() { method loopUntilServerStops (line 892) | func (s *Server) loopUntilServerStops(dur time.Duration, op func()) { method watchOutOfMemory (line 907) | func (s *Server) watchOutOfMemory(wg *sync.WaitGroup) { method watchLuaStatePool (line 914) | func (s *Server) watchLuaStatePool(wg *sync.WaitGroup) { method backgroundSyncAOF (line 922) | func (s *Server) backgroundSyncAOF(wg *sync.WaitGroup) { method handleInputCommand (line 959) | func (s *Server) handleInputCommand(client *Client, msg *Message) error { method reset (line 1318) | func (s *Server) reset() { method command (line 1323) | func (s *Server) command(msg *Message, client *Client) ( type Options (line 240) | type Options struct function Serve (line 275) | func Serve(opts Options) error { type liveConn (line 810) | type liveConn struct method Close (line 815) | func (conn *liveConn) Close() error { method LocalAddr (line 819) | func (conn *liveConn) LocalAddr() net.Addr { method RemoteAddr (line 823) | func (conn *liveConn) RemoteAddr() net.Addr { method Read (line 826) | func (conn *liveConn) Read(b []byte) (n int, err error) { method Write (line 830) | func (conn *liveConn) Write(b []byte) (n int, err error) { method SetDeadline (line 834) | func (conn *liveConn) SetDeadline(deadline time.Time) error { method SetReadDeadline (line 838) | func (conn *liveConn) SetReadDeadline(deadline time.Time) error { method SetWriteDeadline (line 842) | func (conn *liveConn) SetWriteDeadline(deadline time.Time) error { function isReservedFieldName (line 931) | func isReservedFieldName(field string) bool { function rewriteTimeoutMsg (line 939) | func rewriteTimeoutMsg(msg *Message) (err error) { function randomKey (line 1306) | func randomKey(n int) string { function WriteWebSocketMessage (line 1507) | func WriteWebSocketMessage(w io.Writer, data []byte) error { function OKMessage (line 1531) | func OKMessage(msg *Message, start time.Time) resp.Value { type Type (line 1547) | type Type constant Null (line 1551) | Null Type = iota constant RESP (line 1552) | RESP constant Telnet (line 1553) | Telnet constant Native (line 1554) | Native constant HTTP (line 1555) | HTTP constant WebSocket (line 1556) | WebSocket constant JSON (line 1557) | JSON type Message (line 1561) | type Message struct method Command (line 1573) | func (msg *Message) Command() string { type PipelineReader (line 1581) | type PipelineReader struct method ReadMessages (line 1784) | func (rd *PipelineReader) ReadMessages() ([]*Message, error) { constant kindHTTP (line 1588) | kindHTTP redcon.Kind = 9999 function NewPipelineReader (line 1591) | func NewPipelineReader(rd io.ReadWriter) *PipelineReader { function readcrlfline (line 1595) | func readcrlfline(packet []byte) (line string, leftover []byte, ok bool) { function headerValue (line 1604) | func headerValue(header, name string) int { function readNextHTTPCommand (line 1631) | func readNextHTTPCommand(packet []byte, argsIn [][]byte, msg *Message, w... function readNextCommand (line 1759) | func readNextCommand(packet []byte, argsIn [][]byte, msg *Message, wr io... function readNativeMessageLine (line 1845) | func readNativeMessageLine(line []byte) (*Message, error) { type InputStream (line 1884) | type InputStream struct method Begin (line 1888) | func (is *InputStream) Begin(packet []byte) (data []byte) { method End (line 1898) | func (is *InputStream) End(data []byte) { function clientErrorf (line 1912) | func clientErrorf(format string, args ...interface{}) error { FILE: internal/server/stats.go function readMemStats (line 27) | func readMemStats() runtime.MemStats { method cmdSTATS (line 49) | func (s *Server) cmdSTATS(msg *Message) (resp.Value, error) { method cmdHEALTHZ (line 99) | func (s *Server) cmdHEALTHZ(msg *Message) (resp.Value, error) { method cmdSERVER (line 127) | func (s *Server) cmdSERVER(msg *Message) (resp.Value, error) { method basicStats (line 164) | func (s *Server) basicStats(m map[string]interface{}) { method extStats (line 227) | func (s *Server) extStats(m map[string]interface{}) { method writeInfoServer (line 390) | func (s *Server) writeInfoServer(w *bytes.Buffer) { method writeInfoClients (line 395) | func (s *Server) writeInfoClients(w *bytes.Buffer) { method writeInfoMemory (line 400) | func (s *Server) writeInfoMemory(w *bytes.Buffer) { function boolInt (line 404) | func boolInt(t bool) int { method writeInfoPersistence (line 410) | func (s *Server) writeInfoPersistence(w *bytes.Buffer) { method writeInfoStats (line 423) | func (s *Server) writeInfoStats(w *bytes.Buffer) { function replicaIPAndPort (line 430) | func replicaIPAndPort(cc *Client) (ip string, port int) { method writeInfoReplication (line 447) | func (s *Server) writeInfoReplication(w *bytes.Buffer) { method writeInfoCluster (line 473) | func (s *Server) writeInfoCluster(w *bytes.Buffer) { method cmdINFO (line 478) | func (s *Server) cmdINFO(msg *Message) (res resp.Value, err error) { function tryParseType (line 581) | func tryParseType(str string) interface{} { function respValuesSimpleMap (line 594) | func respValuesSimpleMap(m map[string]interface{}) []resp.Value { method cmdROLE (line 610) | func (s *Server) cmdROLE(msg *Message) (res resp.Value, err error) { FILE: internal/server/stats_cpu.go method writeInfoCPU (line 10) | func (s *Server) writeInfoCPU(w *bytes.Buffer) { FILE: internal/server/stats_cpu_darlin.go method writeInfoCPU (line 11) | func (s *Server) writeInfoCPU(w *bytes.Buffer) { FILE: internal/server/test.go method parseArea (line 21) | func (s *Server) parseArea(ovs []string, doClip bool) (vs []string, o ge... method cmdTEST (line 297) | func (s *Server) cmdTEST(msg *Message) (res resp.Value, err error) { FILE: internal/server/token.go constant defaultSearchOutput (line 16) | defaultSearchOutput = outputObjects function errInvalidArgument (line 27) | func errInvalidArgument(arg string) error { function errDuplicateArgument (line 30) | func errDuplicateArgument(arg string) error { function token (line 33) | func token(line string) (newLine, token string) { function tokenval (line 42) | func tokenval(vs []string) (nvs []string, token string, ok bool) { function lc (line 51) | func lc(s1, s2 string) bool { type whereT (line 68) | type whereT struct method matchField (line 83) | func (where whereT) matchField(value field.Value) bool { function mLT (line 77) | func mLT(a, b field.Value) bool { return a.Less(b) } function mLTE (line 78) | func mLTE(a, b field.Value) bool { return !mLT(b, a) } function mGT (line 79) | func mGT(a, b field.Value) bool { return mLT(b, a) } function mGTE (line 80) | func mGTE(a, b field.Value) bool { return !mLT(a, b) } function mEQ (line 81) | func mEQ(a, b field.Value) bool { return a.Equals(b) } type whereinT (line 119) | type whereinT struct method match (line 124) | func (wherein whereinT) match(value field.Value) bool { type whereevalT (line 133) | type whereevalT struct method Close (line 139) | func (whereeval whereevalT) Close() { method match (line 164) | func (whereeval whereevalT) match(fieldsWithNames map[string]field.Value, function luaSetField (line 147) | func luaSetField(tbl *lua.LTable, name string, val field.Value) { type searchScanBaseTokens (line 231) | type searchScanBaseTokens struct method parseSearchScanBaseTokens (line 260) | func (s *Server) parseSearchScanBaseTokens( function detectExprToken (line 725) | func detectExprToken(vs []string) bool { type parentStack (line 744) | type parentStack method isEmpty (line 746) | func (ps *parentStack) isEmpty() bool { method push (line 750) | func (ps *parentStack) push(e *areaExpression) { method pop (line 754) | func (ps *parentStack) pop() (e *areaExpression, empty bool) { method parseAreaExpression (line 764) | func (s *Server) parseAreaExpression(vsin []string, doClip bool) (vsout ... FILE: internal/server/token_test.go function TestLowerCompare (line 10) | func TestLowerCompare(t *testing.T) { function TestParseWhereins (line 34) | func TestParseWhereins(t *testing.T) { function BenchmarkLowerCompare (line 190) | func BenchmarkLowerCompare(t *testing.B) { function BenchmarkStringsLowerCompare (line 198) | func BenchmarkStringsLowerCompare(t *testing.B) { FILE: internal/sstring/sstring.go function Load (line 17) | func Load(num int) (str string) { function Store (line 31) | func Store(str string) (num int) { function Len (line 49) | func Len() int { FILE: internal/sstring/sstring_test.go function TestShared (line 11) | func TestShared(t *testing.T) { function randStr (line 39) | func randStr(n int) string { function BenchmarkStore (line 48) | func BenchmarkStore(b *testing.B) { function BenchmarkLoad (line 64) | func BenchmarkLoad(b *testing.B) { FILE: internal/viewer/viewer.go function HandleHTTP (line 18) | func HandleHTTP(wr io.Writer, url string, devMode bool) error { function writeHTTPFile (line 36) | func writeHTTPFile(wr io.Writer, path string, devMode bool) error { function writeHTTPResponse (line 54) | func writeHTTPResponse(wr io.Writer, status, contentType string, FILE: tests/107/main.go constant tile38Port (line 26) | tile38Port = 9191 constant httpPort (line 27) | httpPort = 9292 constant dir (line 28) | dir = "data" constant blank (line 49) | blank = false constant hookServer (line 50) | hookServer = true function main (line 54) | func main() { function startTile38Server (line 101) | func startTile38Server() { function startHookServer (line 116) | func startHookServer() { function waitForServers (line 134) | func waitForServers(cb func()) { function downloadAOF (line 186) | func downloadAOF() { function copyAOF (line 224) | func copyAOF() { function respGet (line 267) | func respGet(resp interface{}, idx ...int) interface{} { type PSAUX (line 275) | type PSAUX struct function atoi (line 289) | func atoi(s string) int { function atof (line 293) | func atof(s string) float64 { function psaux (line 297) | func psaux(pid int) PSAUX { function respGetFloat (line 331) | func respGetFloat(resp interface{}, idx ...int) float64 { function logServer (line 336) | func logServer(tag string) { function setPoints (line 362) | func setPoints() { FILE: tests/616/main.go constant exsecs (line 18) | exsecs = 10 constant key (line 19) | key = "__issue_616__" function makeID (line 21) | func makeID() string { function main (line 31) | func main() { function must (line 128) | func must(v interface{}, err error) interface{} { FILE: tests/aof_test.go function subTestAOF (line 21) | func subTestAOF(g *testGroup) { function loadAOFAndClose (line 30) | func loadAOFAndClose(aof any) error { function loadAOF (line 38) | func loadAOF(aof any) (*mockServer, error) { function aof_loading_test (line 55) | func aof_loading_test(mc *mockServer) error { function aof_AOFMD5_test (line 105) | func aof_AOFMD5_test(mc *mockServer) error { function openFollower (line 143) | func openFollower(mc *mockServer) (conn redis.Conn, err error) { function aof_AOF_test (line 171) | func aof_AOF_test(mc *mockServer) error { function aof_AOFSHRINK_test (line 243) | func aof_AOFSHRINK_test(mc *mockServer) error { function aof_READONLY_test (line 282) | func aof_READONLY_test(mc *mockServer) error { function aof_migrate_test (line 297) | func aof_migrate_test(mc *mockServer) error { FILE: tests/client_test.go function subTestClient (line 13) | func subTestClient(g *testGroup) { function client_OUTPUT_test (line 18) | func client_OUTPUT_test(mc *mockServer) error { function client_CLIENT_test (line 56) | func client_CLIENT_test(mc *mockServer) error { FILE: tests/fence_roaming_test.go function fence_roaming_webhook_test (line 16) | func fence_roaming_webhook_test(mc *mockServer) error { function goMultiFunc (line 86) | func goMultiFunc(mc *mockServer, fns ...func() error) error { function fence_roaming_live_test (line 112) | func fence_roaming_live_test(mc *mockServer) error { function fence_roaming_channel_test (line 179) | func fence_roaming_channel_test(mc *mockServer) error { function cleanMessage (line 261) | func cleanMessage(body []byte) string { function roamingTestData (line 270) | func roamingTestData() (car1 [][]float64, car2 [][]float64, output []str... FILE: tests/fence_test.go function subTestFence (line 21) | func subTestFence(g *testGroup) { type fenceReader (line 40) | type fenceReader struct method receive (line 45) | func (fr *fenceReader) receive() (string, error) { method receiveExpect (line 76) | func (fr *fenceReader) receiveExpect(valex ...string) error { function fence_basic_test (line 89) | func fence_basic_test(mc *mockServer) error { function fence_channel_message_order_test (line 174) | func fence_channel_message_order_test(mc *mockServer) error { function fence_detect_inside_test (line 252) | func fence_detect_inside_test(mc *mockServer) error { function do (line 317) | func do(c redis.Conn, cmd string) (interface{}, error) { function fence_channel_meta_test (line 331) | func fence_channel_meta_test(mc *mockServer) error { function dialTile38 (line 349) | func dialTile38(port int) (redis.Conn, error) { function doTile38 (line 361) | func doTile38(c redis.Conn, cmd string, args ...interface{}) (string, er... function fence_eecio_test (line 369) | func fence_eecio_test(mc *mockServer) error { FILE: tests/follower_test.go function subTestFollower (line 5) | func subTestFollower(g *testGroup) { function follower_follow_test (line 9) | func follower_follow_test(mc *mockServer) error { FILE: tests/json_test.go function subTestJSON (line 3) | func subTestJSON(g *testGroup) { function json_JSET_basic_test (line 9) | func json_JSET_basic_test(mc *mockServer) error { function json_JSET_geojson_test (line 26) | func json_JSET_geojson_test(mc *mockServer) error { function json_JSET_number_test (line 43) | func json_JSET_number_test(mc *mockServer) error { FILE: tests/keys_search_test.go function subTestSearch (line 16) | func subTestSearch(g *testGroup) { function keys_KNN_basic_test (line 38) | func keys_KNN_basic_test(mc *mockServer) error { function keys_KNN_random_test (line 92) | func keys_KNN_random_test(mc *mockServer) error { function keys_KNN_cursor_test (line 140) | func keys_KNN_cursor_test(mc *mockServer) error { function keys_WITHIN_test (line 162) | func keys_WITHIN_test(mc *mockServer) error { function keys_WITHIN_CURSOR_test (line 212) | func keys_WITHIN_CURSOR_test(mc *mockServer) error { function keys_WITHIN_CLIPBY_test (line 258) | func keys_WITHIN_CLIPBY_test(mc *mockServer) error { function keys_INTERSECTS_test (line 302) | func keys_INTERSECTS_test(mc *mockServer) error { function keys_INTERSECTS_CLIPBY_test (line 360) | func keys_INTERSECTS_CLIPBY_test(mc *mockServer) error { function keys_INTERSECTS_CURSOR_test (line 404) | func keys_INTERSECTS_CURSOR_test(mc *mockServer) error { function keys_WITHIN_CIRCLE_test (line 450) | func keys_WITHIN_CIRCLE_test(mc *mockServer) error { function keys_WITHIN_SECTOR_test (line 466) | func keys_WITHIN_SECTOR_test(mc *mockServer) error { function keys_NEARBY_SPARSE_test (line 482) | func keys_NEARBY_SPARSE_test(mc *mockServer) error { function keys_INTERSECTS_CIRCLE_test (line 565) | func keys_INTERSECTS_CIRCLE_test(mc *mockServer) error { function keys_INTERSECTS_SECTOR_test (line 581) | func keys_INTERSECTS_SECTOR_test(mc *mockServer) error { function keys_SCAN_CURSOR_test (line 597) | func keys_SCAN_CURSOR_test(mc *mockServer) error { function keys_SEARCH_CURSOR_test (line 619) | func keys_SEARCH_CURSOR_test(mc *mockServer) error { function keys_MATCH_test (line 642) | func keys_MATCH_test(mc *mockServer) error { function keys_FIELDS_search_test (line 696) | func keys_FIELDS_search_test(mc *mockServer) error { function keys_BUFFER_search_test (line 761) | func keys_BUFFER_search_test(mc *mockServer) error { function match (line 793) | func match(expectIn string) func(org, v interface{}) (resp, expect inter... function subBenchSearch (line 803) | func subBenchSearch(b *testing.B, mc *mockServer) { function keys_KNN_bench (line 807) | func keys_KNN_bench(mc *mockServer) error { FILE: tests/keys_test.go function subTestKeys (line 14) | func subTestKeys(g *testGroup) { function keys_BOUNDS_test (line 43) | func keys_BOUNDS_test(mc *mockServer) error { function keys_DEL_test (line 65) | func keys_DEL_test(mc *mockServer) error { function keys_DROP_test (line 84) | func keys_DROP_test(mc *mockServer) error { function keys_RENAME_test (line 100) | func keys_RENAME_test(mc *mockServer) error { function keys_RENAMENX_test (line 128) | func keys_RENAMENX_test(mc *mockServer) error { function keys_EXPIRE_test (line 146) | func keys_EXPIRE_test(mc *mockServer) error { function keys_FSET_test (line 168) | func keys_FSET_test(mc *mockServer) error { function keys_FGET_test (line 235) | func keys_FGET_test(mc *mockServer) error { function keys_GET_test (line 254) | func keys_GET_test(mc *mockServer) error { function keys_KEYS_test (line 289) | func keys_KEYS_test(mc *mockServer) error { function keys_PERSIST_test (line 315) | func keys_PERSIST_test(mc *mockServer) error { function keys_SET_test (line 330) | func keys_SET_test(mc *mockServer) error { function keys_STATS_test (line 452) | func keys_STATS_test(mc *mockServer) error { function keys_TTL_test (line 474) | func keys_TTL_test(mc *mockServer) error { function keys_EXISTS_test (line 494) | func keys_EXISTS_test(mc *mockServer) error { function keys_FEXISTS_test (line 505) | func keys_FEXISTS_test(mc *mockServer) error { function keys_SET_EX_test (line 518) | func keys_SET_EX_test(mc *mockServer) (err error) { function keys_FIELDS_test (line 554) | func keys_FIELDS_test(mc *mockServer) error { function keys_PDEL_test (line 664) | func keys_PDEL_test(mc *mockServer) error { function keys_WHEREIN_test (line 692) | func keys_WHEREIN_test(mc *mockServer) error { function keys_WHEREEVAL_test (line 709) | func keys_WHEREEVAL_test(mc *mockServer) error { function keys_TYPE_test (line 721) | func keys_TYPE_test(mc *mockServer) error { function keys_FLUSHDB_test (line 732) | func keys_FLUSHDB_test(mc *mockServer) error { function keys_HEALTHZ_test (line 755) | func keys_HEALTHZ_test(mc *mockServer) error { function keys_SERVER_test (line 763) | func keys_SERVER_test(mc *mockServer) error { function keys_INFO_test (line 810) | func keys_INFO_test(mc *mockServer) error { FILE: tests/metrics_test.go function subTestMetrics (line 10) | func subTestMetrics(g *testGroup) { function downloadURLWithStatusCode (line 14) | func downloadURLWithStatusCode(u string) (int, string, error) { function metrics_basic_test (line 27) | func metrics_basic_test(mc *mockServer) error { FILE: tests/mock_io_test.go type IO (line 15) | type IO struct method JSON (line 29) | func (cmd *IO) JSON() *IO { method Str (line 33) | func (cmd *IO) Str(s string) *IO { method Func (line 37) | func (cmd *IO) Func(fn func(s string) error) *IO { method OK (line 49) | func (cmd *IO) OK() *IO { method Err (line 62) | func (cmd *IO) Err(msg string) *IO { method deepError (line 86) | func (cmd *IO) deepError(index int, err error) error { function Do (line 25) | func Do(args ...any) *IO { function Sleep (line 82) | func Sleep(duration time.Duration) *IO { method doIOTest (line 123) | func (mc *mockServer) doIOTest(index int, cmd *IO) error { FILE: tests/mock_test.go function mockCleanup (line 23) | func mockCleanup(silent bool) { type mockServer (line 38) | type mockServer struct method readAOF (line 48) | func (mc *mockServer) readAOF() ([]byte, error) { method metricsPort (line 52) | func (mc *mockServer) metricsPort() int { method waitForStartup (line 138) | func (s *mockServer) waitForStartup(ferr *atomic.Pointer[error]) error { method Close (line 170) | func (mc *mockServer) Close() { method ResetConn (line 184) | func (mc *mockServer) ResetConn() { method DoPipeline (line 191) | func (s *mockServer) DoPipeline(cmds [][]interface{}) ([]interface{}, ... method Do (line 219) | func (s *mockServer) Do(commandName string, args ...interface{}) (inte... method DoBatch (line 232) | func (mc *mockServer) DoBatch(commands ...interface{}) error { method DoExpect (line 297) | func (mc *mockServer) DoExpect(expect interface{}, commandName string,... type MockServerOptions (line 56) | type MockServerOptions struct function getNextPort (line 65) | func getNextPort() int { function mockOpenServer (line 77) | func mockOpenServer(opts MockServerOptions) (*mockServer, error) { function normalize (line 284) | func normalize(v interface{}) interface{} { FILE: tests/monitor_test.go function subTestMonitor (line 11) | func subTestMonitor(g *testGroup) { function follower_monitor_test (line 15) | func follower_monitor_test(mc *mockServer) error { FILE: tests/proto_test.go function subTestProto (line 8) | func subTestProto(g *testGroup) { function proto_HTTP_CORS_test (line 12) | func proto_HTTP_CORS_test(mc *mockServer) error { FILE: tests/scripts_test.go function subTestScripts (line 8) | func subTestScripts(g *testGroup) { function scripts_BASIC_test (line 16) | func scripts_BASIC_test(mc *mockServer) error { function scripts_ATOMIC_test (line 32) | func scripts_ATOMIC_test(mc *mockServer) error { function scripts_READONLY_test (line 40) | func scripts_READONLY_test(mc *mockServer) error { function scripts_NONATOMIC_test (line 58) | func scripts_NONATOMIC_test(mc *mockServer) error { function scripts_VULN_test (line 66) | func scripts_VULN_test(mc *mockServer) error { FILE: tests/stats_test.go function subTestInfo (line 9) | func subTestInfo(g *testGroup) { function info_valid_json_test (line 13) | func info_valid_json_test(mc *mockServer) error { FILE: tests/testcmd_test.go function subTestTestCmd (line 3) | func subTestTestCmd(g *testGroup) { function testcmd_WITHIN_test (line 11) | func testcmd_WITHIN_test(mc *mockServer) error { function testcmd_INTERSECTS_test (line 124) | func testcmd_INTERSECTS_test(mc *mockServer) error { function testcmd_INTERSECTS_CLIP_test (line 168) | func testcmd_INTERSECTS_CLIP_test(mc *mockServer) error { function testcmd_expressionErrors_test (line 192) | func testcmd_expressionErrors_test(mc *mockServer) error { function testcmd_expression_test (line 218) | func testcmd_expression_test(mc *mockServer) error { FILE: tests/tests_test.go constant clear (line 21) | clear = "\x1b[0m" constant bright (line 22) | bright = "\x1b[1m" constant dim (line 23) | dim = "\x1b[2m" constant black (line 24) | black = "\x1b[30m" constant red (line 25) | red = "\x1b[31m" constant green (line 26) | green = "\x1b[32m" constant yellow (line 27) | yellow = "\x1b[33m" constant blue (line 28) | blue = "\x1b[34m" constant magenta (line 29) | magenta = "\x1b[35m" constant cyan (line 30) | cyan = "\x1b[36m" constant white (line 31) | white = "\x1b[37m" function TestIntegration (line 34) | func TestIntegration(t *testing.T) { function runTestGroups (line 66) | func runTestGroups(t *testing.T) { type testGroup (line 194) | type testGroup struct method regSubTest (line 217) | func (g *testGroup) regSubTest(name string, fn func(mc *mockServer) er... type testGroupSub (line 200) | type testGroupSub struct method run (line 222) | func (s *testGroupSub) run() (err error) { function regTestGroup (line 211) | func regTestGroup(name string, fn func(g *testGroup)) { function BenchmarkAll (line 241) | func BenchmarkAll(b *testing.B) { function loadBenchmarkPoints (line 263) | func loadBenchmarkPoints(b *testing.B, mc *mockServer) (err error) { function runSubBenchmark (line 290) | func runSubBenchmark(b *testing.B, name string, mc *mockServer, bench fu... function runBenchStep (line 296) | func runBenchStep(b *testing.B, mc *mockServer, name string, step func(m... FILE: tests/timeout_test.go function subTestTimeout (line 12) | func subTestTimeout(g *testGroup) { function setup (line 21) | func setup(mc *mockServer, count int, points bool) (err error) { function timeout_spatial_test (line 56) | func timeout_spatial_test(mc *mockServer) error { function timeout_search_test (line 72) | func timeout_search_test(mc *mockServer) (err error) { function timeout_scripts_test (line 84) | func timeout_scripts_test(mc *mockServer) (err error) { function timeout_no_writes_test (line 112) | func timeout_no_writes_test(mc *mockServer) (err error) { function scriptTimeoutErr (line 119) | func scriptTimeoutErr(v interface{}) (resp, expect interface{}) { function timeout_within_scripts_test (line 127) | func timeout_within_scripts_test(mc *mockServer) (err error) { function scriptTimeoutNotSupportedErr (line 151) | func scriptTimeoutNotSupportedErr(v interface{}) (resp, expect interface... function timeout_no_writes_within_scripts_test (line 159) | func timeout_no_writes_within_scripts_test(mc *mockServer) (err error) {