types

package
v0.0.0-...-87eabf6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: NCSA Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxErrorsOnFetch = 20

Variables

This section is empty.

Functions

This section is empty.

Types

type CrawlResult

type CrawlResult struct {
	ID     int
	Result interface{}
	Error  errors.ErrorTracer
}

type Group

type Group struct {
	ID            int    `json:"id,string"`
	Title         string `json:"title"`
	Description   string `json:"description"`
	CoverImageURL string `json:"cover_image_url"`
	Archived      bool   `json:"is_archived"`
	MemberCount   int    `json:"member_count"`

	// Truncated description. This is not in the Gab data set, but this flag is
	// added for groups that include excessively large descriptions.
	Truncated bool `json:"truncated"`
}

func (*Group) Type

func (g *Group) Type() string

Type is provided to implement the bleve.Classifier interface for correctly cataloging this struct.

type GroupPost

type GroupPost struct {
	ID      flexInt   `json:"id"`
	Created time.Time `json:"created_at"`
}

Jump to

Keyboard shortcuts

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