Documentation ¶
Index ¶
- func Bin2Hex(b []byte) string
- func DecodeIdToBase64(input string) string
- func EncodeIdToBase64(input string) string
- func GobMarshal(v interface{}) ([]byte, error)
- func GobUnmarshal(data []byte, v interface{}) error
- func Hex2bin(s string) []byte
- func Microtime() string
- func Uniqid(prefix string, has_entropy bool) string
- func UrlsafeBase64Encode(input string) string
- type AppContext
- type AppDB
- type AppEnv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeIdToBase64 ¶
func EncodeIdToBase64 ¶
func GobMarshal ¶
func GobUnmarshal ¶
func UrlsafeBase64Encode ¶
Types ¶
type AppContext ¶
type AppContext struct { echo.Context AppDB *mongo.Database AppDBCtx context.Context AppDBClient *mongo.Client AppMemcached *memcache.Client Env *AppEnv }
func NewAppContext ¶
Click to show internal directories.
Click to hide internal directories.