recentmessage

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(client *http.Client) *API

func (API) GetRecentMessagesFor

func (a API) GetRecentMessagesFor(ctx context.Context, channelLogin string) ([]twitch.IRCer, error)

type APIError

type APIError struct {
	Status        int    `json:"status"`
	StatusMessage string `json:"status_message"`
	ErrorMessage  string `json:"error"`
	ErrorCode     string `json:"error_code"`
}

func (APIError) Error

func (a APIError) Error() string

Jump to

Keyboard shortcuts

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