Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool contains dockertest and redis connection pool
func (*Pool) GetContext ¶
GetContext gets a connection with redis
type Post ¶
type Post struct { ID uint64 `redis:"id"` Title string `redis:"title"` Body string `redis:"body"` UpdatedAt int64 `redis:"updated_at"` }
Post is a test object
func (*Post) GetKeySuffix ¶
GetKeySuffix implements the types.Model interface
func (*Post) GetScoreMap ¶
GetScoreMap implements the types.Model interface
Click to show internal directories.
Click to hide internal directories.