spec

package
v0.0.0-...-9b2c065 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 6 Imported by: 0

README

Updates

To update the API bump the semver and run

oapi-codegen -config api/spec/openapi.cfg.yml api/spec/server.cfg.yml

Documentation

Overview

Package spec provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

Types

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type CreateFriendRequest200Response

type CreateFriendRequest200Response struct {
}

func (CreateFriendRequest200Response) VisitCreateFriendRequestResponse

func (response CreateFriendRequest200Response) VisitCreateFriendRequestResponse(w http.ResponseWriter) error

type CreateFriendRequest401Response

type CreateFriendRequest401Response = UnauthorizedErrorResponse

func (CreateFriendRequest401Response) VisitCreateFriendRequestResponse

func (response CreateFriendRequest401Response) VisitCreateFriendRequestResponse(w http.ResponseWriter) error

type CreateFriendRequestJSONRequestBody

type CreateFriendRequestJSONRequestBody = FriendRequestRequest

CreateFriendRequestJSONRequestBody defines body for CreateFriendRequest for application/json ContentType.

type CreateFriendRequestRequestObject

type CreateFriendRequestRequestObject struct {
	Body *CreateFriendRequestJSONRequestBody
}

type CreateFriendRequestResponseObject

type CreateFriendRequestResponseObject interface {
	VisitCreateFriendRequestResponse(w http.ResponseWriter) error
}

type CreateFriendRequestdefaultResponse

type CreateFriendRequestdefaultResponse struct {
	StatusCode int
}

func (CreateFriendRequestdefaultResponse) VisitCreateFriendRequestResponse

func (response CreateFriendRequestdefaultResponse) VisitCreateFriendRequestResponse(w http.ResponseWriter) error

type DeleteFriend204Response

type DeleteFriend204Response struct {
}

func (DeleteFriend204Response) VisitDeleteFriendResponse

func (response DeleteFriend204Response) VisitDeleteFriendResponse(w http.ResponseWriter) error

type DeleteFriend401Response

type DeleteFriend401Response = UnauthorizedErrorResponse

func (DeleteFriend401Response) VisitDeleteFriendResponse

func (response DeleteFriend401Response) VisitDeleteFriendResponse(w http.ResponseWriter) error

type DeleteFriendJSONRequestBody

type DeleteFriendJSONRequestBody = DeleteFriendRequest

DeleteFriendJSONRequestBody defines body for DeleteFriend for application/json ContentType.

type DeleteFriendRequest

type DeleteFriendRequest struct {
	FriendId string `json:"friendId"`
}

DeleteFriendRequest defines model for DeleteFriendRequest.

type DeleteFriendRequestObject

type DeleteFriendRequestObject struct {
	Body *DeleteFriendJSONRequestBody
}

type DeleteFriendResponseObject

type DeleteFriendResponseObject interface {
	VisitDeleteFriendResponse(w http.ResponseWriter) error
}

type DeleteFrienddefaultResponse

type DeleteFrienddefaultResponse struct {
	StatusCode int
}

func (DeleteFrienddefaultResponse) VisitDeleteFriendResponse

func (response DeleteFrienddefaultResponse) VisitDeleteFriendResponse(w http.ResponseWriter) error

type FindFriendsResponse

type FindFriendsResponse = []UserResponse

FindFriendsResponse defines model for FindFriendsResponse.

type FindUsers200JSONResponse

type FindUsers200JSONResponse []UserResponse

func (FindUsers200JSONResponse) VisitFindUsersResponse

func (response FindUsers200JSONResponse) VisitFindUsersResponse(w http.ResponseWriter) error

type FindUsers401Response

type FindUsers401Response = UnauthorizedErrorResponse

func (FindUsers401Response) VisitFindUsersResponse

func (response FindUsers401Response) VisitFindUsersResponse(w http.ResponseWriter) error

type FindUsersJSONRequestBody

type FindUsersJSONRequestBody = UserRequest

FindUsersJSONRequestBody defines body for FindUsers for application/json ContentType.

type FindUsersRequestObject

type FindUsersRequestObject struct {
	Body *FindUsersJSONRequestBody
}

type FindUsersResponseObject

type FindUsersResponseObject interface {
	VisitFindUsersResponse(w http.ResponseWriter) error
}

type FindUsersdefaultResponse

type FindUsersdefaultResponse struct {
	StatusCode int
}

func (FindUsersdefaultResponse) VisitFindUsersResponse

func (response FindUsersdefaultResponse) VisitFindUsersResponse(w http.ResponseWriter) error

type FriendRequestRequest

type FriendRequestRequest struct {
	FriendId string `json:"friendId"`
}

FriendRequestRequest defines model for FriendRequestRequest.

type FriendResponseRequest

type FriendResponseRequest struct {
	Accept   bool   `json:"accept"`
	FriendId string `json:"friendId"`
}

FriendResponseRequest defines model for FriendResponseRequest.

type GetFriendLocationsResponse

type GetFriendLocationsResponse = []UserLocation

GetFriendLocationsResponse defines model for GetFriendLocationsResponse.

type GetFriendRequests200JSONResponse

type GetFriendRequests200JSONResponse FindFriendsResponse

func (GetFriendRequests200JSONResponse) VisitGetFriendRequestsResponse

func (response GetFriendRequests200JSONResponse) VisitGetFriendRequestsResponse(w http.ResponseWriter) error

type GetFriendRequests401Response

type GetFriendRequests401Response = UnauthorizedErrorResponse

func (GetFriendRequests401Response) VisitGetFriendRequestsResponse

func (response GetFriendRequests401Response) VisitGetFriendRequestsResponse(w http.ResponseWriter) error

type GetFriendRequestsRequestObject

type GetFriendRequestsRequestObject struct {
}

type GetFriendRequestsResponseObject

type GetFriendRequestsResponseObject interface {
	VisitGetFriendRequestsResponse(w http.ResponseWriter) error
}

type GetFriendRequestsdefaultResponse

type GetFriendRequestsdefaultResponse struct {
	StatusCode int
}

func (GetFriendRequestsdefaultResponse) VisitGetFriendRequestsResponse

func (response GetFriendRequestsdefaultResponse) VisitGetFriendRequestsResponse(w http.ResponseWriter) error

type GetFriends200JSONResponse

type GetFriends200JSONResponse FindFriendsResponse

func (GetFriends200JSONResponse) VisitGetFriendsResponse

func (response GetFriends200JSONResponse) VisitGetFriendsResponse(w http.ResponseWriter) error

type GetFriends401Response

type GetFriends401Response = UnauthorizedErrorResponse

func (GetFriends401Response) VisitGetFriendsResponse

func (response GetFriends401Response) VisitGetFriendsResponse(w http.ResponseWriter) error

type GetFriendsRequestObject

type GetFriendsRequestObject struct {
}

type GetFriendsResponseObject

type GetFriendsResponseObject interface {
	VisitGetFriendsResponse(w http.ResponseWriter) error
}

type GetFriendsdefaultResponse

type GetFriendsdefaultResponse struct {
	StatusCode int
}

func (GetFriendsdefaultResponse) VisitGetFriendsResponse

func (response GetFriendsdefaultResponse) VisitGetFriendsResponse(w http.ResponseWriter) error

type GetLocationsOfFriends200JSONResponse

type GetLocationsOfFriends200JSONResponse GetFriendLocationsResponse

func (GetLocationsOfFriends200JSONResponse) VisitGetLocationsOfFriendsResponse

func (response GetLocationsOfFriends200JSONResponse) VisitGetLocationsOfFriendsResponse(w http.ResponseWriter) error

type GetLocationsOfFriends401Response

type GetLocationsOfFriends401Response = UnauthorizedErrorResponse

func (GetLocationsOfFriends401Response) VisitGetLocationsOfFriendsResponse

func (response GetLocationsOfFriends401Response) VisitGetLocationsOfFriendsResponse(w http.ResponseWriter) error

type GetLocationsOfFriendsRequestObject

type GetLocationsOfFriendsRequestObject struct {
}

type GetLocationsOfFriendsResponseObject

type GetLocationsOfFriendsResponseObject interface {
	VisitGetLocationsOfFriendsResponse(w http.ResponseWriter) error
}

type GetLocationsOfFriendsdefaultResponse

type GetLocationsOfFriendsdefaultResponse struct {
	StatusCode int
}

func (GetLocationsOfFriendsdefaultResponse) VisitGetLocationsOfFriendsResponse

func (response GetLocationsOfFriendsdefaultResponse) VisitGetLocationsOfFriendsResponse(w http.ResponseWriter) error

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type LocationUpdate

type LocationUpdate struct {
	Latitude  float32 `json:"latitude"`
	Longitude float32 `json:"longitude"`
	Timestamp int64   `json:"timestamp"`
}

LocationUpdate The location of a the current with a timestamp given in epoch millis

type LoginOrSignup200JSONResponse

type LoginOrSignup200JSONResponse LoginResponse

func (LoginOrSignup200JSONResponse) VisitLoginOrSignupResponse

func (response LoginOrSignup200JSONResponse) VisitLoginOrSignupResponse(w http.ResponseWriter) error

type LoginOrSignupJSONRequestBody

type LoginOrSignupJSONRequestBody = LoginRequest

LoginOrSignupJSONRequestBody defines body for LoginOrSignup for application/json ContentType.

type LoginOrSignupRequestObject

type LoginOrSignupRequestObject struct {
	Body *LoginOrSignupJSONRequestBody
}

type LoginOrSignupResponseObject

type LoginOrSignupResponseObject interface {
	VisitLoginOrSignupResponse(w http.ResponseWriter) error
}

type LoginOrSignupdefaultResponse

type LoginOrSignupdefaultResponse struct {
	StatusCode int
}

func (LoginOrSignupdefaultResponse) VisitLoginOrSignupResponse

func (response LoginOrSignupdefaultResponse) VisitLoginOrSignupResponse(w http.ResponseWriter) error

type LoginRequest

type LoginRequest struct {
	Email    *string `json:"email,omitempty"`
	FullName *string `json:"fullName,omitempty"`
	UserId   string  `json:"userId"`
}

LoginRequest defines model for LoginRequest.

type LoginResponse

type LoginResponse struct {
	Token string `json:"token"`
}

LoginResponse defines model for LoginResponse.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type RenameUser200Response

type RenameUser200Response struct {
}

func (RenameUser200Response) VisitRenameUserResponse

func (response RenameUser200Response) VisitRenameUserResponse(w http.ResponseWriter) error

type RenameUser401Response

type RenameUser401Response = UnauthorizedErrorResponse

func (RenameUser401Response) VisitRenameUserResponse

func (response RenameUser401Response) VisitRenameUserResponse(w http.ResponseWriter) error

type RenameUserJSONRequestBody

type RenameUserJSONRequestBody = RenameUserRequest

RenameUserJSONRequestBody defines body for RenameUser for application/json ContentType.

type RenameUserRequest

type RenameUserRequest struct {
	NewName string `json:"newName"`
}

RenameUserRequest defines model for RenameUserRequest.

type RenameUserRequestObject

type RenameUserRequestObject struct {
	Body *RenameUserJSONRequestBody
}

type RenameUserResponseObject

type RenameUserResponseObject interface {
	VisitRenameUserResponse(w http.ResponseWriter) error
}

type RenameUserdefaultResponse

type RenameUserdefaultResponse struct {
	StatusCode int
}

func (RenameUserdefaultResponse) VisitRenameUserResponse

func (response RenameUserdefaultResponse) VisitRenameUserResponse(w http.ResponseWriter) error

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ServerInterface

type ServerInterface interface {

	// (DELETE /friends)
	DeleteFriend(w http.ResponseWriter, r *http.Request)

	// (GET /friends)
	GetFriends(w http.ResponseWriter, r *http.Request)

	// (GET /friends/locations)
	GetLocationsOfFriends(w http.ResponseWriter, r *http.Request)

	// (POST /friends/request)
	CreateFriendRequest(w http.ResponseWriter, r *http.Request)

	// (GET /friends/requests)
	GetFriendRequests(w http.ResponseWriter, r *http.Request)

	// (POST /friends/response)
	UpdateFriendRequest(w http.ResponseWriter, r *http.Request)

	// (POST /login)
	LoginOrSignup(w http.ResponseWriter, r *http.Request)

	// (POST /me/rename)
	RenameUser(w http.ResponseWriter, r *http.Request)

	// (POST /updateLocation)
	UpdateLocation(w http.ResponseWriter, r *http.Request)

	// (POST /users)
	FindUsers(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) CreateFriendRequest

func (siw *ServerInterfaceWrapper) CreateFriendRequest(w http.ResponseWriter, r *http.Request)

CreateFriendRequest operation middleware

func (*ServerInterfaceWrapper) DeleteFriend

func (siw *ServerInterfaceWrapper) DeleteFriend(w http.ResponseWriter, r *http.Request)

DeleteFriend operation middleware

func (*ServerInterfaceWrapper) FindUsers

func (siw *ServerInterfaceWrapper) FindUsers(w http.ResponseWriter, r *http.Request)

FindUsers operation middleware

func (*ServerInterfaceWrapper) GetFriendRequests

func (siw *ServerInterfaceWrapper) GetFriendRequests(w http.ResponseWriter, r *http.Request)

GetFriendRequests operation middleware

func (*ServerInterfaceWrapper) GetFriends

func (siw *ServerInterfaceWrapper) GetFriends(w http.ResponseWriter, r *http.Request)

GetFriends operation middleware

func (*ServerInterfaceWrapper) GetLocationsOfFriends

func (siw *ServerInterfaceWrapper) GetLocationsOfFriends(w http.ResponseWriter, r *http.Request)

GetLocationsOfFriends operation middleware

func (*ServerInterfaceWrapper) LoginOrSignup

func (siw *ServerInterfaceWrapper) LoginOrSignup(w http.ResponseWriter, r *http.Request)

LoginOrSignup operation middleware

func (*ServerInterfaceWrapper) RenameUser

func (siw *ServerInterfaceWrapper) RenameUser(w http.ResponseWriter, r *http.Request)

RenameUser operation middleware

func (*ServerInterfaceWrapper) UpdateFriendRequest

func (siw *ServerInterfaceWrapper) UpdateFriendRequest(w http.ResponseWriter, r *http.Request)

UpdateFriendRequest operation middleware

func (*ServerInterfaceWrapper) UpdateLocation

func (siw *ServerInterfaceWrapper) UpdateLocation(w http.ResponseWriter, r *http.Request)

UpdateLocation operation middleware

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {

	// (DELETE /friends)
	DeleteFriend(ctx context.Context, request DeleteFriendRequestObject) (DeleteFriendResponseObject, error)

	// (GET /friends)
	GetFriends(ctx context.Context, request GetFriendsRequestObject) (GetFriendsResponseObject, error)

	// (GET /friends/locations)
	GetLocationsOfFriends(ctx context.Context, request GetLocationsOfFriendsRequestObject) (GetLocationsOfFriendsResponseObject, error)

	// (POST /friends/request)
	CreateFriendRequest(ctx context.Context, request CreateFriendRequestRequestObject) (CreateFriendRequestResponseObject, error)

	// (GET /friends/requests)
	GetFriendRequests(ctx context.Context, request GetFriendRequestsRequestObject) (GetFriendRequestsResponseObject, error)

	// (POST /friends/response)
	UpdateFriendRequest(ctx context.Context, request UpdateFriendRequestRequestObject) (UpdateFriendRequestResponseObject, error)

	// (POST /login)
	LoginOrSignup(ctx context.Context, request LoginOrSignupRequestObject) (LoginOrSignupResponseObject, error)

	// (POST /me/rename)
	RenameUser(ctx context.Context, request RenameUserRequestObject) (RenameUserResponseObject, error)

	// (POST /updateLocation)
	UpdateLocation(ctx context.Context, request UpdateLocationRequestObject) (UpdateLocationResponseObject, error)

	// (POST /users)
	FindUsers(ctx context.Context, request FindUsersRequestObject) (FindUsersResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnauthorizedErrorResponse

type UnauthorizedErrorResponse struct {
}

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) CreateFriendRequest

func (_ Unimplemented) CreateFriendRequest(w http.ResponseWriter, r *http.Request)

(POST /friends/request)

func (Unimplemented) DeleteFriend

func (_ Unimplemented) DeleteFriend(w http.ResponseWriter, r *http.Request)

(DELETE /friends)

func (Unimplemented) FindUsers

func (_ Unimplemented) FindUsers(w http.ResponseWriter, r *http.Request)

(POST /users)

func (Unimplemented) GetFriendRequests

func (_ Unimplemented) GetFriendRequests(w http.ResponseWriter, r *http.Request)

(GET /friends/requests)

func (Unimplemented) GetFriends

func (_ Unimplemented) GetFriends(w http.ResponseWriter, r *http.Request)

(GET /friends)

func (Unimplemented) GetLocationsOfFriends

func (_ Unimplemented) GetLocationsOfFriends(w http.ResponseWriter, r *http.Request)

(GET /friends/locations)

func (Unimplemented) LoginOrSignup

func (_ Unimplemented) LoginOrSignup(w http.ResponseWriter, r *http.Request)

(POST /login)

func (Unimplemented) RenameUser

func (_ Unimplemented) RenameUser(w http.ResponseWriter, r *http.Request)

(POST /me/rename)

func (Unimplemented) UpdateFriendRequest

func (_ Unimplemented) UpdateFriendRequest(w http.ResponseWriter, r *http.Request)

(POST /friends/response)

func (Unimplemented) UpdateLocation

func (_ Unimplemented) UpdateLocation(w http.ResponseWriter, r *http.Request)

(POST /updateLocation)

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateFriendRequest200Response

type UpdateFriendRequest200Response struct {
}

func (UpdateFriendRequest200Response) VisitUpdateFriendRequestResponse

func (response UpdateFriendRequest200Response) VisitUpdateFriendRequestResponse(w http.ResponseWriter) error

type UpdateFriendRequest401Response

type UpdateFriendRequest401Response = UnauthorizedErrorResponse

func (UpdateFriendRequest401Response) VisitUpdateFriendRequestResponse

func (response UpdateFriendRequest401Response) VisitUpdateFriendRequestResponse(w http.ResponseWriter) error

type UpdateFriendRequestJSONRequestBody

type UpdateFriendRequestJSONRequestBody = FriendResponseRequest

UpdateFriendRequestJSONRequestBody defines body for UpdateFriendRequest for application/json ContentType.

type UpdateFriendRequestRequestObject

type UpdateFriendRequestRequestObject struct {
	Body *UpdateFriendRequestJSONRequestBody
}

type UpdateFriendRequestResponseObject

type UpdateFriendRequestResponseObject interface {
	VisitUpdateFriendRequestResponse(w http.ResponseWriter) error
}

type UpdateFriendRequestdefaultResponse

type UpdateFriendRequestdefaultResponse struct {
	StatusCode int
}

func (UpdateFriendRequestdefaultResponse) VisitUpdateFriendRequestResponse

func (response UpdateFriendRequestdefaultResponse) VisitUpdateFriendRequestResponse(w http.ResponseWriter) error

type UpdateLocation200Response

type UpdateLocation200Response struct {
}

func (UpdateLocation200Response) VisitUpdateLocationResponse

func (response UpdateLocation200Response) VisitUpdateLocationResponse(w http.ResponseWriter) error

type UpdateLocation401Response

type UpdateLocation401Response = UnauthorizedErrorResponse

func (UpdateLocation401Response) VisitUpdateLocationResponse

func (response UpdateLocation401Response) VisitUpdateLocationResponse(w http.ResponseWriter) error

type UpdateLocationJSONRequestBody

type UpdateLocationJSONRequestBody = LocationUpdate

UpdateLocationJSONRequestBody defines body for UpdateLocation for application/json ContentType.

type UpdateLocationRequestObject

type UpdateLocationRequestObject struct {
	Body *UpdateLocationJSONRequestBody
}

type UpdateLocationResponseObject

type UpdateLocationResponseObject interface {
	VisitUpdateLocationResponse(w http.ResponseWriter) error
}

type UpdateLocationdefaultResponse

type UpdateLocationdefaultResponse struct {
	StatusCode int
}

func (UpdateLocationdefaultResponse) VisitUpdateLocationResponse

func (response UpdateLocationdefaultResponse) VisitUpdateLocationResponse(w http.ResponseWriter) error

type UserLocation

type UserLocation struct {
	Latitude  float32 `json:"latitude"`
	Longitude float32 `json:"longitude"`
	Timestamp int64   `json:"timestamp"`
	UserId    string  `json:"userId"`
}

UserLocation The location of a user with a timestamp given in epoch millis

type UserRequest

type UserRequest struct {
	QueryString string `json:"queryString"`
}

UserRequest defines model for UserRequest.

type UserResponse

type UserResponse struct {
	FullName string `json:"fullName"`
	UserId   string `json:"userId"`
}

UserResponse defines model for UserResponse.

Jump to

Keyboard shortcuts

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