MCPcopy Create free account

hub / github.com/siddontang/go / types & classes

Types & classes121 in github.com/siddontang/go

↓ 6 callersTypeAliasObjectId
ObjectId is a unique ID identifying a BSON value. It must be exactly 12 bytes long. MongoDB objects by default have such a property set in their "_id"
bson/bson.go:166
↓ 3 callersTypeAliasexternalPanic
bson/bson.go:554
↓ 2 callersTypeAliasMongoTimestamp
MongoTimestamp is a special internal type used by MongoDB that for some strange reason has its own datatype defined in BSON.
bson/bson.go:336
↓ 2 callersTypeAliasSymbol
The Symbol type is similar to a string and is used in languages with a distinct symbol type.
bson/bson.go:323
↓ 2 callersTypeAliasorderKey
bson/bson.go:338
StructArena
arena/arena.go:3
TypeAliasAtomicBool
sync2/atomic.go:134
TypeAliasAtomicDuration
sync2/atomic.go:85
TypeAliasAtomicInt32
sync2/atomic.go:13
TypeAliasAtomicInt64
sync2/atomic.go:49
StructAtomicString
AtomicString gives you atomic-style APIs for string, but it's only a convenience wrapper that uses a mutex. So, it's not as efficient as the rest of t
sync2/atomic.go:106
TypeAliasAtomicUint32
sync2/atomic.go:31
TypeAliasAtomicUint64
sync2/atomic.go:67
StructBenchT
-------------------------------------------------------------------------- Some simple benchmarks.
bson/bson_test.go:1440
StructBinary
Binary is a representation for non-standard binary values. Any kind should work, but the following are known as of this writing: 0x00 - Generic. Thi
bson/bson.go:363
StructCacheValue
cache/lru_cache_test.go:13
StructChunkedWriter
ChunkedWriter has the same interface as bytes.Buffer's write functions. It additionally provides a Reserve function that returns a []byte that the cal
bytes2/chunked_writer.go:21
StructClient
rpc/client.go:10
StructConfig
config/config.go:21
StructConn
websocket/conn.go:32
TypeAliasD
D represents a BSON document containing ordered elements. For example: bson.D{{"a", 1}, {"b", true}} In some situations, such as when creating index
bson/bson.go:118
StructDocElem
See the D type.
bson/bson.go:121
StructElement
list2/list.go:5
StructFileHandler
FileHandler writes log to a file.
log/filehandler.go:11
InterfaceGetter
-------------------------------------------------------------------------- The public API. A value implementing the bson.Getter interface will have it
bson/bson.go:61
InterfaceHandler
Handler writes logs to somewhere
log/handler.go:8
StructItem
Item is what is stored in the cache
cache/lru_cache.go:46
StructJavaScript
JavaScript is a type that holds JavaScript code. If Scope is non-nil, it will be marshaled as a mapping from identifiers to values that may be used wh
bson/bson.go:384
StructLRUCache
LRUCache is a typical LRU cache implementation. If the cache reaches the capacity, the least recently used item is deleted from the cache. Note the c
cache/lru_cache.go:24
StructList
static linked list based array
list2/list.go:33
StructLogger
log/log.go:46
TypeAliasM
M is a convenient alias for a map[string]interface{} map, useful for dealing with BSON in a native way. For instance: bson.M{"a": 1, "b": true} The
bson/bson.go:109
TypeAliasMyBool
bson/bson_test.go:1030
TypeAliasMyBytes
bson/bson_test.go:1029
TypeAliasMyD
bson/bson_test.go:1031
TypeAliasMyM
bson/bson_test.go:1033
TypeAliasMyRawD
bson/bson_test.go:1032
TypeAliasMyString
bson/bson_test.go:1028
TypeAliasMyValue
cache/perf_test.go:11
StructNullHandler
NullHandler does nothing, it discards anything.
log/handler.go:35
StructRaw
The Raw type represents raw unprocessed BSON documents and elements. Kind is the kind of element as defined per the BSON specification, and Data is th
bson/bson.go:144
TypeAliasRawD
RawD represents a BSON document containing raw unprocessed elements. This low-level representation may be useful when lazily processing documents of u
bson/bson.go:153
StructRawDocElem
See the RawD type.
bson/bson.go:156
StructRegEx
RegEx represents a regular expression. The Options field may contain individual characters defining the way in which the pattern should be applied, a
bson/bson.go:376
StructRing
ring/ring.go:12
StructRotatingFileHandler
RotatingFileHandler writes log a file, if file size exceeds maxBytes, it will backup current file and open a new one. max backup file number is set b
log/filehandler.go:43
StructRpcError
rpc/codec.go:9
StructS
bson/bson_test.go:47
StructSectionWriter
ioutil2/sectionwriter.go:14
StructSemaphore
sync2/semaphore.go:17
StructServer
rpc/server.go:10
InterfaceSetter
A value implementing the bson.Setter interface will receive the BSON value via the SetBSON method during unmarshaling, and the object itself will not
bson/bson.go:92
StructSocketHandler
SocketHandler writes log to a connectionl. Network protocol is simple: log length + log | log length + log. log length is uint32, bigendian. you must
log/sockethandler.go:12
InterfaceStackError
This package exposes some handy traceback functionality buried in the runtime. It can also be used to provide context to errors reducing the temptati
tb/error.go:29
StructStreamHandler
StreamHandler writes logs to a specified io Writer, maybe stdout, stderr, etc...
log/handler.go:14
StructT
bson/bson_test.go:217
StructTicker
time2/ticker.go:7
StructTimeRotatingFileHandler
TimeRotatingFileHandler writes log to a file, it will backup current and open a new one, with a period time you sepecified. refer: http://docs.python
log/filehandler.go:141
StructTimer
time2/sleep.go:7
StructTimingWheel
timingwheel/timingwheel.go:8
StructTypeError
bson/bson.go:524
InterfaceValue
Value is the interface values that go into LRUCache need to satisfy
cache/lru_cache.go:40
StructWheel
time2/wheel.go:35
TypeAliasatomicInt32
log/log.go:36
StructcondBool
bson/bson_test.go:947
StructcondFloat
bson/bson_test.go:956
StructcondIface
bson/bson_test.go:959
StructcondInt
bson/bson_test.go:950
StructcondMap
bson/bson_test.go:968
StructcondPtr
bson/bson_test.go:962
StructcondSlice
bson/bson_test.go:965
StructcondStr
bson/bson_test.go:941
StructcondStrNS
bson/bson_test.go:944
StructcondStruct
bson/bson_test.go:977
StructcondTime
bson/bson_test.go:974
StructcondUInt
bson/bson_test.go:953
Structconn
rpc/conn.go:10
StructcrossTypeItem
-------------------------------------------------------------------------- Cross-type conversion tests.
bson/bson_test.go:936
StructdOnIface
-------------------------------------------------------------------------- One-way marshaling tests.
bson/bson_test.go:450
Structdecoder
bson/decode.go:40
StructdocWithGetterField
bson/bson_test.go:863
Structencoder
-------------------------------------------------------------------------- Marshaling of the document value itself.
bson/encode.go:79
Structentry
cache/lru_cache.go:51
StructfieldInfo
bson/bson.go:543
StructignoreField
bson/bson_test.go:454
StructinlineBadKeyMap
bson/bson_test.go:1023
StructinlineCantPtr
bson/bson_test.go:1000
StructinlineDupMap
bson/bson_test.go:1019
StructinlineDupName
bson/bson_test.go:1003
StructinlineInt
bson/bson_test.go:997
StructinlineMap
bson/bson_test.go:1007
StructinlineMapInt
bson/bson_test.go:1011
StructinlineMapMyM
bson/bson_test.go:1015
TypeAliasintGetter
bson/bson_test.go:903
StructjsonType
-------------------------------------------------------------------------- ObjectId JSON marshalling.
bson/bson_test.go:1409
StructlockCloser
lockCloser hides all of an syscall.Handle's methods, except for Close.
filelock/file_lock_windows.go:13
StructlockCloser
lockCloser hides all of an os.File's methods, except for Close.
filelock/file_lock_unix.go:16
StructlockCloser
lockCloser hides all of an os.File's methods, except for Close.
filelock/file_lock_solaris.go:16
StructnamedCondStr
bson/bson_test.go:971
StructobjectIdParts
-------------------------------------------------------------------------- ObjectId parts extraction tests.
bson/bson_test.go:1315
next →1–100 of 121, ranked by callers