Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoRequest ¶ added in v1.0.2
type EchoRequest struct {
Str string `query:"str"`
}
type EchoResponse ¶ added in v1.0.2
type EchoResponse struct {
Echo string `json:"echo"`
}
type GlobalInterruptFilter ¶ added in v1.0.2
type GlobalInterruptFilter struct{}
func (*GlobalInterruptFilter) Invoke ¶ added in v1.0.2
func (f *GlobalInterruptFilter) Invoke(ctx SpringWeb.WebContext, chain *SpringWeb.FilterChain)
type InterruptFilter ¶ added in v1.0.2
type InterruptFilter struct{}
func (*InterruptFilter) Invoke ¶ added in v1.0.2
func (f *InterruptFilter) Invoke(ctx SpringWeb.WebContext, chain *SpringWeb.FilterChain)
type NumberFilter ¶
type NumberFilter struct {
// contains filtered or unexported fields
}
func NewNumberFilter ¶
func NewNumberFilter(n int, l *list.List) *NumberFilter
func (*NumberFilter) Invoke ¶
func (f *NumberFilter) Invoke(ctx SpringWeb.WebContext, chain *SpringWeb.FilterChain)
type RpcService ¶
type RpcService struct{}
func (*RpcService) Echo ¶ added in v1.0.2
func (s *RpcService) Echo(request EchoRequest) *EchoResponse
func (*RpcService) Err ¶
func (s *RpcService) Err(ctx SpringWeb.WebContext) interface{}
func (*RpcService) OK ¶
func (s *RpcService) OK(ctx SpringWeb.WebContext) interface{}
func (*RpcService) Panic ¶
func (s *RpcService) Panic(ctx SpringWeb.WebContext) interface{}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService() *Service
Click to show internal directories.
Click to hide internal directories.