mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 11:37:00 -07:00
Fixed issue with generate and added some documentation to funcs
This commit is contained in:
parent
7494468bed
commit
cd840b2bf0
9 changed files with 219 additions and 158 deletions
|
|
@ -33,8 +33,9 @@ type Server struct {
|
|||
TokenAuth *jwtauth.JWTAuth
|
||||
}
|
||||
|
||||
func New() *Server {
|
||||
func New(config *configurator.Config) *Server {
|
||||
return &Server{
|
||||
Config: config,
|
||||
Server: &http.Server{
|
||||
Addr: "localhost:3334",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue