server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

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, m ServeMux) http.Handler

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

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

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

HandlerWithOptions creates http.Handler with additional options

Types

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 MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

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 ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {
	// ListAPIKeys List all API keys for the current user or organization
	// (GET /v2/api-keys/list)
	ListAPIKeys(w http.ResponseWriter, r *http.Request)
	// GetBalance Get the current user or organization account's balance
	// (GET /v2/customer/balance)
	GetBalance(w http.ResponseWriter, r *http.Request)
	// GetActiveRentalSummary Get a summary of active rentals
	// (GET /v2/on-demand/active-rental-summary)
	GetActiveRentalSummary(w http.ResponseWriter, r *http.Request)
	// ConvertRentalToReserved Convert a rental to a reserved term
	// (POST /v2/on-demand/convert-to-reserved)
	ConvertRentalToReserved(w http.ResponseWriter, r *http.Request)
	// ExtendReservedRental Extend a reserved rental
	// (POST /v2/on-demand/extend-reserved)
	ExtendReservedRental(w http.ResponseWriter, r *http.Request)
	// GetReservationExtensionQuote Get a reservation extension quote
	// (GET /v2/on-demand/get-reservation-extension-quote)
	GetReservationExtensionQuote(w http.ResponseWriter, r *http.Request, params hyperbolic.GetReservationExtensionQuoteParams)
	// GetReservedConversionQuote Get a reserved conversion quote
	// (GET /v2/on-demand/get-reserved-conversion-quote)
	GetReservedConversionQuote(w http.ResponseWriter, r *http.Request, params hyperbolic.GetReservedConversionQuoteParams)
	// HasRentalHistory Check whether any past rentals exist
	// (GET /v2/on-demand/has-rental-history)
	HasRentalHistory(w http.ResponseWriter, r *http.Request, params hyperbolic.HasRentalHistoryParams)
	// GetRental Get a rental
	// (GET /v2/on-demand/rental)
	GetRental(w http.ResponseWriter, r *http.Request, params hyperbolic.GetRentalParams)
	// ListRentalOptions Get a list of rental options
	// (GET /v2/on-demand/rental-options)
	ListRentalOptions(w http.ResponseWriter, r *http.Request)
	// CreateRental Create a rental
	// (POST /v2/on-demand/rentals)
	CreateRental(w http.ResponseWriter, r *http.Request)
	// ListActiveRentals List active rentals
	// (GET /v2/on-demand/rentals/active)
	ListActiveRentals(w http.ResponseWriter, r *http.Request, params hyperbolic.ListActiveRentalsParams)
	// ListRentalHistory List past rentals
	// (GET /v2/on-demand/rentals/history)
	ListRentalHistory(w http.ResponseWriter, r *http.Request, params hyperbolic.ListRentalHistoryParams)
	// SetRentalMonitoringOptOut Opt a rental in or out of Hyperbolic telemetry
	// (POST /v2/on-demand/rentals/monitoring-opt-out)
	SetRentalMonitoringOptOut(w http.ResponseWriter, r *http.Request)
	// RebootRentalInstance Reboot a single instance within a rental
	// (POST /v2/on-demand/rentals/reboot-instance)
	RebootRentalInstance(w http.ResponseWriter, r *http.Request)
	// AttachSSHKey Attach an SSH key to a rental
	// (POST /v2/on-demand/rentals/ssh-keys/attach)
	AttachSSHKey(w http.ResponseWriter, r *http.Request)
	// DetachSSHKey Detach an SSH key from a rental
	// (POST /v2/on-demand/rentals/ssh-keys/detach)
	DetachSSHKey(w http.ResponseWriter, r *http.Request)
	// TerminateRental Terminate a rental
	// (POST /v2/on-demand/rentals/terminate)
	TerminateRental(w http.ResponseWriter, r *http.Request)
	// UpdateRental Update a rental
	// (POST /v2/on-demand/rentals/update)
	UpdateRental(w http.ResponseWriter, r *http.Request)
	// RequestReservation Request a reservation
	// (POST /v2/on-demand/request-reservation)
	RequestReservation(w http.ResponseWriter, r *http.Request)
	// ListReserveOptions Get a list of reserve options
	// (GET /v2/on-demand/reserve-options)
	ListReserveOptions(w http.ResponseWriter, r *http.Request, params hyperbolic.ListReserveOptionsParams)
	// ListStorageVolumeOptions Get a list of storage volume options
	// (GET /v2/on-demand/storage-volume-options)
	ListStorageVolumeOptions(w http.ResponseWriter, r *http.Request)
	// ListStorageVolumes Get a list of storage volumes
	// (GET /v2/on-demand/storage-volumes)
	ListStorageVolumes(w http.ResponseWriter, r *http.Request)
	// CreateStorageVolume Create a storage volume
	// (POST /v2/on-demand/storage-volumes)
	CreateStorageVolume(w http.ResponseWriter, r *http.Request)
	// AttachStorageVolume Attach a storage volume to bare metal instance(s)
	// (POST /v2/on-demand/storage-volumes/attach)
	AttachStorageVolume(w http.ResponseWriter, r *http.Request)
	// TerminateStorageVolume Terminate a storage volume
	// (POST /v2/on-demand/storage-volumes/terminate)
	TerminateStorageVolume(w http.ResponseWriter, r *http.Request)
	// UpdateStorageVolume Update a storage volume
	// (POST /v2/on-demand/storage-volumes/update)
	UpdateStorageVolume(w http.ResponseWriter, r *http.Request)
	// ListSSHKeys List SSH public keys for the current user or organization
	// (GET /v2/ssh-keys)
	ListSSHKeys(w http.ResponseWriter, r *http.Request)
	// CreateSSHKey Create an SSH public key for the current user or organization
	// (POST /v2/ssh-keys)
	CreateSSHKey(w http.ResponseWriter, r *http.Request)
	// DeleteSSHKey Delete an SSH public key
	// (POST /v2/ssh-keys/delete)
	DeleteSSHKey(w http.ResponseWriter, r *http.Request)
	// ListRentalSSHKeys List the SSH public keys attached to a rental
	// (GET /v2/ssh-keys/rental)
	ListRentalSSHKeys(w http.ResponseWriter, r *http.Request, params hyperbolic.ListRentalSSHKeysParams)
	// UpdateSSHKey Rename an SSH public key
	// (POST /v2/ssh-keys/update)
	UpdateSSHKey(w http.ResponseWriter, r *http.Request)
	// DeleteCurrentUser Delete the current user
	// (DELETE /v2/users/me)
	DeleteCurrentUser(w http.ResponseWriter, r *http.Request)
	// GetCurrentUser Get the current user
	// (GET /v2/users/me)
	GetCurrentUser(w http.ResponseWriter, r *http.Request)
	// UpdateCurrentUser Update the current user
	// (PUT /v2/users/me)
	UpdateCurrentUser(w http.ResponseWriter, r *http.Request)
	// VerifyPhoneNumber Verify a phone number
	// (PUT /v2/users/me/verify-phone-number)
	VerifyPhoneNumber(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

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) AttachSSHKey

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

AttachSSHKey operation middleware

func (*ServerInterfaceWrapper) AttachStorageVolume

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

AttachStorageVolume operation middleware

func (*ServerInterfaceWrapper) ConvertRentalToReserved

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

ConvertRentalToReserved operation middleware

func (*ServerInterfaceWrapper) CreateRental

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

CreateRental operation middleware

func (*ServerInterfaceWrapper) CreateSSHKey

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

CreateSSHKey operation middleware

func (*ServerInterfaceWrapper) CreateStorageVolume

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

CreateStorageVolume operation middleware

func (*ServerInterfaceWrapper) DeleteCurrentUser

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

DeleteCurrentUser operation middleware

func (*ServerInterfaceWrapper) DeleteSSHKey

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

DeleteSSHKey operation middleware

func (*ServerInterfaceWrapper) DetachSSHKey

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

DetachSSHKey operation middleware

func (*ServerInterfaceWrapper) ExtendReservedRental

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

ExtendReservedRental operation middleware

func (*ServerInterfaceWrapper) GetActiveRentalSummary

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

GetActiveRentalSummary operation middleware

func (*ServerInterfaceWrapper) GetBalance

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

GetBalance operation middleware

func (*ServerInterfaceWrapper) GetCurrentUser

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

GetCurrentUser operation middleware

func (*ServerInterfaceWrapper) GetRental

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

GetRental operation middleware

func (*ServerInterfaceWrapper) GetReservationExtensionQuote

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

GetReservationExtensionQuote operation middleware

func (*ServerInterfaceWrapper) GetReservedConversionQuote

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

GetReservedConversionQuote operation middleware

func (*ServerInterfaceWrapper) HasRentalHistory

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

HasRentalHistory operation middleware

func (*ServerInterfaceWrapper) ListAPIKeys

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

ListAPIKeys operation middleware

func (*ServerInterfaceWrapper) ListActiveRentals

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

ListActiveRentals operation middleware

func (*ServerInterfaceWrapper) ListRentalHistory

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

ListRentalHistory operation middleware

func (*ServerInterfaceWrapper) ListRentalOptions

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

ListRentalOptions operation middleware

func (*ServerInterfaceWrapper) ListRentalSSHKeys

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

ListRentalSSHKeys operation middleware

func (*ServerInterfaceWrapper) ListReserveOptions

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

ListReserveOptions operation middleware

func (*ServerInterfaceWrapper) ListSSHKeys

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

ListSSHKeys operation middleware

func (*ServerInterfaceWrapper) ListStorageVolumeOptions

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

ListStorageVolumeOptions operation middleware

func (*ServerInterfaceWrapper) ListStorageVolumes

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

ListStorageVolumes operation middleware

func (*ServerInterfaceWrapper) RebootRentalInstance

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

RebootRentalInstance operation middleware

func (*ServerInterfaceWrapper) RequestReservation

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

RequestReservation operation middleware

func (*ServerInterfaceWrapper) SetRentalMonitoringOptOut added in v0.2.0

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

SetRentalMonitoringOptOut operation middleware

func (*ServerInterfaceWrapper) TerminateRental

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

TerminateRental operation middleware

func (*ServerInterfaceWrapper) TerminateStorageVolume

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

TerminateStorageVolume operation middleware

func (*ServerInterfaceWrapper) UpdateCurrentUser

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

UpdateCurrentUser operation middleware

func (*ServerInterfaceWrapper) UpdateRental

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

UpdateRental operation middleware

func (*ServerInterfaceWrapper) UpdateSSHKey

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

UpdateSSHKey operation middleware

func (*ServerInterfaceWrapper) UpdateStorageVolume

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

UpdateStorageVolume operation middleware

func (*ServerInterfaceWrapper) VerifyPhoneNumber

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

VerifyPhoneNumber operation middleware

type StdHTTPServerOptions

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

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

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{}

Unimplemented answers every API operation with 501 Not Implemented. The fake embeds it, so an operation it does not model fails loudly in a test rather than keeping the package from compiling when the API grows.

func (Unimplemented) AttachSSHKey

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

AttachSSHKey answers POST /v2/on-demand/rentals/ssh-keys/attach with 501.

func (Unimplemented) AttachStorageVolume

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

AttachStorageVolume answers POST /v2/on-demand/storage-volumes/attach with 501.

func (Unimplemented) ConvertRentalToReserved

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

ConvertRentalToReserved answers POST /v2/on-demand/convert-to-reserved with 501.

func (Unimplemented) CreateRental

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

CreateRental answers POST /v2/on-demand/rentals with 501.

func (Unimplemented) CreateSSHKey

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

CreateSSHKey answers POST /v2/ssh-keys with 501.

func (Unimplemented) CreateStorageVolume

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

CreateStorageVolume answers POST /v2/on-demand/storage-volumes with 501.

func (Unimplemented) DeleteCurrentUser

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

DeleteCurrentUser answers DELETE /v2/users/me with 501.

func (Unimplemented) DeleteSSHKey

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

DeleteSSHKey answers POST /v2/ssh-keys/delete with 501.

func (Unimplemented) DetachSSHKey

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

DetachSSHKey answers POST /v2/on-demand/rentals/ssh-keys/detach with 501.

func (Unimplemented) ExtendReservedRental

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

ExtendReservedRental answers POST /v2/on-demand/extend-reserved with 501.

func (Unimplemented) GetActiveRentalSummary

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

GetActiveRentalSummary answers GET /v2/on-demand/active-rental-summary with 501.

func (Unimplemented) GetBalance

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

GetBalance answers GET /v2/customer/balance with 501.

func (Unimplemented) GetCurrentUser

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

GetCurrentUser answers GET /v2/users/me with 501.

func (Unimplemented) GetRental

GetRental answers GET /v2/on-demand/rental with 501.

func (Unimplemented) GetReservationExtensionQuote

GetReservationExtensionQuote answers GET /v2/on-demand/get-reservation-extension-quote with 501.

func (Unimplemented) GetReservedConversionQuote

GetReservedConversionQuote answers GET /v2/on-demand/get-reserved-conversion-quote with 501.

func (Unimplemented) HasRentalHistory

HasRentalHistory answers GET /v2/on-demand/has-rental-history with 501.

func (Unimplemented) ListAPIKeys

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

ListAPIKeys answers GET /v2/api-keys/list with 501.

func (Unimplemented) ListActiveRentals

ListActiveRentals answers GET /v2/on-demand/rentals/active with 501.

func (Unimplemented) ListRentalHistory

ListRentalHistory answers GET /v2/on-demand/rentals/history with 501.

func (Unimplemented) ListRentalOptions

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

ListRentalOptions answers GET /v2/on-demand/rental-options with 501.

func (Unimplemented) ListRentalSSHKeys

ListRentalSSHKeys answers GET /v2/ssh-keys/rental with 501.

func (Unimplemented) ListReserveOptions

ListReserveOptions answers GET /v2/on-demand/reserve-options with 501.

func (Unimplemented) ListSSHKeys

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

ListSSHKeys answers GET /v2/ssh-keys with 501.

func (Unimplemented) ListStorageVolumeOptions

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

ListStorageVolumeOptions answers GET /v2/on-demand/storage-volume-options with 501.

func (Unimplemented) ListStorageVolumes

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

ListStorageVolumes answers GET /v2/on-demand/storage-volumes with 501.

func (Unimplemented) RebootRentalInstance

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

RebootRentalInstance answers POST /v2/on-demand/rentals/reboot-instance with 501.

func (Unimplemented) RequestReservation

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

RequestReservation answers POST /v2/on-demand/request-reservation with 501.

func (Unimplemented) SetRentalMonitoringOptOut added in v0.2.0

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

SetRentalMonitoringOptOut answers POST /v2/on-demand/rentals/monitoring-opt-out with 501.

func (Unimplemented) TerminateRental

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

TerminateRental answers POST /v2/on-demand/rentals/terminate with 501.

func (Unimplemented) TerminateStorageVolume

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

TerminateStorageVolume answers POST /v2/on-demand/storage-volumes/terminate with 501.

func (Unimplemented) UpdateCurrentUser

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

UpdateCurrentUser answers PUT /v2/users/me with 501.

func (Unimplemented) UpdateRental

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

UpdateRental answers POST /v2/on-demand/rentals/update with 501.

func (Unimplemented) UpdateSSHKey

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

UpdateSSHKey answers POST /v2/ssh-keys/update with 501.

func (Unimplemented) UpdateStorageVolume

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

UpdateStorageVolume answers POST /v2/on-demand/storage-volumes/update with 501.

func (Unimplemented) VerifyPhoneNumber

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

VerifyPhoneNumber answers PUT /v2/users/me/verify-phone-number with 501.

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

Jump to

Keyboard shortcuts

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