health

package
v0.0.0-...-66c88e8 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelCollected

func CancelCollected(c *gin.Context)

func CommentDisease

func CommentDisease(c *gin.Context)

func GetComment

func GetComment(c *gin.Context)

func GetDiseaseDetails

func GetDiseaseDetails(c *gin.Context)

func GetDiseasesLists

func GetDiseasesLists(c *gin.Context)

func IsCollected

func IsCollected(c *gin.Context)

Types

type CommentDiseaseRequest

type CommentDiseaseRequest struct {
	DiseaseID int    `json:"disease_id"`
	Content   string `json:"content"`
}

type DiseaseCommentInfo

type DiseaseCommentInfo struct {
	ID         int    `json:"id"`
	DiseaseID  int    `json:"disease_id"`
	UserID     int    `json:"user_id"`
	UserName   string `json:"user_name"`
	Comment    string `json:"comment"`
	RecordTime string `json:"record_time"`
}

type DiseaseCommentResponse

type DiseaseCommentResponse struct {
	ID            int    `json:"id"`
	DiseaseID     int    `json:"disease_id"`
	UserID        int    `json:"user_id"`
	UserName      string `json:"user_name"`
	Comment       string `json:"comment"`
	RecordTime    string `json:"record_time"`
	UserImagePath string `json:"user_image_path"`
}

Jump to

Keyboard shortcuts

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