{"modulePath":"github.com/tiny-sky/Tdtm","version":"v0.0.0-20241007084427-535fc818abef","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpsrv\n\n## Types\n\n```go\ntype Handler func(ctx context.Context) (http.Handler, error)\n```\n\n```go\ntype Http struct {\n\tListenOn string `yaml:\"listenOn\"`\n}\n```\n\n```go\ntype HttpSrv struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(conf Http, fn Handler) *HttpSrv\n```\n\n```go\nfunc (srv *HttpSrv) Endpoint() *url.URL\n```\n\n```go\nfunc (srv *HttpSrv) Run(ctx context.Context) error\n```\n\n```go\nfunc (srv *HttpSrv) Stop(ctx context.Context) (err error)\n```\n\n","path":"github.com/tiny-sky/Tdtm/core/server/httpsrv","name":"httpsrv","synopsis":"","isRedistributable":true}
