server-go/servlet.go

11 lines
216 B
Go
Raw Permalink Normal View History

2018-08-22 08:37:12 +00:00
package server
type Servlet interface {
ServletCtx(serverCtx ServerCtx) ServletCtx
Init(serverCtx ServerCtx) error
OnStart(serverCtx ServerCtx) error
OnStop(serverCtx ServerCtx)
Destroy(serverCtx ServerCtx)
}