getter

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Generated by https://quicktype.io

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Content    string `json:"content"`
	SourceID   int64  `json:"sourceId"`
	IsDelete   bool   `json:"isDelete"`
	Cid        int64  `json:"cid"`
	IsUpDelete bool   `json:"isUpDelete"`
	Floor      int64  `json:"floor"`
	Timestamp  int64  `json:"timestamp"`
}

func CommentsGetter

func CommentsGetter(porxyAddr string, aid int64, page int) ([]Comment, int64, error)

func (Comment) String

func (c Comment) String() string

For Test

type CommentsJsonResponse

type CommentsJsonResponse struct {
	Result      int64              `json:"result"`
	CurPage     int64              `json:"curPage"`
	TotalPage   int64              `json:"totalPage"`
	CommentsMap map[string]Comment `json:"commentsMap"`
	PageSize    int64              `json:"pageSize"`
	TotalCount  int64              `json:"totalCount"`
	CommentIDS  []int64            `json:"commentIds"`
}

func (CommentsJsonResponse) String

func (c CommentsJsonResponse) String() string

For Test

Jump to

Keyboard shortcuts

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