mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-08 00:26:52 +00:00
add new file
This commit is contained in:
11
component/service/service.go
Normal file
11
component/service/service.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package service
|
||||
|
||||
import "net"
|
||||
|
||||
type HttpService struct {
|
||||
ln net.Listener
|
||||
}
|
||||
|
||||
func NewHttpService(ln net.Listener) *HttpService {
|
||||
return &HttpService{ln: ln}
|
||||
}
|
Reference in New Issue
Block a user