Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphqlHandler ¶
func GraphqlHandler() gin.HandlerFunc
GraphqlHandler POST graphql query endpoint
Types ¶
type GraphqlConfig ¶
type GraphqlConfig struct { Method Method Path string Handler gin.HandlerFunc }
GraphqlConfig 配置
func (*GraphqlConfig) SetHandler ¶
func (g *GraphqlConfig) SetHandler(h *gin.HandlerFunc) (err error)
SetHandler 与Gin框架的接口
type ProtobufConfig ¶
type ProtobufConfig struct { Method Method Path string Handler gin.HandlerFunc }
ProtobufConfig 提供API管理
type RestAPI ¶
type RestAPI struct {
// contains filtered or unexported fields
}
RestAPI 提供API管理
func (*RestAPI) QueryFlowPage ¶
QueryFlowPage 查询流程分页数据
type RestConfig ¶
type RestConfig struct { Method Method Path string Handler gin.HandlerFunc }
RestConfig 配置
Click to show internal directories.
Click to hide internal directories.