Categorygithub.com/goshield/interfaces
modulepackage
1.2.2
Repository: https://github.com/goshield/interfaces.git
Documentation: pkg.go.dev

# Interfaces

Bag manages key-value pairs.
BoolGetter is an interface to get bool value.
Cipherable is an interface which allows to encypt and decrypt data.
Decryptable is an interface which is used to decrypt data.
DefaultGetter is an interface which allows to set default value if there is not value for a particular key.
Encryptable is an interface which is used to encrypt data.
FloatGetter is an interface to get float64 value.
Getter is a simple interface which allow to retrieve value by key.
IntGetter is an interface to get int64 value.
Migrator allows to migrate data.
Response is a HTTP response.
StringGetter is an interface to get string value.
UIntGetter is an interface to get uint64 value.

# Type aliases

ErrorHandler is a special handler which is used to handle error.
Middleware is a function which handle request and response It would return context object and error if any.