11 lines
194 B
Go
11 lines
194 B
Go
|
package contract
|
||
|
|
||
|
import "net/http"
|
||
|
|
||
|
const KernelName = "goweb:kernel"
|
||
|
|
||
|
type Kernel interface {
|
||
|
// HttpEngine we use actually gin.Engine, but it is open to change.
|
||
|
HttpEngine() http.Handler
|
||
|
}
|