Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHuie/httpq
/ functions
Functions
603 in github.com/DavidHuie/httpq
⨍
Functions
603
◇
Types & classes
68
↓ 4 callers
Function
publish
(channel, value interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub_test.go:29
↓ 4 callers
Method
release
release moves all page ids for a transaction id (or older) to the freelist.
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:129
↓ 4 callers
Method
release
release decrements the active count and signals waiters. The caller must hold p.mu during the call.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:184
↓ 4 callers
Method
split
split breaks up a node into multiple smaller nodes, if appropriate. This should only be called from the spill() function.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:236
↓ 4 callers
Function
startGoroutines
(p *redis.Pool, cmd string, args ...interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool_test.go:413
↓ 4 callers
Method
writeBytes
(p []byte)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:171
↓ 3 callers
Method
Bucket
Bucket retrieves a nested bucket by name. Returns nil if the bucket does not exist.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:102
↓ 3 callers
Method
Copy
Copy writes the entire database to a writer. A reader transaction is maintained during the copy so it is safe to continue using the database while a c
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:258
↓ 3 callers
Method
ID
ID returns the transaction id.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:56
↓ 3 callers
Method
PSubscribe
PSubscribe subscribes the connection to the given patterns.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub.go:74
↓ 3 callers
Method
Subscribe
Subscribe subscribes the connection to the specified channels.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub.go:68
↓ 3 callers
Method
childAt
childAt returns the child node at a given index.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:73
↓ 3 callers
Method
childIndex
childIndex returns the index of a given child node.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:81
↓ 3 callers
Function
ensureLen
(d reflect.Value, n int)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:26
↓ 3 callers
Function
fdatasync
fdatasync flushes written data to a file descriptor.
Godeps/_workspace/src/github.com/boltdb/bolt/bolt_linux.go:10
↓ 3 callers
Function
getMetadata
(b *bolt.Bucket)
queue/boltqueue/boltqueue.go:33
↓ 3 callers
Method
page
page retrieves a page reference from the mmap based on the current page size.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:536
↓ 3 callers
Method
print
(method, commandName string, args []interface{}, reply interface{}, err error)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/log.go:82
↓ 3 callers
Method
readReply
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:300
↓ 3 callers
Method
search
search recursively performs a binary search against a given page/node until it finds a given key.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:230
↓ 3 callers
Function
structSpecForType
(t reflect.Type)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:302
↓ 3 callers
Function
truncDuration
(d time.Duration)
Godeps/_workspace/src/github.com/boltdb/bolt/db_test.go:739
↓ 3 callers
Method
validate
validate checks the marker bytes and version of the meta page to ensure it matches this binary.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:649
↓ 3 callers
Method
value
value returns a byte slice of the node value.
Godeps/_workspace/src/github.com/boltdb/bolt/page.go:117
↓ 3 callers
Method
write
write writes any dirty pages to disk.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:408
↓ 3 callers
Method
writeLen
(prefix byte, n int)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:147
↓ 2 callers
Method
CopyTempFile
CopyTempFile copies a database to a temporary file.
Godeps/_workspace/src/github.com/boltdb/bolt/db_test.go:686
↓ 2 callers
Method
Error
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/redis.go:20
↓ 2 callers
Method
Get
Get retrieves the value at a key path.
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:207
↓ 2 callers
Method
Info
This is for internal access to the raw data bytes from the C cursor, use carefully, or not at all.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:531
↓ 2 callers
Function
NewApp
NewApp creates an Application instance.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/main.go:22
↓ 2 callers
Method
PUnsubscribe
PUnsubscribe unsubscribes the connection from the given patterns, or from all of them if none is given.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub.go:88
↓ 2 callers
Method
PopRequestBytes
()
httpq.go:37
↓ 2 callers
Method
Put
Put inserts a value into a key path.
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:233
↓ 2 callers
Method
ReadOpDuration
Returns the duration for a single read operation.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:399
↓ 2 callers
Method
Sub
Sub calculates and returns the difference between two sets of database stats. This is useful when obtaining stats at two different points and time and
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:613
↓ 2 callers
Method
Writable
Writable returns whether the transaction can perform write operations.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:71
↓ 2 callers
Method
WriteOpDuration
Returns the duration for a single write operation.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:382
↓ 2 callers
Method
all
all returns a list of all free ids and all pending ids in one sorted list.
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:50
↓ 2 callers
Method
allocate
allocate returns a contiguous block of memory starting at a given page.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:391
↓ 2 callers
Function
benchStartProfiling
Starts all profiles set on the options.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:279
↓ 2 callers
Function
benchStopProfiling
Stops all profiles.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:311
↓ 2 callers
Function
benchWriteNestedWithSource
(db *bolt.DB, options *BenchOptions, results *BenchResults, keySource func() uint32)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:162
↓ 2 callers
Function
benchWriteWithSource
(db *bolt.DB, options *BenchOptions, results *BenchResults, keySource func() uint32)
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:136
↓ 2 callers
Function
cloneBytes
cloneBytes returns a copy of a given slice.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:738
↓ 2 callers
Method
close
()
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:227
↓ 2 callers
Function
convertAssignBytes
(d reflect.Value, s []byte)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:39
↓ 2 callers
Function
convertAssignInt
(d reflect.Value, s int64)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:71
↓ 2 callers
Method
copy
copy copies one meta object to another.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:661
↓ 2 callers
Method
empty
()
queue/boltqueue/boltqueue.go:23
↓ 2 callers
Method
first
first moves the cursor to the first leaf element under the last page in the stack.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:158
↓ 2 callers
Function
flattenStruct
(args Args, v reflect.Value)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:506
↓ 2 callers
Method
free
free recursively frees all pages in the bucket.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:641
↓ 2 callers
Method
free_count
free_count returns count of free pages
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:36
↓ 2 callers
Method
init
init initializes the transaction.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:35
↓ 2 callers
Method
last
last moves the cursor to the last leaf element under the last page in the stack.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:179
↓ 2 callers
Method
minKeys
minKeys returns the minimum number of inodes this node should have.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:32
↓ 2 callers
Method
mmap
mmap opens the underlying memory-mapped file and initializes the meta references. minsz is the minimum size that the new mmap can be.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:158
↓ 2 callers
Method
munmap
munmap unmaps the data file from memory.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:210
↓ 2 callers
Function
newBucket
newBucket returns a new bucket associated with a transaction.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:62
↓ 2 callers
Method
next
next moves to the next leaf element and returns the key and value. If the cursor is at the last leaf element then it stays there and returns nil.
Godeps/_workspace/src/github.com/boltdb/bolt/cursor.go:204
↓ 2 callers
Method
openBucket
Helper method that re-interprets a sub-bucket value from a parent into a Bucket
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:129
↓ 2 callers
Function
parseLen
parseLen parses bulk string and array lengths.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:243
↓ 2 callers
Method
pending_count
pending_count returns count of pending pages
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:41
↓ 2 callers
Method
printValue
(buf *bytes.Buffer, v interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/log.go:45
↓ 2 callers
Function
randByteSlice
(rand *rand.Rand, minSize, maxSize int)
Godeps/_workspace/src/github.com/boltdb/bolt/quick_test.go:72
↓ 2 callers
Method
readLine
()
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:227
↓ 2 callers
Method
reindex
reindex rebuilds the free cache based on available and pending free lists.
Godeps/_workspace/src/github.com/boltdb/bolt/freelist.go:231
↓ 2 callers
Method
root
root returns the top-level node this node is attached to.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:24
↓ 2 callers
Method
sum64
generates the checksum for the meta.
Godeps/_workspace/src/github.com/boltdb/bolt/db.go:684
↓ 2 callers
Function
trunc
(b []byte, length int)
Godeps/_workspace/src/github.com/boltdb/bolt/db_test.go:732
↓ 2 callers
Method
write
write writes the items onto one or more pages.
Godeps/_workspace/src/github.com/boltdb/bolt/node.go:191
↓ 2 callers
Method
write
write allocates and writes a bucket to a byte slice.
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:581
↓ 2 callers
Method
writeCommand
(cmd string, args []interface{})
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:186
↓ 2 callers
Method
writeInt64
(n int64)
Godeps/_workspace/src/github.com/garyburd/redigo/redis/conn.go:178
↓ 1 callers
Method
ActiveCount
ActiveCount returns the number of active connections in the pool.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pool.go:158
↓ 1 callers
Function
Bench
Bench executes a customizable, synthetic benchmark against Bolt.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:24
↓ 1 callers
Function
Buckets
Buckets prints a list of all buckets.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/buckets.go:10
↓ 1 callers
Function
Check
Check performs a consistency check on the database and prints any errors found.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/check.go:10
↓ 1 callers
Method
Copy
Copy copies the entire database.
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:282
↓ 1 callers
Method
CreateBucket
CreateBucket creates a new bucket at the given key and returns the new bucket. Returns an error if the key already exists, if the bucket name is blank
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:151
↓ 1 callers
Method
DB
DB returns a reference to the database that created the transaction.
Godeps/_workspace/src/github.com/boltdb/bolt/tx.go:61
↓ 1 callers
Method
Do
Do evaluates the script. Under the covers, Do optimistically evaluates the script using the EVALSHA command. If the command fails because the script i
Godeps/_workspace/src/github.com/garyburd/redigo/redis/script.go:62
↓ 1 callers
Method
ForEach
ForEach executes a function for each key/value pair in a bucket. If the provided function returns an error then the iteration is stopped and the error
Godeps/_workspace/src/github.com/boltdb/bolt/bucket.go:349
↓ 1 callers
Function
Get
Get retrieves the value for a given bucket/key.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/get.go:10
↓ 1 callers
Function
Info
Info prints basic information about a database.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/info.go:10
↓ 1 callers
Function
Keys
Keys retrieves a list of keys for a given bucket.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/keys.go:10
↓ 1 callers
Method
Load
Load loads the script without evaluating it.
Godeps/_workspace/src/github.com/garyburd/redigo/redis/script.go:83
↓ 1 callers
Function
LogBuffer
LogBuffer returns the contents of the log. This only works while the CLI is in test mode.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/main.go:180
↓ 1 callers
Function
NewQuickDB
NewQuickDB returns an instance of QuickDB.
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:202
↓ 1 callers
Function
NewRedisConnManager
(url string)
cmd/httpq/redis.go:9
↓ 1 callers
Function
Pages
Pages prints a list of all pages in a database.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/pages.go:11
↓ 1 callers
Method
Pop
()
queue.go:5
↓ 1 callers
Method
PrintStats
PrintStats prints the database stats
Godeps/_workspace/src/github.com/boltdb/bolt/db_test.go:637
↓ 1 callers
Method
Push
([]byte)
queue.go:4
↓ 1 callers
Method
PushRequest
(r *http.Request)
httpq.go:20
↓ 1 callers
Method
Rand
Rand returns a random key path that points to a simple value.
Godeps/_workspace/src/github.com/boltdb/bolt/simulation_test.go:255
↓ 1 callers
Method
ReadOpsPerSecond
Returns average number of read operations that can be performed per second.
Godeps/_workspace/src/github.com/boltdb/bolt/cmd/bolt/bench.go:407
↓ 1 callers
Method
Receive
Receive returns a pushed message as a Subscription, Message, PMessage or error. The return value is intended to be used directly in a type switch as i
Godeps/_workspace/src/github.com/garyburd/redigo/redis/pubsub.go:96
↓ 1 callers
Function
ScanSlice
ScanSlice scans src to the slice pointed to by dest. The elements the dest slice must be integer, float, boolean, string, struct or pointer to struct
Godeps/_workspace/src/github.com/garyburd/redigo/redis/scan.go:386
← previous
next →
101–200 of 603, ranked by callers