seventvtest

package
v0.0.0-...-1b29edf Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package seventvtest provides helpers for testing connections to the 7TV API.

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed mutate_emote/success.json
	MutateEmoteSuccessResp string
	//go:embed mutate_emote/already_exists.json
	MutateEmoteAlreadyExistsResp string
	//go:embed mutate_emote/id_not_enabled.json
	MutateEmoteIDNotEnabledResp string
	//go:embed mutate_emote/id_not_found.json
	MutateEmoteIDNotFoundResp string
	//go:embed mutate_emote/not_authorized.json
	MutateEmoteNotAuthorizedResp string

	//go:embed fetch_uc_by_twitch_uid/small_non_sub.json
	FetchUserConnectionByTwitchUserIdSmallNonSubResp string
	//go:embed fetch_uc_by_twitch_uid/small_sub.json
	FetchUserConnectionByTwitchUserIdSmallSubResp string
	//go:embed fetch_uc_by_twitch_uid/large_sub.json
	FetchUserConnectionByTwitchUserIdLargeSubResp string

	// Transformer is a cmp.Option that transforms a UnixTimeMs to a time.Time.
	Transformer = cmp.Transformer("NativeUnixTimeMs", func(in seventv.UnixTimeMs) time.Time {
		return time.Time(in)
	})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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