MCPcopy Create free account

hub / github.com/maxmind/mmdbwriter / types & classes

Types & classes38 in github.com/maxmind/mmdbwriter

↓ 104 callersTypeAliasString
String is the MaxMind DB string type.
mmdbtype/types.go:613
↓ 35 callersTypeAliasUint64
Uint64 is the MaxMind DB unsigned 64-bit integer type.
mmdbtype/types.go:760
↓ 24 callersTypeAliasInt32
Int32 is the MaxMind DB signed 32-bit integer type.
mmdbtype/types.go:247
↓ 23 callersTypeAliasUint32
Uint32 is the MaxMind DB unsigned 32-bit integer type.
mmdbtype/types.go:710
↓ 22 callersTypeAliasUint16
Uint16 is the MaxMind DB unsigned 16-bit integer type.
mmdbtype/types.go:660
↓ 19 callersTypeAliasFloat32
Float32 is the MaxMind DB float type.
mmdbtype/types.go:155
↓ 17 callersTypeAliasBool
Bool is the MaxMind DB boolean type.
mmdbtype/types.go:57
↓ 14 callersTypeAliasFloat64
Float64 is the MaxMind DB double type.
mmdbtype/types.go:201
↓ 14 callersTypeAliasPointer
Pointer is the MaxMind DB pointer type for internal use in the writer. You should not use this type in data structures that you pass to methods on mmd
mmdbtype/types.go:408
↓ 9 callersTypeAliasBytes
Bytes is the MaxMind DB bytes type.
mmdbtype/types.go:97
↓ 4 callersTypeAliasdataMapKey
data_map.go:5
↓ 3 callersTypeAliasUint128
Uint128 is the MaxMind DB unsigned 128-bit integer type.
mmdbtype/types.go:811
↓ 1 callersTypeAliasMap
Map is the MaxMind DB map type. nolint:recvcheck // preexisting/interface
mmdbtype/types.go:300
↓ 1 callersTypeAliasSlice
Slice is the MaxMind DB array type. nolint:recvcheck // preexisting/interface
mmdbtype/types.go:523
StructAliasedNetworkError
AliasedNetworkError is returned when inserting a aliased network into a Tree where DisableIPv4Aliasing in Options is false.
errors.go:13
InterfaceDataType
DataType represents a MaxMind DB data type.
mmdbtype/types.go:48
FuncTypeFunc
Func is a function that returns the data type to be inserted into an mmdbwriter.Tree using some conflict resolution strategy.
inserter/inserter.go:14
FuncTypeFuncGenerator
FuncGenerator is a function that generates an Func given a value.
inserter/inserter.go:18
InterfaceKeyGenerator
KeyGenerator generates a unique key for record values being inserted into the Tree. This is used for deduplicating the values in memory. The default K
data_key.go:24
StructOptions
Options holds configuration parameters for the writer.
tree.go:27
StructReservedNetworkError
ReservedNetworkError is returned when inserting a reserved network into a Tree where IncludeReservedNetworks in Options is false.
errors.go:70
StructTree
Tree represents an MaxMind DB search tree.
tree.go:97
StructUnmarshaler
Unmarshaler implements the mmdbdata.Unmarshaler interface for converting MMDB data back into mmdbtype.DataType values. This is used when loading exist
mmdbtype/unmarshaler.go:19
StructdataMap
dataMap is used to deduplicate data inserted into the tree to reduce memory usage using keys generated by keyWriter.
data_map.go:21
StructdataMapValue
Please note, if you change the order of these fields, please check alignment as we end up storing quite a few in memory.
data_map.go:9
StructdataWriter
data_section.go:16
StructdataWriter
mmdbtype/types_test.go:467
StructinsertRecord
node.go:33
StructkeyWriter
keyWriter is similar to dataWriter but it will never use pointers. This will produce a unique key for the type.
data_key.go:32
Structnode
each node contains two records.
node.go:28
Structrecord
node.go:21
TypeAliasrecordType
node.go:10
StructtestGet
tree_test.go:37
StructtestInsert
tree_test.go:22
StructtestInsertError
tree_test.go:29
TypeAliastypeNum
mmdbtype/types.go:17
Interfacewriter
mmdbtype/types.go:40
StructwrittenType
data_section.go:11