Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Address           string `yaml:"addr,omitempty" json:"addr,omitempty"`
	ReadTimeout       int    `yaml:"read_timeout,omitempty" json:"read_timeout,omitempty"`
	WriteTimeout      int    `yaml:"write_timeout,omitempty" json:"write_timeout,omitempty"`
	IdleTimeout       int    `yaml:"idle_timeout,omitempty" json:"idle_timeout,omitempty"`
	ReadHeaderTimeout int    `yaml:"read_header_timeout,omitempty" json:"read_header_timeout,omitempty"`
}

func (*Server) Start

func (s *Server) Start(router *mux.Router) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL