Documentation
¶
Index ¶
- func CreateCA()
- func NewUserGetter(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) 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 NewUserGetter ¶
func NewUserGetter(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) 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)
type User ¶
Click to show internal directories.
Click to hide internal directories.