Documentation
¶
Overview ¶
Package v1 包含了服务的接口以及各个服务接口需要用到的 DTO DTO(Data Transfer Object):数据传输对象 这里把 DTO 导读放到一个包内 /dto
Index ¶
- type FastGinServer
- type UnimplementedFastGinServer
- func (*UnimplementedFastGinServer) AddFastGinHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) AuthFastGinJWTHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) AuthFastGinSessionHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) EditFastGinHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) ErrorHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) GetFastGinHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) GetFastGinListHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) GetJWTTokenHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) IndexHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) PingHandler(c *gin.Context)
- func (*UnimplementedFastGinServer) RemoveFastGinHandler(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FastGinServer ¶
type FastGinServer interface {
// IndexHandler is the fastginindex service
IndexHandler(c *gin.Context)
// ErrorHandler is the fastginerror service
ErrorHandler(c *gin.Context)
// PingHandler is the fastginping service
PingHandler(c *gin.Context)
// GetFastGinListHandler is the listpage service
GetFastGinListHandler(c *gin.Context)
// AddFastGinHandler is the add service
AddFastGinHandler(c *gin.Context)
// GetFastGinHandler is the get a FastGin service
GetFastGinHandler(c *gin.Context)
// EditFastGinHandler is the .
EditFastGinHandler(c *gin.Context)
// RemoveFastGinHandler is the .
RemoveFastGinHandler(c *gin.Context)
// 认证相关
// GetJWTTolenHandler 获取 JWT
GetJWTTokenHandler(c *gin.Context)
// AuthFastGinJWTHandler 通过 JWT 认证的服务
AuthFastGinJWTHandler(c *gin.Context)
// AuthFastGinSessionHandler 通过 Session 认证的服务
AuthFastGinSessionHandler(c *gin.Context)
}
FastGinServer is the server API for FastGin Service All implementations must emed UnimplementedFastGinServer for forward compatibility
type UnimplementedFastGinServer ¶
type UnimplementedFastGinServer struct {
}
UnimplementedFastGinServer can be embedded to have forward compatible implementations.
func (*UnimplementedFastGinServer) AddFastGinHandler ¶
func (*UnimplementedFastGinServer) AddFastGinHandler(c *gin.Context)
func (*UnimplementedFastGinServer) AuthFastGinJWTHandler ¶
func (*UnimplementedFastGinServer) AuthFastGinJWTHandler(c *gin.Context)
func (*UnimplementedFastGinServer) AuthFastGinSessionHandler ¶
func (*UnimplementedFastGinServer) AuthFastGinSessionHandler(c *gin.Context)
func (*UnimplementedFastGinServer) EditFastGinHandler ¶
func (*UnimplementedFastGinServer) EditFastGinHandler(c *gin.Context)
func (*UnimplementedFastGinServer) ErrorHandler ¶
func (*UnimplementedFastGinServer) ErrorHandler(c *gin.Context)
func (*UnimplementedFastGinServer) GetFastGinHandler ¶
func (*UnimplementedFastGinServer) GetFastGinHandler(c *gin.Context)
func (*UnimplementedFastGinServer) GetFastGinListHandler ¶
func (*UnimplementedFastGinServer) GetFastGinListHandler(c *gin.Context)
func (*UnimplementedFastGinServer) GetJWTTokenHandler ¶
func (*UnimplementedFastGinServer) GetJWTTokenHandler(c *gin.Context)
func (*UnimplementedFastGinServer) IndexHandler ¶
func (*UnimplementedFastGinServer) IndexHandler(c *gin.Context)
func (*UnimplementedFastGinServer) PingHandler ¶
func (*UnimplementedFastGinServer) PingHandler(c *gin.Context)
func (*UnimplementedFastGinServer) RemoveFastGinHandler ¶
func (*UnimplementedFastGinServer) RemoveFastGinHandler(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.