package
0.4.0
Repository: https://github.com/jordisubira/scion.git
Documentation: pkg.go.dev

# Packages

Package mock_pathdb is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

HashPolicy creates a sha256 hash of the json serialized policy, note that this relies on the fact that JSON serialization for Go is predictable, i.e.
NewCleaner creates a cleaner task that deletes expired segments.
WithMetrics wraps the given PathDB into one that also exports metrics.

# Variables

NoPolicy should be used instead of nil when inserting policy hashes into fields which can't be null in the DB.

# Structs

InsertStats provides statistics about an insertion.

# Interfaces

NextQueryDeleter contains functions to delete NextQuery entries.
PathDB defines the interface that all PathDB backends have to implement.
Read defines all read operations of the path DB.
ReadWrite defines all read an write operations of the path DB.
No description provided by the author
Write defines all write operations of the path DB.

# Type aliases

PolicyHash is the hash of a policy.