# Packages
Package servicecontext performs context values read/write, generally through server or client wrappers.
No description provided by the author
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 resources provides extendable service Handler for managing resource-policy based data.
# Functions
AfterServe registers a callback that is run after Server is finally started (non-blocking).
AutoRestart option for a service.
AutoStart option for a service.
Context option for a service.
Description option for a service.
FirstRun returns version "zero".
ForceRegister option for a service.
Fork option for a service.
ID option for a service.
Latest retrieves current common Cells version.
Metadata registers a key/value metadata.
Migrations option for a service.
Name option for a service.
NewChildrenRunner creates a ChildrenRunner.
NewService creates a service and directly register it as StatusStopped.
PluginBoxes 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.
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.
ValidVersion creates a version.NewVersion ignoring the error.
WithChildrenRunner option to define a micro server that runs children services.
WithGeneric adds a http micro service handler to the current service.
WithGenericStop adds a http micro service handler to the current service.
WithGRPC adds a GRPC service handler to the current service.
WithGRPCStop hooks to the grpc server stop.
WithHTTP adds a http micro service handler to the current service.
No description provided by the author
WithIndexer adds an indexer handler to the current service.
WithPureHTTP adds a http micro service handler to the current service.
WithServer directly presets the server.Server instance.
No description provided by the author
WithStorage adds a storage handler to the current service.
WithStorageDefaultDriver provides a default driver/dsn couple if not set in the configuration.
WithStorageMigrator provides a Migrate function from one DAO to another.
WithStoragePrefix sets a prefix to be used differently depending on driver name.
WithStorageSupport declares wich drivers can be supported by this service.
WithTLSConfig option for a service.
WithWeb returns a web handler.
No description provided by the author
WithWebStop registers an optional callback to perform clean operations on stop WithWeb already registers a serverStop callback to remove rest patterns.
# Structs
ChildrenRunner For Regexp based service.
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.
No description provided by the author
# Interfaces
No description provided by the author
WebHandler defines what functions a web handler must answer to.
# Type aliases
ServiceOption provides a functional option.
No description provided by the author
No description provided by the author