metadata

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetadataMMDB

func MetadataMMDB(cfg CmdMetadataConfig) ([]byte, error)

Types

type CmdMetadataConfig

type CmdMetadataConfig struct {
	InputFile string
}

type DatabaseMetadata

type DatabaseMetadata struct {
	Description              map[string]string `json:"description"`
	DatabaseType             string            `json:"database_type"`
	Languages                []string          `json:"languages"`
	BinaryFormatMajorVersion uint              `json:"binary_format_major_version"`
	BinaryFormatMinorVersion uint              `json:"binary_format_minor_version"`
	BuildEpoch               uint              `json:"build_epoch"`
	IPVersion                uint              `json:"ip_version"`
	NodeCount                uint              `json:"node_count"`
	RecordSize               uint              `json:"record_size"`
}

Jump to

Keyboard shortcuts

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