routes

package
v0.0.0-...-c369992 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeAvatar

func ChangeAvatar(c *gin.Context)

ChangeAvatar route

func CreateNewPost

func CreateNewPost(c *gin.Context)

CreateNewPost route

func CreatePost

func CreatePost(c *gin.Context)

CreatePost route

func Deactivate

func Deactivate(c *gin.Context)

Deactivate route

func DeactivateAcc

func DeactivateAcc(c *gin.Context)

DeactivateAcc route post method

func DeletePost

func DeletePost(c *gin.Context)

DeletePost route

func EditPost

func EditPost(c *gin.Context)

EditPost route

func EditProfile

func EditProfile(c *gin.Context)

EditProfile route

func Explore

func Explore(c *gin.Context)

Explore route

func Follow

func Follow(c *gin.Context)

Follow route

func Followers

func Followers(c *gin.Context)

Followers route

func Followings

func Followings(c *gin.Context)

Followings route

func Index

func Index(c *gin.Context)

Index route

func Like

func Like(c *gin.Context)

Like post route

func Likes

func Likes(c *gin.Context)

Likes route

func Login

func Login(c *gin.Context)

Login route

func Logout

func Logout(c *gin.Context)

Logout route

func NotFound

func NotFound(c *gin.Context)

NotFound route

func Profile

func Profile(c *gin.Context)

Profile Page

func Signup

func Signup(c *gin.Context)

Signup route

func Unfollow

func Unfollow(c *gin.Context)

Unfollow route

func Unlike

func Unlike(c *gin.Context)

Unlike post route

func UpdatePost

func UpdatePost(c *gin.Context)

UpdatePost route

func UpdateProfile

func UpdateProfile(c *gin.Context)

UpdateProfile route

func UserLogin

func UserLogin(c *gin.Context)

UserLogin function to log user in

func UserSignup

func UserSignup(c *gin.Context)

UserSignup function to register user

func ViewPost

func ViewPost(c *gin.Context)

ViewPost route

func Welcome

func Welcome(c *gin.Context)

Welcome route

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL