{"modulePath":"github.com/daemtri/di","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpservice\n\n## Types\n\n```go\ntype HttpService struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (h *HttpService) Run() error\n```\n\n```go\ntype HttpServiceOptions struct {\n\tAddr string `flag:\"addr\" default:\":8080\" usage:\"http service listen address\"`\n\n\tRedis *clients.RedisClient `inject:\"must\"`\n}\n```\n\n```go\nfunc (hso *HttpServiceOptions) Build(ctx context.Context) (*HttpService, error)\n```\n\n","path":"github.com/daemtri/di/example/di_example/httpservice","name":"httpservice","synopsis":"","isRedistributable":true}
