(port int)
| 134 | } |
| 135 | |
| 136 | func (d *UnikDaemon) Run(port int) { |
| 137 | d.server.RunOnAddr(fmt.Sprintf(":%v", port)) |
| 138 | } |
| 139 | |
| 140 | func (d *UnikDaemon) addEndpoints() { |
| 141 | handle := func(res http.ResponseWriter, req *http.Request, action func() (interface{}, int, error)) { |
no outgoing calls
no test coverage detected