Versions in this module Expand all Collapse all v1 v1.0.0 Jun 16, 2019 Changes in this version + func DecodeHmrcCallbackRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error) + func DecodeRegisterRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error) + func DecodeRetrieveRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error) + func EncodeHmrcCallbackError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, error) error + func EncodeHmrcCallbackResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error + func EncodeRegisterError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, error) error + func EncodeRegisterResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error + func EncodeRetrieveError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, error) error + func EncodeRetrieveResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error + func HmrcCallbackMtdPath() string + func Mount(mux goahttp.Muxer, h *Server) + func MountHmrcCallbackHandler(mux goahttp.Muxer, h http.Handler) + func MountRegisterHandler(mux goahttp.Muxer, h http.Handler) + func MountRetrieveHandler(mux goahttp.Muxer, h http.Handler) + func NewHmrcCallbackCodePayload(code *string, state *string, error *string, errorDescription *string, ...) *mtd.CodePayload + func NewHmrcCallbackHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler + func NewRegisterHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler + func NewRegisterStatePayload(state string) *mtd.StatePayload + func NewRetrieveHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler + func NewRetrieveStatePayload(state string) *mtd.StatePayload + func RegisterMtdPath(state string) string + func RetrieveMtdPath(state string) string + type ErrorNamer interface + ErrorName func() string + type HmrcCallbackInvalidRequestResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewHmrcCallbackInvalidRequestResponseBody(res *goa.ServiceError) *HmrcCallbackInvalidRequestResponseBody + type HmrcCallbackKeyLengthErrorResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewHmrcCallbackKeyLengthErrorResponseBody(res *goa.ServiceError) *HmrcCallbackKeyLengthErrorResponseBody + type HmrcCallbackMatchingKeyNotFoundResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewHmrcCallbackMatchingKeyNotFoundResponseBody(res *goa.ServiceError) *HmrcCallbackMatchingKeyNotFoundResponseBody + type MountPoint struct + Method string + Pattern string + Verb string + type RegisterKeyAlreadyExistsResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRegisterKeyAlreadyExistsResponseBody(res *goa.ServiceError) *RegisterKeyAlreadyExistsResponseBody + type RegisterKeyIPMismatchResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRegisterKeyIPMismatchResponseBody(res *goa.ServiceError) *RegisterKeyIPMismatchResponseBody + type RegisterKeyLengthErrorResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRegisterKeyLengthErrorResponseBody(res *goa.ServiceError) *RegisterKeyLengthErrorResponseBody + type RetrieveInvalidRequestResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRetrieveInvalidRequestResponseBody(res *goa.ServiceError) *RetrieveInvalidRequestResponseBody + type RetrieveKeyHasNoTokenResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRetrieveKeyHasNoTokenResponseBody(res *goa.ServiceError) *RetrieveKeyHasNoTokenResponseBody + type RetrieveKeyIPMismatchResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRetrieveKeyIPMismatchResponseBody(res *goa.ServiceError) *RetrieveKeyIPMismatchResponseBody + type RetrieveMatchingKeyNotFoundResponseBody struct + Fault bool + ID string + Message string + Name string + Temporary bool + Timeout bool + func NewRetrieveMatchingKeyNotFoundResponseBody(res *goa.ServiceError) *RetrieveMatchingKeyNotFoundResponseBody + type Server struct + HmrcCallback http.Handler + Mounts []*MountPoint + Register http.Handler + Retrieve http.Handler + func New(e *mtd.Endpoints, mux goahttp.Muxer, dec func(*http.Request) goahttp.Decoder, ...) *Server + func (s *Server) Service() string + func (s *Server) Use(m func(http.Handler) http.Handler)