Versions in this module Expand all Collapse all v1 v1.8.2 Apr 28, 2024 Changes in this version + type Config struct + DialTimeout time.Duration + EnableAccessLog bool + Host string + Port uint16 + ReadTimeout time.Duration + TemplatesBasePath string + WriteTimeout time.Duration + type HTTP struct + func NewService(cfg *Config, apis api.Server) (*HTTP, error) + func (h *HTTP) Shutdown(ctx context.Context) error + func (h *HTTP) Start() error + type Handlers struct + func (h *Handlers) CreateUser(w http.ResponseWriter, r *http.Request) error + func (h *Handlers) CreateUserNote(w http.ResponseWriter, r *http.Request) error + func (h *Handlers) Health(w http.ResponseWriter, r *http.Request) error + func (h *Handlers) HelloWorld(w http.ResponseWriter, r *http.Request) error + func (h *Handlers) ReadUserByEmail(w http.ResponseWriter, r *http.Request) error