package
0.0.0-20231206152619-a1ea81f397f7
Repository: https://github.com/willie68/goblobstore.git
Documentation: pkg.go.dev
# Functions
MetricsHandler creates a new directly usable handler.
RoleCheck implements a simple middleware handler for adding basic http auth to a route.
SysAPIHandler creates a new directly usable handler.
TenantCheck implements a simple middleware handler for adding basic http auth to a route.
TraceEnhancer is a middleware that will set the http method and url as operation-name of the top level span.
# Constants
APIKeyHeaderKey in this header the right api key should be inserted.
BlobIDHeaderKey is the header for defining a blob id.
FilenameKey key for the headermapping for the file name.
HeaderPrefixKey all headers with this prefix will be saved, too.
MetricsEndpoint endpoint subpath for metrics.
RetentionHeaderKey is the header for defining a retention time.
definition of default roles.
definition of default roles.
definition of default roles.
definition of default roles.
definition of default roles.
TenantHeaderKey in this header the right tenant should be inserted.
URLParamTenantID url parameter for the tenant id.
# Variables
RoleCheckerImpl the default implementation of the role checker.
TntCheckerImpl default implementation of tenant checker.
# Structs
MetricsConfig defining a handler for checking system id and api key.
SysAPIConfig defining a handler for checking system id and api key.
# Interfaces
Handler a http REST interface handler.
RoleChecker interface for checking roles.
TenantChecker interface for checking a tenant.
# Type aliases
Role define a role.