friend

package
v0.0.0-...-f6d4ea8 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFriend

func AddFriend(c echo.Context) error

func DeleteFriend

func DeleteFriend(c echo.Context) error

Types

type AddFriendRequest

type AddFriendRequest struct {
	UserId   string `json:"user_id" form:"user_id" query:"user_id" validate:"gt=0"`
	FriendId string `json:"friend_id" form:"friend_id" query:"friend_id" validate:"gt=0"`
}

type DeleteFriendRequest

type DeleteFriendRequest struct {
	UserId   string `json:"user_id" form:"user_id" query:"user_id" validate:"gt=0"`
	FriendId string `json:"friend_id" form:"friend_id" query:"friend_id" validate:"gt=0"`
}

Jump to

Keyboard shortcuts

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