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: 11 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 Article

type Article struct {
	CommentCount int64  `json:"commentCount"`
	ArticleID    int64  `json:"articleId"`
	RealmID      int64  `json:"realmId"`
	Title        string `json:"title"`
	CreateTime   int64  `json:"createTime"`
	Description  string `json:"description"`
}

func ArticlesListGetter

func ArticlesListGetter(porxyAddr string, articleUrl cfg.ArticleUrlConfig) ([]Article, error)

func (Article) String

func (a Article) String() string

For Test

type ArticlesList

type ArticlesList struct {
	Result   int64     `json:"result"`
	Cursor   string    `json:"cursor"`
	HostName string    `json:"host-name"`
	Articles []Article `json:"data"`
}

func (ArticlesList) String

func (a ArticlesList) String() string

For Test

Jump to

Keyboard shortcuts

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