gorestful

package
v0.0.0-...-defed71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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
}

func (*Framework) Init

func (f *Framework) Init()

func (*Framework) Name

func (f *Framework) Name() string

func (*Framework) Priority

func (f *Framework) Priority() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL