forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/server.go

17 lines
215 B
Go
Raw Normal View History

2023-12-16 07:20:01 +00:00
package httpserver
import "git.gocasts.ir/ebhomengo/niki/config"
type Server struct {
config config.Config
}
2024-01-01 07:22:14 +00:00
func New(cfg config.Config) Server {
2023-12-16 07:20:01 +00:00
return Server{
2024-01-01 07:22:14 +00:00
config: cfg,
2023-12-16 07:20:01 +00:00
}
}
func (s Server) Serve() {
2023-12-20 15:39:25 +00:00
}