Documentation ¶
Index ¶
- func DeleteTokenCookie(c echo.Context, cfg config.Config)
- func GenerateULID(ctx context.Context) ulid.ULID
- func GenerateULIDNow() ulid.ULID
- func JSONResponse(c echo.Context, code int, data any) error
- func MakeRandomStr(digit int) (string, error)
- func SendMail(cfg config.Config, targetAddrs string, title string, body string) error
- func SetTokenCookie(c echo.Context, cfg config.Config, token entity.Token)
- func ULIDFromString(id string) (ulid.ULID, error)
- func ULIDToString(id ulid.ULID) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTokenCookie ¶
func GenerateULID ¶
func GenerateULIDNow ¶
func GenerateULIDNow() ulid.ULID
func JSONResponse ¶
func MakeRandomStr ¶
func ULIDFromString ¶
func ULIDToString ¶
func ULIDToString(id ulid.ULID) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.