{"modulePath":"github.com/KimNattanan/go-chat-backend","version":"v0.0.0-20261010095016-bb9a24f6ba74","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package httpserver\n\nPackage httpserver implements HTTP server.\n\n## Types\n\n```go\ntype Option func(*Server)\n```\nOption -.\n\n```go\nfunc Port(port string) Option\n```\nPort -.\n\n```go\nfunc ReadTimeout(timeout time.Duration) Option\n```\nReadTimeout -.\n\n```go\nfunc ShutdownTimeout(timeout time.Duration) Option\n```\nShutdownTimeout -.\n\n```go\nfunc WriteTimeout(timeout time.Duration) Option\n```\nWriteTimeout -.\n\n```go\ntype Server struct {\n\tEcho *echo.Echo\n\tApp  *http.Server\n\t// contains filtered or unexported fields\n}\n```\nServer -.\n\n```go\nfunc New(l logger.Interface, opts ...Option) *Server\n```\nNew -.\n\n```go\nfunc (s *Server) Notify() \u003c-chan error\n```\nNotify -.\n\n```go\nfunc (s *Server) Shutdown() error\n```\nShutdown -.\n\n```go\nfunc (s *Server) Start()\n```\nStart -.\n\n","path":"github.com/KimNattanan/go-chat-backend/pkg/httpserver","name":"httpserver","synopsis":"Package httpserver implements HTTP server.","isRedistributable":true}
