Documentation ¶
Index ¶
- func CreateNewRouter() *chi.Mux
- func GenerateTokenString(email string, id int) string
- func GetTokenAuth() *jwtauth.JWTAuth
- func NewError(w http.ResponseWriter, r *http.Request, msg string, code int)
- func RunRequest(method string, ts *httptest.Server, urlPart string, body io.Reader) (*http.Response, error)
- func UploadCloudinary(file, user_id string, tags []string) (string, int, int, error)
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewRouter ¶
func CreateNewRouter() *chi.Mux
func GenerateTokenString ¶
func GetTokenAuth ¶
func GetTokenAuth() *jwtauth.JWTAuth
func RunRequest ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.