forked from ebhomengo/niki
18 lines
222 B
Go
18 lines
222 B
Go
|
package httpserver
|
||
|
|
||
|
import "git.gocasts.ir/ebhomengo/niki/config"
|
||
|
|
||
|
type Server struct {
|
||
|
config config.Config
|
||
|
}
|
||
|
|
||
|
func New(config config.Config) Server {
|
||
|
return Server{
|
||
|
config: config,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (s Server) Serve() {
|
||
|
|
||
|
}
|