Documentation ¶
Index ¶
- type Config
- type LetsEncryptConfig
- type Route
- type Server
- func (s *Server) ListenAndServe(ctx context.Context, httpAddress string) error
- func (s *Server) ListenAndServeTLS(ctx context.Context, httpAddress, httpsAddress string) error
- func (s *Server) Serve(ctx context.Context, httpListener net.Listener) error
- func (s *Server) ServeTLS(ctx context.Context, httpListener, httpsListener net.Listener) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LetsEncryptConfig ¶
type Server ¶
type Server struct { LetsEncrypt LetsEncryptConfig Routes []Route Config }
func (*Server) ListenAndServe ¶
func (*Server) ListenAndServeTLS ¶
Click to show internal directories.
Click to hide internal directories.