Fixed issue with generate and added some documentation to funcs

This commit is contained in:
David Allen 2024-07-08 16:11:10 -06:00
parent 7494468bed
commit cd840b2bf0
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
9 changed files with 219 additions and 158 deletions

View file

@ -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",
},