{"modulePath":"github.com/opencloud-eu/opencloud","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debug\n\n## Functions\n\n```go\nfunc Server(opts ...Option) (*http.Server, error)\n```\nServer initializes the debug service and server.\n\n## Types\n\n```go\ntype Option func(o *Options)\n```\nOption defines a single option function.\n\n```go\nfunc Config(val *config.Config) Option\n```\nConfig provides a function to set the config option.\n\n```go\nfunc Context(val context.Context) Option\n```\nContext provides a function to set the context option.\n\n```go\nfunc Logger(val log.Logger) Option\n```\nLogger provides a function to set the logger option.\n\n```go\ntype Options struct {\n\tName    string\n\tAddress string\n\tLogger  log.Logger\n\tContext context.Context\n\tConfig  *config.Config\n}\n```\nOptions defines the available options for this package.\n\n","path":"github.com/opencloud-eu/opencloud/services/thumbnails/pkg/server/debug","name":"debug","synopsis":"","isRedistributable":true}
