Documentation
¶
Index ¶
Constants ¶
View Source
const (
AppName = "restful-framework"
)
Variables ¶
This section is empty.
Functions ¶
func ModuleWebservice ¶
func ModuleWebservice(obj ioc.ObjectInterface) *restful.WebService
ModuleWebservice 每个模块会创建一个新的 webservice,以模块名称作为路由前缀
func RootContainer ¶
func RootContainer() *restful.Container
Types ¶
type Framework ¶
type Framework struct { ioc.ObjectImpl Container *restful.Container // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.