package
2.0.0+incompatible
Repository: https://github.com/parquery/mailgun-relayery.git
Documentation: pkg.go.dev

# Functions

CompareChannels runs a deep comparison between two proto Channel messages, raising errors upon differences.
DecodeDescriptor decodes an array of bytes to a descriptor.
DecodeTimestamp decodes the array of bytes to a timestamp.
Initialize initializes the database environment in the given directory.
NewEnv creates a new database environment object.
TimestampFromTime converts a time.Time to the corresponding timestamp in nanoseconds.

# Constants

ControlAccess defines the access rights for the Control server.
RelayAccess defines the access rights for the Relay server.

# Structs

Env represents a database of channels.
Txn represents a transaction over the entries of the database.

# Type aliases

Access enumerates different access rights for transactions on the database.
Descriptor is a key at which data is stored in the database.
Timestamp is a timestamp expressed as milliseconds from epoch in UTC.