handlers

package
v0.0.0-...-d1e9447 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VotePost

func VotePost(write http.ResponseWriter, request *http.Request)

Types

type VoteReq

type VoteReq struct {
	AccountName string `json:"account_name"`
	PrivateKey  string `json:"private_key"`
	PostId      string `json:"post_id"`
}

type VoteRes

type VoteRes struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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