Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GormClient ¶
type GormClient struct {
// contains filtered or unexported fields
}
func CreateGormClient ¶
func CreateGormClient(dbtype, address string, args map[string]interface{}) (*GormClient, error)
func (*GormClient) Close ¶
func (orm *GormClient) Close() error
func (*GormClient) HGet ¶
func (orm *GormClient) HGet(key, field string) *redis.StringCmd
func (*GormClient) HSet ¶
func (orm *GormClient) HSet(key, field string, value interface{}) *redis.BoolCmd
type Manage ¶
type Manage struct {
// contains filtered or unexported fields
}
* to hard to implement redis.Cmdable, so used Client to replace
func (*Manage) GenerateLoginSession ¶
Click to show internal directories.
Click to hide internal directories.