Documentation
¶
Index ¶
- func CheckName(f validator.FieldLevel) bool
- func CreateCA()
- func Do() Pip.OutChan
- func DoData(in Pip.InChan) Pip.OutChan
- func GetPage(args ...interface{}) Pip.InChan
- func NameRequired(f validator.FieldLevel) bool
- func NewUserGetter(id string) Redis.DBGetterFunc
- func NewUserGetter2(id string) Redis.DBGetterFunc
- type AddVersion
- type DBConfig
- type EtcdConfig
- type IndexController
- func (this *IndexController) A(ctx *gin.Context) string
- func (this *IndexController) A2(ctx *gin.Context) Web.Json
- func (this *IndexController) B(ctx *gin.Context) Web.Json
- func (this *IndexController) Build(goft *Web.Goft)
- func (this *IndexController) C(ctx *gin.Context) Web.Json
- func (this *IndexController) D(ctx *gin.Context) Web.Json
- func (this *IndexController) E(ctx *gin.Context) Web.Json
- func (this *IndexController) F(ctx *gin.Context) Web.Json
- func (this *IndexController) F2(ctx *gin.Context) sql.SimpleQuery
- func (this *IndexController) F23(ctx *gin.Context) sql.Query
- func (this *IndexController) F234(ctx *gin.Context) sql.Query
- func (this *IndexController) F2345(ctx *gin.Context) sql.Query
- func (this *IndexController) F23456(ctx *gin.Context) Web.Json
- func (this *IndexController) F234567(ctx *gin.Context) Web.Json
- func (this *IndexController) F2345679(ctx *gin.Context) string
- func (this *IndexController) Grpc(ctx *gin.Context) Web.Json
- func (this *IndexController) Grpc2(ctx *gin.Context) string
- func (this *IndexController) Grpc3(ctx *gin.Context) Web.Json
- func (this *IndexController) Grpc4(ctx *gin.Context) string
- func (this *IndexController) Grpc5(ctx *gin.Context) Web.Json
- func (this *IndexController) Index(ctx *gin.Context) string
- func (this *IndexController) Index2(ctx *gin.Context) string
- func (this *IndexController) Name() string
- func (this *IndexController) Time()
- func (this *IndexController) Wike(ctx *gin.Context) string
- type RedisConfig
- type TestIn
- type TestVersion
- type TokenCheck
- type User
- type UserClaim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NameRequired ¶
func NameRequired(f validator.FieldLevel) bool
func NewUserGetter ¶
func NewUserGetter(id string) Redis.DBGetterFunc
func NewUserGetter2 ¶
func NewUserGetter2(id string) Redis.DBGetterFunc
Types ¶
type AddVersion ¶
type AddVersion struct { }
func NewAddVersion ¶
func NewAddVersion() *AddVersion
func (*AddVersion) OnResponse ¶
func (this *AddVersion) OnResponse(result interface{}) (interface{}, error)
type EtcdConfig ¶
type EtcdConfig struct { }
func NewEtcdConfig ¶
func NewEtcdConfig() *EtcdConfig
func (*EtcdConfig) Etcd ¶
func (this *EtcdConfig) Etcd() *clientv3.Client
type IndexController ¶
type IndexController struct { Db *gorm.DB `inject:"-"` RedisSet *Redis.RedisStringOperation `inject:"-"` Etcdctl *Etcd.EtcdCtl `inject:"-"` }
func NewIndexController ¶
func NewIndexController() *IndexController
func (*IndexController) Build ¶
func (this *IndexController) Build(goft *Web.Goft)
func (*IndexController) F2 ¶
func (this *IndexController) F2(ctx *gin.Context) sql.SimpleQuery
func (*IndexController) Grpc5 ¶ added in v1.0.5
func (this *IndexController) Grpc5(ctx *gin.Context) Web.Json
func (*IndexController) Name ¶
func (this *IndexController) Name() string
func (*IndexController) Time ¶
func (this *IndexController) Time()
type RedisConfig ¶
type RedisConfig struct { }
func NewRedisConfig ¶
func NewRedisConfig() *RedisConfig
func (*RedisConfig) Redis ¶
func (this *RedisConfig) Redis() *redis.Client
type TestVersion ¶
type TestVersion struct { }
func NewTest ¶
func NewTest() *TestVersion
func (*TestVersion) OnResponse ¶
func (this *TestVersion) OnResponse(result interface{}) (interface{}, error)
type TokenCheck ¶
type TokenCheck struct{}
func NewTokenCheck ¶
func NewTokenCheck() *TokenCheck
func (*TokenCheck) OnResponse ¶
func (this *TokenCheck) OnResponse(result interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.