limits

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmojiRune

func EmojiRune(r rune) bool

func StringIsCustomEmoji

func StringIsCustomEmoji(emoji string) bool

func StringIsEmojiOnly

func StringIsEmojiOnly(emoji string) bool

Types

type Manager

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

func NewManager

func NewManager(prefix string) *Manager

func (*Manager) ParseBucketPath

func (v *Manager) ParseBucketPath(url string) string

ParseBucketPath

Reference: https://github.com/diamondburned/arikawa/blob/v3/api/rate/majors.go

func (*Manager) ParseRequest

func (v *Manager) ParseRequest(req *fasthttp.Request, res *fasthttp.Response) error

func (*Manager) Wait

func (v *Manager) Wait(ctx context.Context, url string) error

Jump to

Keyboard shortcuts

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