jsonapi

package
v16.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentResponse

type AttachmentResponse struct {
	ID       string `json:"id"`
	Filename string `json:"filename"`
	Size     int    `json:"size"`
	URL      string `json:"url"`
	ProxyURL string `json:"proxy_url"`
	Height   int    `json:"height"`
	Width    int    `json:"width"`

	IDSnowflake snowflake.Snowflake
}

AttachmentResponse is the data about an attachment recevied from the json api

func (AttachmentResponse) MarshalEasyJSON

func (v AttachmentResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AttachmentResponse) MarshalJSON

func (v AttachmentResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AttachmentResponse) Snowflakify

func (ar *AttachmentResponse) Snowflakify() error

func (*AttachmentResponse) UnmarshalEasyJSON

func (v *AttachmentResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AttachmentResponse) UnmarshalJSON

func (v *AttachmentResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ChannelMentionResponse

type ChannelMentionResponse struct {
	ID      string `json:"id"`
	GuildID string `json:"guild_id"`
	Type    int    `json:"type"`
	Name    string `json:"name"`

	IDSnowflake      snowflake.Snowflake
	GuildIDSnowflake snowflake.Snowflake
}

ChannelMentionResponse is the data about a channel mention recevied from the json api

func (ChannelMentionResponse) MarshalEasyJSON

func (v ChannelMentionResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ChannelMentionResponse) MarshalJSON

func (v ChannelMentionResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ChannelMentionResponse) Snowflakify

func (cmr *ChannelMentionResponse) Snowflakify() error

func (*ChannelMentionResponse) UnmarshalEasyJSON

func (v *ChannelMentionResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ChannelMentionResponse) UnmarshalJSON

func (v *ChannelMentionResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Embed

type Embed struct {
	Title       string       `json:"title,omitempty"`
	Description string       `json:"description,omitempty"`
	URL         string       `json:"url"`
	Timestamp   string       `json:"timestamp,omitempty"`
	Color       int          `json:"color,omitempty"`
	Fields      []EmbedField `json:"fields"`
	Footer      EmbedFooter  `json:"footer,omitempty"`
}

Embed is a json object that represents an embed in a MessageWithEmbed

func (Embed) MarshalEasyJSON

func (v Embed) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Embed) MarshalJSON

func (v Embed) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Embed) UnmarshalEasyJSON

func (v *Embed) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Embed) UnmarshalJSON

func (v *Embed) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedAuthorResponse

type EmbedAuthorResponse struct {
	Name         string `json:"name"`
	URL          string `json:"url"`
	IconURL      string `json:"icon_url"`
	ProxyIconURL string `json:"proxy_icon_url"`
}

EmbedAuthorResponse is the data about an embed author recevied from the json api

func (EmbedAuthorResponse) MarshalEasyJSON

func (v EmbedAuthorResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedAuthorResponse) MarshalJSON

func (v EmbedAuthorResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedAuthorResponse) UnmarshalEasyJSON

func (v *EmbedAuthorResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedAuthorResponse) UnmarshalJSON

func (v *EmbedAuthorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedField

type EmbedField struct {
	Name   string `json:"name"`
	Value  string `json:"value"`
	Inline bool   `json:"inline"`
}

EmbedField is a json object that represents a field in an Embed

func (EmbedField) MarshalEasyJSON

func (v EmbedField) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedField) MarshalJSON

func (v EmbedField) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedField) UnmarshalEasyJSON

func (v *EmbedField) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedField) UnmarshalJSON

func (v *EmbedField) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedFieldResponse

type EmbedFieldResponse struct {
	Name   string `json:"name"`
	Value  string `json:"value"`
	Inline bool   `json:"inline"`
}

EmbedFieldResponse is the data about an embed field received from the json api

func (EmbedFieldResponse) MarshalEasyJSON

func (v EmbedFieldResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedFieldResponse) MarshalJSON

func (v EmbedFieldResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedFieldResponse) UnmarshalEasyJSON

func (v *EmbedFieldResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedFieldResponse) UnmarshalJSON

func (v *EmbedFieldResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedFooter

type EmbedFooter struct {
	Text string `json:"text"`
}

EmbedFooter is a json object that represents the footer of an embed

func (EmbedFooter) MarshalEasyJSON

func (v EmbedFooter) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedFooter) MarshalJSON

func (v EmbedFooter) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedFooter) UnmarshalEasyJSON

func (v *EmbedFooter) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedFooter) UnmarshalJSON

func (v *EmbedFooter) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedFooterResponse

type EmbedFooterResponse struct {
	Text         string `json:"text"`
	IconURL      string `json:"icon_url"`
	ProxyIconURL string `json:"proxy_icon_url"`
}

EmbedFooterResponse is the data about an embed footer recevied from the json api

func (EmbedFooterResponse) MarshalEasyJSON

func (v EmbedFooterResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedFooterResponse) MarshalJSON

func (v EmbedFooterResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedFooterResponse) UnmarshalEasyJSON

func (v *EmbedFooterResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedFooterResponse) UnmarshalJSON

func (v *EmbedFooterResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedImageResponse

type EmbedImageResponse struct {
	URL      string `json:"url"`
	ProxyURL string `json:"proxy_url"`
	Height   int    `json:"height"`
	Width    int    `json:"width"`
}

EmbedImageResponse is the data about an embed thumbnail received from the json api

func (EmbedImageResponse) MarshalEasyJSON

func (v EmbedImageResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedImageResponse) MarshalJSON

func (v EmbedImageResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedImageResponse) UnmarshalEasyJSON

func (v *EmbedImageResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedImageResponse) UnmarshalJSON

func (v *EmbedImageResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedProviderResponse

type EmbedProviderResponse struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

EmbedProviderResponse is the data about an embed provider recevied from the json api

func (EmbedProviderResponse) MarshalEasyJSON

func (v EmbedProviderResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedProviderResponse) MarshalJSON

func (v EmbedProviderResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedProviderResponse) UnmarshalEasyJSON

func (v *EmbedProviderResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedProviderResponse) UnmarshalJSON

func (v *EmbedProviderResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmbedResponse

type EmbedResponse struct {
	Title       string                `json:"title"`
	Type        string                `json:"type"`
	Description string                `json:"description"`
	URL         string                `json:"url"`
	Timestamp   string                `json:"timestamp"` // ISO8601
	Color       int                   `json:"color"`
	Footer      EmbedFooterResponse   `json:"footer"`
	Image       EmbedImageResponse    `json:"image"`
	Thumbnail   EmbedImageResponse    `json:"thumbnail"`
	Video       EmbedImageResponse    `json:"video"`
	Provider    EmbedProviderResponse `json:"provider"`
	Author      EmbedAuthorResponse   `json:"author"`
	Fields      []EmbedFieldResponse  `json:"fields"`
}

EmbedResponse is the data about a message embed received from the json api

func (EmbedResponse) MarshalEasyJSON

func (v EmbedResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmbedResponse) MarshalJSON

func (v EmbedResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmbedResponse) UnmarshalEasyJSON

func (v *EmbedResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmbedResponse) UnmarshalJSON

func (v *EmbedResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EmojiResponse

type EmojiResponse struct {
	ID            string         `json:"id"`
	Name          string         `json:"name"`
	Roles         []RoleResponse `json:"roles"`
	User          UserResponse   `json:"user"`
	RequireColons bool           `json:"require_colons"`
	Managed       bool           `json:"managed"`
	Animated      bool           `json:"animated"`
	Available     bool           `json:"available"`

	IDSnowflake snowflake.Snowflake
}

EmojiResponse is the data about an emoji recevied from the json api

func (EmojiResponse) MarshalEasyJSON

func (v EmojiResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EmojiResponse) MarshalJSON

func (v EmojiResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EmojiResponse) Snowflakify

func (er *EmojiResponse) Snowflakify() error

func (*EmojiResponse) UnmarshalEasyJSON

func (v *EmojiResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EmojiResponse) UnmarshalJSON

func (v *EmojiResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GatewayResponse

type GatewayResponse struct {
	URL    string `json:"url"`
	Shards int    `json:"shards"`
}

GatewayResponse is the json object received from the discord api when requesting gateway connection information

func (GatewayResponse) MarshalEasyJSON

func (v GatewayResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GatewayResponse) MarshalJSON

func (v GatewayResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GatewayResponse) UnmarshalEasyJSON

func (v *GatewayResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GatewayResponse) UnmarshalJSON

func (v *GatewayResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GuildMemberResponse

type GuildMemberResponse struct {
	User         *UserResponse `json:"user"`
	Nick         string        `json:"nick"`
	Roles        []string      `json:"roles"`
	JoinedAt     string        `json:"joined_at"`     // ISO8601
	PremiumSince string        `json:"premium_since"` // ISO8601
	Deaf         bool          `json:"deaf"`
	Mute         bool          `json:"mute"`

	RoleSnowflakes []snowflake.Snowflake
}

GuildMemberResponse is the data about a guild member recevied from the json api

func (GuildMemberResponse) HasRole

func (gmr GuildMemberResponse) HasRole(rid snowflake.Snowflake) bool

func (GuildMemberResponse) MarshalEasyJSON

func (v GuildMemberResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GuildMemberResponse) MarshalJSON

func (v GuildMemberResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GuildMemberResponse) Snowflakify

func (gmr *GuildMemberResponse) Snowflakify() error

func (*GuildMemberResponse) UnmarshalEasyJSON

func (v *GuildMemberResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GuildMemberResponse) UnmarshalJSON

func (v *GuildMemberResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Message

type Message struct {
	Content string           `json:"content"`
	Tts     bool             `json:"tts"`
	ReplyTo MessageReference `json:"message_reference,omitempty"`
}

Message is the json object that is sent to the discord api to post a plain-text message to a server

func (Message) MarshalEasyJSON

func (v Message) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Message) MarshalJSON

func (v Message) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Message) UnmarshalEasyJSON

func (v *Message) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Message) UnmarshalJSON

func (v *Message) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MessageReference added in v16.1.0

type MessageReference struct {
	MessageID string `json:"message_id,omitempty"`
	ChannelID string `json:"channel_id,omitempty"`
	GuildID   string `json:"guild_id,omitempty"`
}

type MessageResponse

type MessageResponse struct {
	ID              string                   `json:"id"`
	ChannelID       string                   `json:"channel_id"`
	GuildID         string                   `json:"guild_id"`
	Author          UserResponse             `json:"author"`
	Member          GuildMemberResponse      `json:"member"`
	Content         string                   `json:"content"`
	Timestamp       string                   `json:"timestamp"`        // ISO8601
	EditedTimestamp string                   `json:"edited_timestamp"` // ISO8601
	TTS             bool                     `json:"tts"`
	MentionEveryone bool                     `json:"mention_everyone"`
	Mentions        []UserResponse           `json:"mentions"`
	MentionRoles    []RoleResponse           `json:"mention_roles"`
	MentionChannels []ChannelMentionResponse `json:"mention_channels"`
	Attachments     []AttachmentResponse     `json:"attachments"`
	Embeds          []EmbedResponse          `json:"embeds"`
	Reactions       []ReactionResponse       `json:"reactions"`
	Pinned          bool                     `json:"pinned"`
	WebhookID       string                   `json:"webhook_id"`
	Type            int                      `json:"type"`
	Flags           int                      `json:"flags"`

	IDSnowflake        snowflake.Snowflake
	ChannelIDSnowflake snowflake.Snowflake
	GuildIDSnowflake   snowflake.Snowflake
	WebhookIDSnowflake snowflake.Snowflake
}

MessageResponse is the data that is received back from the discord api

func (MessageResponse) MarshalEasyJSON

func (v MessageResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MessageResponse) MarshalJSON

func (v MessageResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MessageResponse) Snowflakify

func (mr *MessageResponse) Snowflakify() error

func (*MessageResponse) UnmarshalEasyJSON

func (v *MessageResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MessageResponse) UnmarshalJSON

func (v *MessageResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MessageWithEmbed

type MessageWithEmbed struct {
	Content string           `json:"content"`
	Tts     bool             `json:"tts"`
	Embed   Embed            `json:"embed"`
	ReplyTo MessageReference `json:"message_reference,omitempty"`
}

MessageWithEmbed is the json object that is sent to the discord api to post an embed message to a server

func (MessageWithEmbed) MarshalEasyJSON

func (v MessageWithEmbed) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MessageWithEmbed) MarshalJSON

func (v MessageWithEmbed) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MessageWithEmbed) UnmarshalEasyJSON

func (v *MessageWithEmbed) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MessageWithEmbed) UnmarshalJSON

func (v *MessageWithEmbed) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ReactionResponse

type ReactionResponse struct {
	Count int           `json:"count"`
	Me    bool          `json:"me"`
	Emoji EmojiResponse `json:"emoji"`
}

ReactionResponse is the data about a reaction received from the json api

func (ReactionResponse) MarshalEasyJSON

func (v ReactionResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ReactionResponse) MarshalJSON

func (v ReactionResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ReactionResponse) Snowflakify

func (rr *ReactionResponse) Snowflakify() error

func (*ReactionResponse) UnmarshalEasyJSON

func (v *ReactionResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ReactionResponse) UnmarshalJSON

func (v *ReactionResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type RoleResponse

type RoleResponse struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Color       int    `json:"color"`
	Hoist       bool   `json:"hoist"`
	Position    int    `json:"position"`
	Permissions int    `json:"permissions"`
	Managed     bool   `json:"managed"`
	Mentionable bool   `json:"mentionable"`

	IDSnowflake snowflake.Snowflake
}

RoleResponse is the data about a role recevied from the json api

func (RoleResponse) MarshalEasyJSON

func (v RoleResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (RoleResponse) MarshalJSON

func (v RoleResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*RoleResponse) Snowflakify

func (rr *RoleResponse) Snowflakify() error

func (*RoleResponse) UnmarshalEasyJSON

func (v *RoleResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*RoleResponse) UnmarshalJSON

func (v *RoleResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UserResponse

type UserResponse struct {
	ID            string               `json:"id"`
	Username      string               `json:"username"`
	Discriminator string               `json:"discriminator"`
	Avatar        string               `json:"avatar"`
	Bot           bool                 `json:"bot"`
	System        bool                 `json:"system"`
	MFAEnabled    bool                 `json:"mfa_enabled"`
	Locale        string               `json:"locale"`
	Verified      bool                 `json:"verified"`
	Email         string               `json:"email"`
	Flags         int                  `json:"flags"`
	PremiumType   int                  `json:"premium_type"`
	PublicFlags   int                  `json:"public_flags"`
	Member        *GuildMemberResponse `json:"member"`

	IDSnowflake snowflake.Snowflake
}

UserResponse is the data about a user recevied from the json api

func (UserResponse) MarshalEasyJSON

func (v UserResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UserResponse) MarshalJSON

func (v UserResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UserResponse) Snowflakify

func (ur *UserResponse) Snowflakify() error

func (*UserResponse) UnmarshalEasyJSON

func (v *UserResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UserResponse) UnmarshalJSON

func (v *UserResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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