twitter

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Types

type Output

type Output struct {
	UserDisplayName       string `json:"userDisplayName"`
	UserName              string `json:"username"`
	UserURL               string `json:"userURL"`
	UserProfilePictureURL string `json:"userProfilePictureURL"`

	Tweets []Tweet `json:"tweets"`
}

type Tweet

type Tweet struct {
	Timestamp string `json:"timestamp"`
	Body      string `json:"body"`

	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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