forked from TrueCloudLab/certificates
ServetTLS => ServeTLS in function docs
This commit is contained in:
parent
e07a78c64b
commit
d0c7ccd0db
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ func (srv *Server) ListenAndServe() error {
|
||||||
return srv.Serve(ln)
|
return srv.Serve(ln)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Serve runs Serve or ServetTLS on the underlying http.Server and listen to
|
// Serve runs Serve or ServeTLS on the underlying http.Server and listen to
|
||||||
// channels to reload or shutdown the server.
|
// channels to reload or shutdown the server.
|
||||||
func (srv *Server) Serve(ln net.Listener) error {
|
func (srv *Server) Serve(ln net.Listener) error {
|
||||||
var err error
|
var err error
|
||||||
|
|
Loading…
Reference in a new issue