rename handler -> server
This commit is contained in:
parent
66fdbef90b
commit
e53265472f
3 changed files with 15 additions and 14 deletions
|
|
@ -90,7 +90,7 @@ func main() {
|
|||
log.Fatal("Failed to initialise database: ", err)
|
||||
}
|
||||
|
||||
srv := server.New(store, addr)
|
||||
srv := server.NewServer(store, addr)
|
||||
|
||||
if certfile != "" && keyfile != "" {
|
||||
srv.CertFile = certfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue