Documentation
¶
Index ¶
- Constants
- func CheckPasswordHash(password, hash string) bool
- func CreateFlatZip(w io.Writer, files ...string) error
- func GetRepoFile(name string) string
- func Hash(s string) uint32
- func HashPassword(password string) (string, error)
- func NewRedisDB(host, port, password string) *redis.Client
- func Unzip(src, dest string) error
- type ReposInfo
Constants ¶
View Source
const ( URL = "http://localhost:5000/" ROOT = "images" HiddenFile = ".env.yml" MAX_FILE_SIZE = 8 << 20 // 8 MiB ROOT_PP = "avatar/" MEDIA_ROOT = "media" MEDIA_URL = "media/" )
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func GetRepoFile ¶
func HashPassword ¶
func NewRedisDB ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.