# Packages
Package servicecontext performs context values read/write, generally through server or client wrappers.
Package frontend provides tools to publish static data from within any micro service
It implements a simple Union HttpFS to be exposed by a standard net.HttpFileServer interface.
No description provided by the author
Package service provides protobuf "any" types used by other proto's.
Package resources provides extendable service Handler for managing resource-policy based data.
# Functions
No description provided by the author
AfterInit option for a service.
AfterStart option for a service.
AfterStop option for a service.
ApplyMigrations browse migrations upward on downward and apply them sequentially.
AutoRestart option for a service.
AutoStart option for a service.
BeforeInit option for a service.
BeforeStart option for a service.
BeforeStop option for a service.
Cancel option for a service.
Context option for a service.
Dependency option for a service.
Description option for a service.
FirstRun returns version "zero".
Fork option for a service.
ID option for a service.
JWTHttpWrapper captures and verifies a JWT token if it's present in the headers.
LastKnownVersion looks on this server if there was a previous version of this service.
Latest retrieves current common Cells version.
Micro service option.
Migrations option for a service.
Name option for a service.
NewBackoffClientWrapper wraps a client with a backoff option.
NewChildrenRunner creates a ChildrenRunner.
NewClaimsHandlerWrapper decodes json claims passed via context metadata ( = headers ) and sets Claims as a proper value in the context.
NewConfigHandlerWrapper wraps the service config within the handler so it can be accessed by the handler itself.
NewConfigHTTPHandlerWrapper is the same as ConfigHandlerWrapper but for pure http.
NewDAOClientWrapper wraps a db connection so it can be accessed by subsequent client wrappers.
NewDAOHandlerWrapper wraps a db connection within the handler so it can be accessed by the handler itself.
NewDAOSubscriberWrapper wraps a db connection for each subscriber.
NewGenericServer wraps a micro server out of a simple interface.
NewLogHandlerWrapper wraps a db connection within the handler so it can be accessed by the handler itself.
NewLogHTTPHandlerWrapper wraps a db connection to the HTTP Handler.
NewService provides everything needed to run a service, no matter the type.
No description provided by the author
PluginBoxes option for a service.
PolicyHTTPWrapper applies relevant policy rules and blocks the request if necessary.
Port option for a service.
Regexp option for a service.
RegisterSwaggerJSON receives a json string and adds it to the swagger definition.
RestError401 logs the error with context and write an Error 401 on the response.
RestError403 logs the error with context and write an Error 403 on the response.
RestError404 logs the error with context and writes an Error 404 on the response.
RestError423 logs the error with context and write an Error 423 on the response.
RestError500 logs the error with context and write an Error 500 on the response.
RestError503 logs the error with context and write an Error 503 on the response.
RestErrorDetect parses the error and tries to detect the correct code.
Retry function.
RouterDependencies option for a service.
Source option for a service.
SwaggerSpec returns the swagger specification as a document.
Tag option for a service.
Unique option for a service.
UpdateServiceVersion applies migration(s) if necessary and stores new current version for future use.
UpdateVersion writes the version string to file.
ValidVersion creates a version.NewVersion ignoring the error.
Version option for a service.
Watch option for a service.
WatchPath option for a service.
WithGeneric runs a micro server.
WithHTTP adds a http micro service handler to the current service.
WithMicro adds a micro service handler to the current service.
WithMicroChildrenRunner option to define a micro server that runs children services.
WithStorage adds a storage handler to the current service.
WithTLSConfig option for a service.
WithWeb returns a web handler.
WithWebAuth adds auth wrappers to auth handlers.
WithWebHandler option for a service.
WithWebSession option for a service.
# Variables
No description provided by the author
HTTPMetaJwtClientApp constant.
HTTPMetaJwtIssuer constant.
# Structs
ChildrenRunner For Regexp based service.
Cmd definition to pass as default for a micro server.
Migration defines a target version and functions to upgrade and/or downgrade.
ProtoEntityReaderWriter can read and write values using an encoding such as JSON,XML.
ServiceOptions stores all options for a pydio service.
StatusHandler provides functionality for getting the status of a service.
StopFunctionKey definition.
StopHandler provides functionality for stopping a service.
# Interfaces
Addressable service definition.
NonAddressable service definition.
Runnable service definition.
Service definition.
Starter service definition.
Stopper service definiion.
WebHandler defines what functions a web handler must answer to.
# Type aliases
HandlerProvider returns a handler function from a micro service.
RestHandlerBuilder builds a RestHandler.
RunnableFunc provides ability to use a function as a run service.
ServiceOption function to set ServiceOptions.
StopperFunc allows to use a function as a stopper service.