Documentation ¶
Index ¶
- func AcceptTncUserPath(userID int32) string
- func AddUserPath() string
- func AdminDeleteUserPath() string
- func AdminSearchUserPath() string
- func AdminTermsAndConditionsUserPath() string
- func ChangePasswordUserPath(userID int32) string
- func DecodeAcceptTncRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeAddRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeAdminDeleteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeAdminSearchRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeAdminTermsAndConditionsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeChangePasswordRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeDownloadPhotoRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeGetCurrentRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeIssueTransmissionTokenRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeListByProjectRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeLoginRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeLogoutRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeMentionablesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeRecoveryLookupRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeRecoveryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeRefreshRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeResumeRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeRolesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeSendValidationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeUpdateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeUploadPhotoRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeValidateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DownloadPhotoUserPath(userID int32) string
- func EncodeAcceptTncError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeAcceptTncResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeAddError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeAddResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeAdminDeleteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeAdminDeleteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeAdminSearchError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeAdminSearchResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeAdminTermsAndConditionsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeAdminTermsAndConditionsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeChangePasswordError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeChangePasswordResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeDownloadPhotoError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeDownloadPhotoResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeGetCurrentError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeGetCurrentResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeIssueTransmissionTokenError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeIssueTransmissionTokenResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeListByProjectError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeListByProjectResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeLoginError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeLoginResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeLogoutError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeLogoutResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeMentionablesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeMentionablesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeProjectRolesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeProjectRolesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeRecoveryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeRecoveryLookupError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeRecoveryLookupResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeRecoveryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeRefreshError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeRefreshResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeResumeError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeResumeResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeRolesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeRolesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeSendValidationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeSendValidationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeUpdateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeUpdateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeUploadPhotoError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeUploadPhotoResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeValidateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeValidateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func GetCurrentUserPath() string
- func IssueTransmissionTokenUserPath() string
- func ListByProjectUserPath(projectID int32) string
- func LoginUserPath() string
- func LogoutUserPath() string
- func MentionablesUserPath() string
- func Mount(mux goahttp.Muxer, h *Server)
- func MountAcceptTncHandler(mux goahttp.Muxer, h http.Handler)
- func MountAddHandler(mux goahttp.Muxer, h http.Handler)
- func MountAdminDeleteHandler(mux goahttp.Muxer, h http.Handler)
- func MountAdminSearchHandler(mux goahttp.Muxer, h http.Handler)
- func MountAdminTermsAndConditionsHandler(mux goahttp.Muxer, h http.Handler)
- func MountCORSHandler(mux goahttp.Muxer, h http.Handler)
- func MountChangePasswordHandler(mux goahttp.Muxer, h http.Handler)
- func MountDownloadPhotoHandler(mux goahttp.Muxer, h http.Handler)
- func MountGetCurrentHandler(mux goahttp.Muxer, h http.Handler)
- func MountIssueTransmissionTokenHandler(mux goahttp.Muxer, h http.Handler)
- func MountListByProjectHandler(mux goahttp.Muxer, h http.Handler)
- func MountLoginHandler(mux goahttp.Muxer, h http.Handler)
- func MountLogoutHandler(mux goahttp.Muxer, h http.Handler)
- func MountMentionablesHandler(mux goahttp.Muxer, h http.Handler)
- func MountProjectRolesHandler(mux goahttp.Muxer, h http.Handler)
- func MountRecoveryHandler(mux goahttp.Muxer, h http.Handler)
- func MountRecoveryLookupHandler(mux goahttp.Muxer, h http.Handler)
- func MountRefreshHandler(mux goahttp.Muxer, h http.Handler)
- func MountResumeHandler(mux goahttp.Muxer, h http.Handler)
- func MountRolesHandler(mux goahttp.Muxer, h http.Handler)
- func MountSendValidationHandler(mux goahttp.Muxer, h http.Handler)
- func MountUpdateHandler(mux goahttp.Muxer, h http.Handler)
- func MountUploadPhotoHandler(mux goahttp.Muxer, h http.Handler)
- func MountValidateHandler(mux goahttp.Muxer, h http.Handler)
- func NewAcceptTncHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewAcceptTncPayload(body *AcceptTncRequestBody, userID int32, auth string) *user.AcceptTncPayload
- func NewAddHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewAddPayload(body *AddRequestBody) *user.AddPayload
- func NewAdminDeleteHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewAdminDeletePayload(body *AdminDeleteRequestBody, auth string) *user.AdminDeletePayload
- func NewAdminSearchHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewAdminSearchPayload(query string, auth string) *user.AdminSearchPayload
- func NewAdminTermsAndConditionsHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewAdminTermsAndConditionsPayload(body *AdminTermsAndConditionsRequestBody, auth string) *user.AdminTermsAndConditionsPayload
- func NewCORSHandler() http.Handler
- func NewChangePasswordHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewChangePasswordPayload(body *ChangePasswordRequestBody, userID int32, auth string) *user.ChangePasswordPayload
- func NewDownloadPhotoHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewDownloadPhotoPayload(userID int32, size *int32, ifNoneMatch *string) *user.DownloadPhotoPayload
- func NewGetCurrentHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewGetCurrentPayload(auth string) *user.GetCurrentPayload
- func NewIssueTransmissionTokenHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewIssueTransmissionTokenPayload(auth string) *user.IssueTransmissionTokenPayload
- func NewListByProjectHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewListByProjectPayload(projectID int32, auth *string) *user.ListByProjectPayload
- func NewLoginHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewLoginPayload(body *LoginRequestBody) *user.LoginPayload
- func NewLogoutHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewLogoutPayload(auth string) *user.LogoutPayload
- func NewMentionablesHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewMentionablesPayload(projectID *int32, bookmark *string, query string, auth string) *user.MentionablesPayload
- func NewProjectRolesHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewRecoveryHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewRecoveryLookupHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewRecoveryLookupPayload(body *RecoveryLookupRequestBody) *user.RecoveryLookupPayload
- func NewRecoveryPayload(body *RecoveryRequestBody) *user.RecoveryPayload
- func NewRefreshHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewRefreshPayload(body *RefreshRequestBody) *user.RefreshPayload
- func NewResumeHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewResumePayload(body struct{ ... }) *user.ResumePayload
- func NewRolesHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewRolesPayload(auth string) *user.RolesPayload
- func NewSendValidationHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewSendValidationPayload(userID int32) *user.SendValidationPayload
- func NewUpdateHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewUpdatePayload(body *UpdateRequestBody, userID int32, auth string) *user.UpdatePayload
- func NewUploadPhotoHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewUploadPhotoPayload(contentType string, contentLength int64, auth string) *user.UploadPhotoPayload
- func NewValidateHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewValidatePayload(token string) *user.ValidatePayload
- func ProjectRolesUserPath() string
- func RecoveryLookupUserPath() string
- func RecoveryUserPath() string
- func RefreshUserPath() string
- func ResumeUserPath() string
- func RolesUserPath() string
- func SendValidationUserPath(userID int32) string
- func UpdateUserPath(userID int32) string
- func UploadPhotoUserPath() string
- func ValidateAcceptTncRequestBody(body *AcceptTncRequestBody) (err error)
- func ValidateAddRequestBody(body *AddRequestBody) (err error)
- func ValidateAdminDeleteRequestBody(body *AdminDeleteRequestBody) (err error)
- func ValidateAdminTermsAndConditionsRequestBody(body *AdminTermsAndConditionsRequestBody) (err error)
- func ValidateChangePasswordRequestBody(body *ChangePasswordRequestBody) (err error)
- func ValidateLoginRequestBody(body *LoginRequestBody) (err error)
- func ValidateRecoveryLookupRequestBody(body *RecoveryLookupRequestBody) (err error)
- func ValidateRecoveryRequestBody(body *RecoveryRequestBody) (err error)
- func ValidateRefreshRequestBody(body *RefreshRequestBody) (err error)
- func ValidateUpdateRequestBody(body *UpdateRequestBody) (err error)
- func ValidateUserPath() string
- type AcceptTncBadRequestResponseBody
- type AcceptTncForbiddenResponseBody
- type AcceptTncNotFoundResponseBody
- type AcceptTncRequestBody
- type AcceptTncResponseBody
- type AcceptTncUnauthorizedResponseBody
- type AddBadRequestResponseBody
- type AddForbiddenResponseBody
- type AddNotFoundResponseBody
- type AddRequestBody
- type AddResponseBody
- type AddUnauthorizedResponseBody
- type AddUserEmailRegisteredResponseBody
- type AdminDeleteBadRequestResponseBody
- type AdminDeleteForbiddenResponseBody
- type AdminDeleteNotFoundResponseBody
- type AdminDeleteRequestBody
- type AdminDeleteUnauthorizedResponseBody
- type AdminSearchBadRequestResponseBody
- type AdminSearchForbiddenResponseBody
- type AdminSearchNotFoundResponseBody
- type AdminSearchResponseBody
- type AdminSearchUnauthorizedResponseBody
- type AdminTermsAndConditionsBadRequestResponseBody
- type AdminTermsAndConditionsForbiddenResponseBody
- type AdminTermsAndConditionsNotFoundResponseBody
- type AdminTermsAndConditionsRequestBody
- type AdminTermsAndConditionsUnauthorizedResponseBody
- type AvailableRoleResponseBody
- type ChangePasswordBadRequestResponseBody
- type ChangePasswordForbiddenResponseBody
- type ChangePasswordNotFoundResponseBody
- type ChangePasswordRequestBody
- type ChangePasswordResponseBody
- type ChangePasswordUnauthorizedResponseBody
- type DownloadPhotoBadRequestResponseBody
- type DownloadPhotoForbiddenResponseBody
- type DownloadPhotoNotFoundResponseBody
- type DownloadPhotoResponseBody
- type DownloadPhotoUnauthorizedResponseBody
- type ErrorNamer
- type GetCurrentBadRequestResponseBody
- type GetCurrentForbiddenResponseBody
- type GetCurrentNotFoundResponseBody
- type GetCurrentResponseBody
- type GetCurrentUnauthorizedResponseBody
- type IssueTransmissionTokenBadRequestResponseBody
- type IssueTransmissionTokenForbiddenResponseBody
- type IssueTransmissionTokenNotFoundResponseBody
- type IssueTransmissionTokenResponseBody
- type IssueTransmissionTokenUnauthorizedResponseBody
- type ListByProjectBadRequestResponseBody
- type ListByProjectForbiddenResponseBody
- type ListByProjectNotFoundResponseBody
- type ListByProjectResponseBody
- type ListByProjectUnauthorizedResponseBody
- type LoginBadRequestResponseBody
- type LoginForbiddenResponseBody
- type LoginNotFoundResponseBody
- type LoginRequestBody
- type LoginUnauthorizedResponseBody
- type LoginUserUnverifiedResponseBody
- type LogoutBadRequestResponseBody
- type LogoutForbiddenResponseBody
- type LogoutNotFoundResponseBody
- type LogoutUnauthorizedResponseBody
- type MentionableUserResponseBody
- type MentionableUserResponseBodyCollection
- type MentionablesBadRequestResponseBody
- type MentionablesForbiddenResponseBody
- type MentionablesNotFoundResponseBody
- type MentionablesResponseBody
- type MentionablesUnauthorizedResponseBody
- type MountPoint
- type ProjectRoleResponse
- type ProjectRoleResponseCollection
- type ProjectRolesBadRequestResponseBody
- type ProjectRolesForbiddenResponseBody
- type ProjectRolesNotFoundResponseBody
- type ProjectRolesUnauthorizedResponseBody
- type ProjectUserResponseBody
- type ProjectUserResponseBodyCollection
- type RecoveryBadRequestResponseBody
- type RecoveryForbiddenResponseBody
- type RecoveryLookupBadRequestResponseBody
- type RecoveryLookupForbiddenResponseBody
- type RecoveryLookupNotFoundResponseBody
- type RecoveryLookupRequestBody
- type RecoveryLookupUnauthorizedResponseBody
- type RecoveryNotFoundResponseBody
- type RecoveryRequestBody
- type RecoveryUnauthorizedResponseBody
- type RefreshBadRequestResponseBody
- type RefreshForbiddenResponseBody
- type RefreshNotFoundResponseBody
- type RefreshRequestBody
- type RefreshUnauthorizedResponseBody
- type ResumeBadRequestResponseBody
- type ResumeForbiddenResponseBody
- type ResumeNotFoundResponseBody
- type ResumeUnauthorizedResponseBody
- type RolesBadRequestResponseBody
- type RolesForbiddenResponseBody
- type RolesNotFoundResponseBody
- type RolesResponseBody
- type RolesUnauthorizedResponseBody
- type SendValidationBadRequestResponseBody
- type SendValidationForbiddenResponseBody
- type SendValidationNotFoundResponseBody
- type SendValidationUnauthorizedResponseBody
- type Server
- type UpdateBadRequestResponseBody
- type UpdateForbiddenResponseBody
- type UpdateNotFoundResponseBody
- type UpdateRequestBody
- type UpdateResponseBody
- type UpdateUnauthorizedResponseBody
- type UploadPhotoBadRequestResponseBody
- type UploadPhotoForbiddenResponseBody
- type UploadPhotoNotFoundResponseBody
- type UploadPhotoUnauthorizedResponseBody
- type UserCollectionResponseBody
- type UserPhotoResponseBody
- type UserResponseBody
- type ValidateBadRequestResponseBody
- type ValidateForbiddenResponseBody
- type ValidateNotFoundResponseBody
- type ValidateUnauthorizedResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptTncUserPath ¶
AcceptTncUserPath returns the URL path to the user service accept tnc HTTP endpoint.
func AddUserPath ¶
func AddUserPath() string
AddUserPath returns the URL path to the user service add HTTP endpoint.
func AdminDeleteUserPath ¶
func AdminDeleteUserPath() string
AdminDeleteUserPath returns the URL path to the user service admin delete HTTP endpoint.
func AdminSearchUserPath ¶
func AdminSearchUserPath() string
AdminSearchUserPath returns the URL path to the user service admin search HTTP endpoint.
func AdminTermsAndConditionsUserPath ¶
func AdminTermsAndConditionsUserPath() string
AdminTermsAndConditionsUserPath returns the URL path to the user service admin terms and conditions HTTP endpoint.
func ChangePasswordUserPath ¶
ChangePasswordUserPath returns the URL path to the user service change password HTTP endpoint.
func DecodeAcceptTncRequest ¶
func DecodeAcceptTncRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeAcceptTncRequest returns a decoder for requests sent to the user accept tnc endpoint.
func DecodeAddRequest ¶
func DecodeAddRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeAddRequest returns a decoder for requests sent to the user add endpoint.
func DecodeAdminDeleteRequest ¶
func DecodeAdminDeleteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeAdminDeleteRequest returns a decoder for requests sent to the user admin delete endpoint.
func DecodeAdminSearchRequest ¶
func DecodeAdminSearchRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeAdminSearchRequest returns a decoder for requests sent to the user admin search endpoint.
func DecodeAdminTermsAndConditionsRequest ¶
func DecodeAdminTermsAndConditionsRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeAdminTermsAndConditionsRequest returns a decoder for requests sent to the user admin terms and conditions endpoint.
func DecodeChangePasswordRequest ¶
func DecodeChangePasswordRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeChangePasswordRequest returns a decoder for requests sent to the user change password endpoint.
func DecodeDownloadPhotoRequest ¶
func DecodeDownloadPhotoRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeDownloadPhotoRequest returns a decoder for requests sent to the user download photo endpoint.
func DecodeGetCurrentRequest ¶
func DecodeGetCurrentRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeGetCurrentRequest returns a decoder for requests sent to the user get current endpoint.
func DecodeIssueTransmissionTokenRequest ¶
func DecodeIssueTransmissionTokenRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeIssueTransmissionTokenRequest returns a decoder for requests sent to the user issue transmission token endpoint.
func DecodeListByProjectRequest ¶
func DecodeListByProjectRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeListByProjectRequest returns a decoder for requests sent to the user list by project endpoint.
func DecodeLoginRequest ¶
func DecodeLoginRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeLoginRequest returns a decoder for requests sent to the user login endpoint.
func DecodeLogoutRequest ¶
func DecodeLogoutRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeLogoutRequest returns a decoder for requests sent to the user logout endpoint.
func DecodeMentionablesRequest ¶
func DecodeMentionablesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeMentionablesRequest returns a decoder for requests sent to the user mentionables endpoint.
func DecodeRecoveryLookupRequest ¶
func DecodeRecoveryLookupRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeRecoveryLookupRequest returns a decoder for requests sent to the user recovery lookup endpoint.
func DecodeRecoveryRequest ¶
func DecodeRecoveryRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeRecoveryRequest returns a decoder for requests sent to the user recovery endpoint.
func DecodeRefreshRequest ¶
func DecodeRefreshRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeRefreshRequest returns a decoder for requests sent to the user refresh endpoint.
func DecodeResumeRequest ¶
func DecodeResumeRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeResumeRequest returns a decoder for requests sent to the user resume endpoint.
func DecodeRolesRequest ¶
func DecodeRolesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeRolesRequest returns a decoder for requests sent to the user roles endpoint.
func DecodeSendValidationRequest ¶
func DecodeSendValidationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeSendValidationRequest returns a decoder for requests sent to the user send validation endpoint.
func DecodeUpdateRequest ¶
func DecodeUpdateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeUpdateRequest returns a decoder for requests sent to the user update endpoint.
func DecodeUploadPhotoRequest ¶
func DecodeUploadPhotoRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeUploadPhotoRequest returns a decoder for requests sent to the user upload photo endpoint.
func DecodeValidateRequest ¶
func DecodeValidateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeValidateRequest returns a decoder for requests sent to the user validate endpoint.
func DownloadPhotoUserPath ¶
DownloadPhotoUserPath returns the URL path to the user service download photo HTTP endpoint.
func EncodeAcceptTncError ¶
func EncodeAcceptTncError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeAcceptTncError returns an encoder for errors returned by the accept tnc user endpoint.
func EncodeAcceptTncResponse ¶
func EncodeAcceptTncResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeAcceptTncResponse returns an encoder for responses returned by the user accept tnc endpoint.
func EncodeAddError ¶
func EncodeAddError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeAddError returns an encoder for errors returned by the add user endpoint.
func EncodeAddResponse ¶
func EncodeAddResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeAddResponse returns an encoder for responses returned by the user add endpoint.
func EncodeAdminDeleteError ¶
func EncodeAdminDeleteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeAdminDeleteError returns an encoder for errors returned by the admin delete user endpoint.
func EncodeAdminDeleteResponse ¶
func EncodeAdminDeleteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeAdminDeleteResponse returns an encoder for responses returned by the user admin delete endpoint.
func EncodeAdminSearchError ¶
func EncodeAdminSearchError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeAdminSearchError returns an encoder for errors returned by the admin search user endpoint.
func EncodeAdminSearchResponse ¶
func EncodeAdminSearchResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeAdminSearchResponse returns an encoder for responses returned by the user admin search endpoint.
func EncodeAdminTermsAndConditionsError ¶
func EncodeAdminTermsAndConditionsError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeAdminTermsAndConditionsError returns an encoder for errors returned by the admin terms and conditions user endpoint.
func EncodeAdminTermsAndConditionsResponse ¶
func EncodeAdminTermsAndConditionsResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeAdminTermsAndConditionsResponse returns an encoder for responses returned by the user admin terms and conditions endpoint.
func EncodeChangePasswordError ¶
func EncodeChangePasswordError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeChangePasswordError returns an encoder for errors returned by the change password user endpoint.
func EncodeChangePasswordResponse ¶
func EncodeChangePasswordResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeChangePasswordResponse returns an encoder for responses returned by the user change password endpoint.
func EncodeDownloadPhotoError ¶
func EncodeDownloadPhotoError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeDownloadPhotoError returns an encoder for errors returned by the download photo user endpoint.
func EncodeDownloadPhotoResponse ¶
func EncodeDownloadPhotoResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeDownloadPhotoResponse returns an encoder for responses returned by the user download photo endpoint.
func EncodeGetCurrentError ¶
func EncodeGetCurrentError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeGetCurrentError returns an encoder for errors returned by the get current user endpoint.
func EncodeGetCurrentResponse ¶
func EncodeGetCurrentResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeGetCurrentResponse returns an encoder for responses returned by the user get current endpoint.
func EncodeIssueTransmissionTokenError ¶
func EncodeIssueTransmissionTokenError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeIssueTransmissionTokenError returns an encoder for errors returned by the issue transmission token user endpoint.
func EncodeIssueTransmissionTokenResponse ¶
func EncodeIssueTransmissionTokenResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeIssueTransmissionTokenResponse returns an encoder for responses returned by the user issue transmission token endpoint.
func EncodeListByProjectError ¶
func EncodeListByProjectError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeListByProjectError returns an encoder for errors returned by the list by project user endpoint.
func EncodeListByProjectResponse ¶
func EncodeListByProjectResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeListByProjectResponse returns an encoder for responses returned by the user list by project endpoint.
func EncodeLoginError ¶
func EncodeLoginError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeLoginError returns an encoder for errors returned by the login user endpoint.
func EncodeLoginResponse ¶
func EncodeLoginResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeLoginResponse returns an encoder for responses returned by the user login endpoint.
func EncodeLogoutError ¶
func EncodeLogoutError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeLogoutError returns an encoder for errors returned by the logout user endpoint.
func EncodeLogoutResponse ¶
func EncodeLogoutResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeLogoutResponse returns an encoder for responses returned by the user logout endpoint.
func EncodeMentionablesError ¶
func EncodeMentionablesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeMentionablesError returns an encoder for errors returned by the mentionables user endpoint.
func EncodeMentionablesResponse ¶
func EncodeMentionablesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeMentionablesResponse returns an encoder for responses returned by the user mentionables endpoint.
func EncodeProjectRolesError ¶
func EncodeProjectRolesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeProjectRolesError returns an encoder for errors returned by the project roles user endpoint.
func EncodeProjectRolesResponse ¶
func EncodeProjectRolesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeProjectRolesResponse returns an encoder for responses returned by the user project roles endpoint.
func EncodeRecoveryError ¶
func EncodeRecoveryError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeRecoveryError returns an encoder for errors returned by the recovery user endpoint.
func EncodeRecoveryLookupError ¶
func EncodeRecoveryLookupError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeRecoveryLookupError returns an encoder for errors returned by the recovery lookup user endpoint.
func EncodeRecoveryLookupResponse ¶
func EncodeRecoveryLookupResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeRecoveryLookupResponse returns an encoder for responses returned by the user recovery lookup endpoint.
func EncodeRecoveryResponse ¶
func EncodeRecoveryResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeRecoveryResponse returns an encoder for responses returned by the user recovery endpoint.
func EncodeRefreshError ¶
func EncodeRefreshError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeRefreshError returns an encoder for errors returned by the refresh user endpoint.
func EncodeRefreshResponse ¶
func EncodeRefreshResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeRefreshResponse returns an encoder for responses returned by the user refresh endpoint.
func EncodeResumeError ¶
func EncodeResumeError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeResumeError returns an encoder for errors returned by the resume user endpoint.
func EncodeResumeResponse ¶
func EncodeResumeResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeResumeResponse returns an encoder for responses returned by the user resume endpoint.
func EncodeRolesError ¶
func EncodeRolesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeRolesError returns an encoder for errors returned by the roles user endpoint.
func EncodeRolesResponse ¶
func EncodeRolesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeRolesResponse returns an encoder for responses returned by the user roles endpoint.
func EncodeSendValidationError ¶
func EncodeSendValidationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeSendValidationError returns an encoder for errors returned by the send validation user endpoint.
func EncodeSendValidationResponse ¶
func EncodeSendValidationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeSendValidationResponse returns an encoder for responses returned by the user send validation endpoint.
func EncodeUpdateError ¶
func EncodeUpdateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeUpdateError returns an encoder for errors returned by the update user endpoint.
func EncodeUpdateResponse ¶
func EncodeUpdateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeUpdateResponse returns an encoder for responses returned by the user update endpoint.
func EncodeUploadPhotoError ¶
func EncodeUploadPhotoError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeUploadPhotoError returns an encoder for errors returned by the upload photo user endpoint.
func EncodeUploadPhotoResponse ¶
func EncodeUploadPhotoResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeUploadPhotoResponse returns an encoder for responses returned by the user upload photo endpoint.
func EncodeValidateError ¶
func EncodeValidateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeValidateError returns an encoder for errors returned by the validate user endpoint.
func EncodeValidateResponse ¶
func EncodeValidateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeValidateResponse returns an encoder for responses returned by the user validate endpoint.
func GetCurrentUserPath ¶
func GetCurrentUserPath() string
GetCurrentUserPath returns the URL path to the user service get current HTTP endpoint.
func IssueTransmissionTokenUserPath ¶
func IssueTransmissionTokenUserPath() string
IssueTransmissionTokenUserPath returns the URL path to the user service issue transmission token HTTP endpoint.
func ListByProjectUserPath ¶
ListByProjectUserPath returns the URL path to the user service list by project HTTP endpoint.
func LoginUserPath ¶
func LoginUserPath() string
LoginUserPath returns the URL path to the user service login HTTP endpoint.
func LogoutUserPath ¶
func LogoutUserPath() string
LogoutUserPath returns the URL path to the user service logout HTTP endpoint.
func MentionablesUserPath ¶
func MentionablesUserPath() string
MentionablesUserPath returns the URL path to the user service mentionables HTTP endpoint.
func MountAcceptTncHandler ¶
MountAcceptTncHandler configures the mux to serve the "user" service "accept tnc" endpoint.
func MountAddHandler ¶
MountAddHandler configures the mux to serve the "user" service "add" endpoint.
func MountAdminDeleteHandler ¶
MountAdminDeleteHandler configures the mux to serve the "user" service "admin delete" endpoint.
func MountAdminSearchHandler ¶
MountAdminSearchHandler configures the mux to serve the "user" service "admin search" endpoint.
func MountAdminTermsAndConditionsHandler ¶
MountAdminTermsAndConditionsHandler configures the mux to serve the "user" service "admin terms and conditions" endpoint.
func MountCORSHandler ¶
MountCORSHandler configures the mux to serve the CORS endpoints for the service user.
func MountChangePasswordHandler ¶
MountChangePasswordHandler configures the mux to serve the "user" service "change password" endpoint.
func MountDownloadPhotoHandler ¶
MountDownloadPhotoHandler configures the mux to serve the "user" service "download photo" endpoint.
func MountGetCurrentHandler ¶
MountGetCurrentHandler configures the mux to serve the "user" service "get current" endpoint.
func MountIssueTransmissionTokenHandler ¶
MountIssueTransmissionTokenHandler configures the mux to serve the "user" service "issue transmission token" endpoint.
func MountListByProjectHandler ¶
MountListByProjectHandler configures the mux to serve the "user" service "list by project" endpoint.
func MountLoginHandler ¶
MountLoginHandler configures the mux to serve the "user" service "login" endpoint.
func MountLogoutHandler ¶
MountLogoutHandler configures the mux to serve the "user" service "logout" endpoint.
func MountMentionablesHandler ¶
MountMentionablesHandler configures the mux to serve the "user" service "mentionables" endpoint.
func MountProjectRolesHandler ¶
MountProjectRolesHandler configures the mux to serve the "user" service "project roles" endpoint.
func MountRecoveryHandler ¶
MountRecoveryHandler configures the mux to serve the "user" service "recovery" endpoint.
func MountRecoveryLookupHandler ¶
MountRecoveryLookupHandler configures the mux to serve the "user" service "recovery lookup" endpoint.
func MountRefreshHandler ¶
MountRefreshHandler configures the mux to serve the "user" service "refresh" endpoint.
func MountResumeHandler ¶
MountResumeHandler configures the mux to serve the "user" service "resume" endpoint.
func MountRolesHandler ¶
MountRolesHandler configures the mux to serve the "user" service "roles" endpoint.
func MountSendValidationHandler ¶
MountSendValidationHandler configures the mux to serve the "user" service "send validation" endpoint.
func MountUpdateHandler ¶
MountUpdateHandler configures the mux to serve the "user" service "update" endpoint.
func MountUploadPhotoHandler ¶
MountUploadPhotoHandler configures the mux to serve the "user" service "upload photo" endpoint.
func MountValidateHandler ¶
MountValidateHandler configures the mux to serve the "user" service "validate" endpoint.
func NewAcceptTncHandler ¶
func NewAcceptTncHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewAcceptTncHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "accept tnc" endpoint.
func NewAcceptTncPayload ¶
func NewAcceptTncPayload(body *AcceptTncRequestBody, userID int32, auth string) *user.AcceptTncPayload
NewAcceptTncPayload builds a user service accept tnc endpoint payload.
func NewAddHandler ¶
func NewAddHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewAddHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "add" endpoint.
func NewAddPayload ¶
func NewAddPayload(body *AddRequestBody) *user.AddPayload
NewAddPayload builds a user service add endpoint payload.
func NewAdminDeleteHandler ¶
func NewAdminDeleteHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewAdminDeleteHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "admin delete" endpoint.
func NewAdminDeletePayload ¶
func NewAdminDeletePayload(body *AdminDeleteRequestBody, auth string) *user.AdminDeletePayload
NewAdminDeletePayload builds a user service admin delete endpoint payload.
func NewAdminSearchHandler ¶
func NewAdminSearchHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewAdminSearchHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "admin search" endpoint.
func NewAdminSearchPayload ¶
func NewAdminSearchPayload(query string, auth string) *user.AdminSearchPayload
NewAdminSearchPayload builds a user service admin search endpoint payload.
func NewAdminTermsAndConditionsHandler ¶
func NewAdminTermsAndConditionsHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewAdminTermsAndConditionsHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "admin terms and conditions" endpoint.
func NewAdminTermsAndConditionsPayload ¶
func NewAdminTermsAndConditionsPayload(body *AdminTermsAndConditionsRequestBody, auth string) *user.AdminTermsAndConditionsPayload
NewAdminTermsAndConditionsPayload builds a user service admin terms and conditions endpoint payload.
func NewCORSHandler ¶
NewCORSHandler creates a HTTP handler which returns a simple 200 response.
func NewChangePasswordHandler ¶
func NewChangePasswordHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewChangePasswordHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "change password" endpoint.
func NewChangePasswordPayload ¶
func NewChangePasswordPayload(body *ChangePasswordRequestBody, userID int32, auth string) *user.ChangePasswordPayload
NewChangePasswordPayload builds a user service change password endpoint payload.
func NewDownloadPhotoHandler ¶
func NewDownloadPhotoHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewDownloadPhotoHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "download photo" endpoint.
func NewDownloadPhotoPayload ¶
func NewDownloadPhotoPayload(userID int32, size *int32, ifNoneMatch *string) *user.DownloadPhotoPayload
NewDownloadPhotoPayload builds a user service download photo endpoint payload.
func NewGetCurrentHandler ¶
func NewGetCurrentHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewGetCurrentHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "get current" endpoint.
func NewGetCurrentPayload ¶
func NewGetCurrentPayload(auth string) *user.GetCurrentPayload
NewGetCurrentPayload builds a user service get current endpoint payload.
func NewIssueTransmissionTokenHandler ¶
func NewIssueTransmissionTokenHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewIssueTransmissionTokenHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "issue transmission token" endpoint.
func NewIssueTransmissionTokenPayload ¶
func NewIssueTransmissionTokenPayload(auth string) *user.IssueTransmissionTokenPayload
NewIssueTransmissionTokenPayload builds a user service issue transmission token endpoint payload.
func NewListByProjectHandler ¶
func NewListByProjectHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewListByProjectHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "list by project" endpoint.
func NewListByProjectPayload ¶
func NewListByProjectPayload(projectID int32, auth *string) *user.ListByProjectPayload
NewListByProjectPayload builds a user service list by project endpoint payload.
func NewLoginHandler ¶
func NewLoginHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewLoginHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "login" endpoint.
func NewLoginPayload ¶
func NewLoginPayload(body *LoginRequestBody) *user.LoginPayload
NewLoginPayload builds a user service login endpoint payload.
func NewLogoutHandler ¶
func NewLogoutHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewLogoutHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "logout" endpoint.
func NewLogoutPayload ¶
func NewLogoutPayload(auth string) *user.LogoutPayload
NewLogoutPayload builds a user service logout endpoint payload.
func NewMentionablesHandler ¶
func NewMentionablesHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewMentionablesHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "mentionables" endpoint.
func NewMentionablesPayload ¶
func NewMentionablesPayload(projectID *int32, bookmark *string, query string, auth string) *user.MentionablesPayload
NewMentionablesPayload builds a user service mentionables endpoint payload.
func NewProjectRolesHandler ¶
func NewProjectRolesHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewProjectRolesHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "project roles" endpoint.
func NewRecoveryHandler ¶
func NewRecoveryHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewRecoveryHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "recovery" endpoint.
func NewRecoveryLookupHandler ¶
func NewRecoveryLookupHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewRecoveryLookupHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "recovery lookup" endpoint.
func NewRecoveryLookupPayload ¶
func NewRecoveryLookupPayload(body *RecoveryLookupRequestBody) *user.RecoveryLookupPayload
NewRecoveryLookupPayload builds a user service recovery lookup endpoint payload.
func NewRecoveryPayload ¶
func NewRecoveryPayload(body *RecoveryRequestBody) *user.RecoveryPayload
NewRecoveryPayload builds a user service recovery endpoint payload.
func NewRefreshHandler ¶
func NewRefreshHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewRefreshHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "refresh" endpoint.
func NewRefreshPayload ¶
func NewRefreshPayload(body *RefreshRequestBody) *user.RefreshPayload
NewRefreshPayload builds a user service refresh endpoint payload.
func NewResumeHandler ¶
func NewResumeHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewResumeHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "resume" endpoint.
func NewResumePayload ¶
func NewResumePayload(body struct { Token *string `form:"token" json:"token" xml:"token"` }) *user.ResumePayload
NewResumePayload builds a user service resume endpoint payload.
func NewRolesHandler ¶
func NewRolesHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewRolesHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "roles" endpoint.
func NewRolesPayload ¶
func NewRolesPayload(auth string) *user.RolesPayload
NewRolesPayload builds a user service roles endpoint payload.
func NewSendValidationHandler ¶
func NewSendValidationHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewSendValidationHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "send validation" endpoint.
func NewSendValidationPayload ¶
func NewSendValidationPayload(userID int32) *user.SendValidationPayload
NewSendValidationPayload builds a user service send validation endpoint payload.
func NewUpdateHandler ¶
func NewUpdateHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewUpdateHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "update" endpoint.
func NewUpdatePayload ¶
func NewUpdatePayload(body *UpdateRequestBody, userID int32, auth string) *user.UpdatePayload
NewUpdatePayload builds a user service update endpoint payload.
func NewUploadPhotoHandler ¶
func NewUploadPhotoHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewUploadPhotoHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "upload photo" endpoint.
func NewUploadPhotoPayload ¶
func NewUploadPhotoPayload(contentType string, contentLength int64, auth string) *user.UploadPhotoPayload
NewUploadPhotoPayload builds a user service upload photo endpoint payload.
func NewValidateHandler ¶
func NewValidateHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewValidateHandler creates a HTTP handler which loads the HTTP request and calls the "user" service "validate" endpoint.
func NewValidatePayload ¶
func NewValidatePayload(token string) *user.ValidatePayload
NewValidatePayload builds a user service validate endpoint payload.
func ProjectRolesUserPath ¶
func ProjectRolesUserPath() string
ProjectRolesUserPath returns the URL path to the user service project roles HTTP endpoint.
func RecoveryLookupUserPath ¶
func RecoveryLookupUserPath() string
RecoveryLookupUserPath returns the URL path to the user service recovery lookup HTTP endpoint.
func RecoveryUserPath ¶
func RecoveryUserPath() string
RecoveryUserPath returns the URL path to the user service recovery HTTP endpoint.
func RefreshUserPath ¶
func RefreshUserPath() string
RefreshUserPath returns the URL path to the user service refresh HTTP endpoint.
func ResumeUserPath ¶
func ResumeUserPath() string
ResumeUserPath returns the URL path to the user service resume HTTP endpoint.
func RolesUserPath ¶
func RolesUserPath() string
RolesUserPath returns the URL path to the user service roles HTTP endpoint.
func SendValidationUserPath ¶
SendValidationUserPath returns the URL path to the user service send validation HTTP endpoint.
func UpdateUserPath ¶
UpdateUserPath returns the URL path to the user service update HTTP endpoint.
func UploadPhotoUserPath ¶
func UploadPhotoUserPath() string
UploadPhotoUserPath returns the URL path to the user service upload photo HTTP endpoint.
func ValidateAcceptTncRequestBody ¶
func ValidateAcceptTncRequestBody(body *AcceptTncRequestBody) (err error)
ValidateAcceptTncRequestBody runs the validations defined on Accept TncRequestBody
func ValidateAddRequestBody ¶
func ValidateAddRequestBody(body *AddRequestBody) (err error)
ValidateAddRequestBody runs the validations defined on AddRequestBody
func ValidateAdminDeleteRequestBody ¶
func ValidateAdminDeleteRequestBody(body *AdminDeleteRequestBody) (err error)
ValidateAdminDeleteRequestBody runs the validations defined on Admin DeleteRequestBody
func ValidateAdminTermsAndConditionsRequestBody ¶
func ValidateAdminTermsAndConditionsRequestBody(body *AdminTermsAndConditionsRequestBody) (err error)
ValidateAdminTermsAndConditionsRequestBody runs the validations defined on Admin Terms And ConditionsRequestBody
func ValidateChangePasswordRequestBody ¶
func ValidateChangePasswordRequestBody(body *ChangePasswordRequestBody) (err error)
ValidateChangePasswordRequestBody runs the validations defined on Change PasswordRequestBody
func ValidateLoginRequestBody ¶
func ValidateLoginRequestBody(body *LoginRequestBody) (err error)
ValidateLoginRequestBody runs the validations defined on LoginRequestBody
func ValidateRecoveryLookupRequestBody ¶
func ValidateRecoveryLookupRequestBody(body *RecoveryLookupRequestBody) (err error)
ValidateRecoveryLookupRequestBody runs the validations defined on Recovery LookupRequestBody
func ValidateRecoveryRequestBody ¶
func ValidateRecoveryRequestBody(body *RecoveryRequestBody) (err error)
ValidateRecoveryRequestBody runs the validations defined on RecoveryRequestBody
func ValidateRefreshRequestBody ¶
func ValidateRefreshRequestBody(body *RefreshRequestBody) (err error)
ValidateRefreshRequestBody runs the validations defined on RefreshRequestBody
func ValidateUpdateRequestBody ¶
func ValidateUpdateRequestBody(body *UpdateRequestBody) (err error)
ValidateUpdateRequestBody runs the validations defined on UpdateRequestBody
func ValidateUserPath ¶
func ValidateUserPath() string
ValidateUserPath returns the URL path to the user service validate HTTP endpoint.
Types ¶
type AcceptTncBadRequestResponseBody ¶
type AcceptTncBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AcceptTncBadRequestResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "bad-request" error.
func NewAcceptTncBadRequestResponseBody ¶
func NewAcceptTncBadRequestResponseBody(res *goa.ServiceError) *AcceptTncBadRequestResponseBody
NewAcceptTncBadRequestResponseBody builds the HTTP response body from the result of the "accept tnc" endpoint of the "user" service.
type AcceptTncForbiddenResponseBody ¶
type AcceptTncForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AcceptTncForbiddenResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "forbidden" error.
func NewAcceptTncForbiddenResponseBody ¶
func NewAcceptTncForbiddenResponseBody(res *goa.ServiceError) *AcceptTncForbiddenResponseBody
NewAcceptTncForbiddenResponseBody builds the HTTP response body from the result of the "accept tnc" endpoint of the "user" service.
type AcceptTncNotFoundResponseBody ¶
type AcceptTncNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AcceptTncNotFoundResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "not-found" error.
func NewAcceptTncNotFoundResponseBody ¶
func NewAcceptTncNotFoundResponseBody(res *goa.ServiceError) *AcceptTncNotFoundResponseBody
NewAcceptTncNotFoundResponseBody builds the HTTP response body from the result of the "accept tnc" endpoint of the "user" service.
type AcceptTncRequestBody ¶
type AcceptTncRequestBody struct {
Accept *bool `form:"accept,omitempty" json:"accept,omitempty" xml:"accept,omitempty"`
}
AcceptTncRequestBody is the type of the "user" service "accept tnc" endpoint HTTP request body.
type AcceptTncResponseBody ¶
type AcceptTncResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Email string `form:"email" json:"email" xml:"email"` Bio string `form:"bio" json:"bio" xml:"bio"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` Admin bool `form:"admin" json:"admin" xml:"admin"` UpdatedAt int64 `form:"updatedAt" json:"updatedAt" xml:"updatedAt"` TncDate int64 `form:"tncDate" json:"tncDate" xml:"tncDate"` }
AcceptTncResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body.
func NewAcceptTncResponseBody ¶
func NewAcceptTncResponseBody(res *userviews.UserView) *AcceptTncResponseBody
NewAcceptTncResponseBody builds the HTTP response body from the result of the "accept tnc" endpoint of the "user" service.
type AcceptTncUnauthorizedResponseBody ¶
type AcceptTncUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
AcceptTncUnauthorizedResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "unauthorized" error.
func NewAcceptTncUnauthorizedResponseBody ¶
func NewAcceptTncUnauthorizedResponseBody(res *goa.ServiceError) *AcceptTncUnauthorizedResponseBody
NewAcceptTncUnauthorizedResponseBody builds the HTTP response body from the result of the "accept tnc" endpoint of the "user" service.
type AddBadRequestResponseBody ¶
type AddBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AddBadRequestResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "bad-request" error.
func NewAddBadRequestResponseBody ¶
func NewAddBadRequestResponseBody(res *goa.ServiceError) *AddBadRequestResponseBody
NewAddBadRequestResponseBody builds the HTTP response body from the result of the "add" endpoint of the "user" service.
type AddForbiddenResponseBody ¶
type AddForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AddForbiddenResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "forbidden" error.
func NewAddForbiddenResponseBody ¶
func NewAddForbiddenResponseBody(res *goa.ServiceError) *AddForbiddenResponseBody
NewAddForbiddenResponseBody builds the HTTP response body from the result of the "add" endpoint of the "user" service.
type AddNotFoundResponseBody ¶
type AddNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AddNotFoundResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "not-found" error.
func NewAddNotFoundResponseBody ¶
func NewAddNotFoundResponseBody(res *goa.ServiceError) *AddNotFoundResponseBody
NewAddNotFoundResponseBody builds the HTTP response body from the result of the "add" endpoint of the "user" service.
type AddRequestBody ¶
type AddRequestBody struct { Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` Password *string `form:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"` InviteToken *string `form:"invite_token,omitempty" json:"invite_token,omitempty" xml:"invite_token,omitempty"` TncAccept *bool `form:"tncAccept,omitempty" json:"tncAccept,omitempty" xml:"tncAccept,omitempty"` }
AddRequestBody is the type of the "user" service "add" endpoint HTTP request body.
type AddResponseBody ¶
type AddResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Email string `form:"email" json:"email" xml:"email"` Bio string `form:"bio" json:"bio" xml:"bio"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` Admin bool `form:"admin" json:"admin" xml:"admin"` UpdatedAt int64 `form:"updatedAt" json:"updatedAt" xml:"updatedAt"` TncDate int64 `form:"tncDate" json:"tncDate" xml:"tncDate"` }
AddResponseBody is the type of the "user" service "add" endpoint HTTP response body.
func NewAddResponseBody ¶
func NewAddResponseBody(res *userviews.UserView) *AddResponseBody
NewAddResponseBody builds the HTTP response body from the result of the "add" endpoint of the "user" service.
type AddUnauthorizedResponseBody ¶
type AddUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
AddUnauthorizedResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "unauthorized" error.
func NewAddUnauthorizedResponseBody ¶
func NewAddUnauthorizedResponseBody(res *goa.ServiceError) *AddUnauthorizedResponseBody
NewAddUnauthorizedResponseBody builds the HTTP response body from the result of the "add" endpoint of the "user" service.
type AddUserEmailRegisteredResponseBody ¶
type AddUserEmailRegisteredResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AddUserEmailRegisteredResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "user-email-registered" error.
func NewAddUserEmailRegisteredResponseBody ¶
func NewAddUserEmailRegisteredResponseBody(res *goa.ServiceError) *AddUserEmailRegisteredResponseBody
NewAddUserEmailRegisteredResponseBody builds the HTTP response body from the result of the "add" endpoint of the "user" service.
type AdminDeleteBadRequestResponseBody ¶
type AdminDeleteBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminDeleteBadRequestResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "bad-request" error.
func NewAdminDeleteBadRequestResponseBody ¶
func NewAdminDeleteBadRequestResponseBody(res *goa.ServiceError) *AdminDeleteBadRequestResponseBody
NewAdminDeleteBadRequestResponseBody builds the HTTP response body from the result of the "admin delete" endpoint of the "user" service.
type AdminDeleteForbiddenResponseBody ¶
type AdminDeleteForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminDeleteForbiddenResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "forbidden" error.
func NewAdminDeleteForbiddenResponseBody ¶
func NewAdminDeleteForbiddenResponseBody(res *goa.ServiceError) *AdminDeleteForbiddenResponseBody
NewAdminDeleteForbiddenResponseBody builds the HTTP response body from the result of the "admin delete" endpoint of the "user" service.
type AdminDeleteNotFoundResponseBody ¶
type AdminDeleteNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminDeleteNotFoundResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "not-found" error.
func NewAdminDeleteNotFoundResponseBody ¶
func NewAdminDeleteNotFoundResponseBody(res *goa.ServiceError) *AdminDeleteNotFoundResponseBody
NewAdminDeleteNotFoundResponseBody builds the HTTP response body from the result of the "admin delete" endpoint of the "user" service.
type AdminDeleteRequestBody ¶
type AdminDeleteRequestBody struct { Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` Password *string `form:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"` }
AdminDeleteRequestBody is the type of the "user" service "admin delete" endpoint HTTP request body.
type AdminDeleteUnauthorizedResponseBody ¶
type AdminDeleteUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
AdminDeleteUnauthorizedResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "unauthorized" error.
func NewAdminDeleteUnauthorizedResponseBody ¶
func NewAdminDeleteUnauthorizedResponseBody(res *goa.ServiceError) *AdminDeleteUnauthorizedResponseBody
NewAdminDeleteUnauthorizedResponseBody builds the HTTP response body from the result of the "admin delete" endpoint of the "user" service.
type AdminSearchBadRequestResponseBody ¶
type AdminSearchBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminSearchBadRequestResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "bad-request" error.
func NewAdminSearchBadRequestResponseBody ¶
func NewAdminSearchBadRequestResponseBody(res *goa.ServiceError) *AdminSearchBadRequestResponseBody
NewAdminSearchBadRequestResponseBody builds the HTTP response body from the result of the "admin search" endpoint of the "user" service.
type AdminSearchForbiddenResponseBody ¶
type AdminSearchForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminSearchForbiddenResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "forbidden" error.
func NewAdminSearchForbiddenResponseBody ¶
func NewAdminSearchForbiddenResponseBody(res *goa.ServiceError) *AdminSearchForbiddenResponseBody
NewAdminSearchForbiddenResponseBody builds the HTTP response body from the result of the "admin search" endpoint of the "user" service.
type AdminSearchNotFoundResponseBody ¶
type AdminSearchNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminSearchNotFoundResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "not-found" error.
func NewAdminSearchNotFoundResponseBody ¶
func NewAdminSearchNotFoundResponseBody(res *goa.ServiceError) *AdminSearchNotFoundResponseBody
NewAdminSearchNotFoundResponseBody builds the HTTP response body from the result of the "admin search" endpoint of the "user" service.
type AdminSearchResponseBody ¶
type AdminSearchResponseBody struct {
Users UserCollectionResponseBody `form:"users" json:"users" xml:"users"`
}
AdminSearchResponseBody is the type of the "user" service "admin search" endpoint HTTP response body.
func NewAdminSearchResponseBody ¶
func NewAdminSearchResponseBody(res *user.AdminSearchResult) *AdminSearchResponseBody
NewAdminSearchResponseBody builds the HTTP response body from the result of the "admin search" endpoint of the "user" service.
type AdminSearchUnauthorizedResponseBody ¶
type AdminSearchUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
AdminSearchUnauthorizedResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "unauthorized" error.
func NewAdminSearchUnauthorizedResponseBody ¶
func NewAdminSearchUnauthorizedResponseBody(res *goa.ServiceError) *AdminSearchUnauthorizedResponseBody
NewAdminSearchUnauthorizedResponseBody builds the HTTP response body from the result of the "admin search" endpoint of the "user" service.
type AdminTermsAndConditionsBadRequestResponseBody ¶
type AdminTermsAndConditionsBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminTermsAndConditionsBadRequestResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "bad-request" error.
func NewAdminTermsAndConditionsBadRequestResponseBody ¶
func NewAdminTermsAndConditionsBadRequestResponseBody(res *goa.ServiceError) *AdminTermsAndConditionsBadRequestResponseBody
NewAdminTermsAndConditionsBadRequestResponseBody builds the HTTP response body from the result of the "admin terms and conditions" endpoint of the "user" service.
type AdminTermsAndConditionsForbiddenResponseBody ¶
type AdminTermsAndConditionsForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminTermsAndConditionsForbiddenResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "forbidden" error.
func NewAdminTermsAndConditionsForbiddenResponseBody ¶
func NewAdminTermsAndConditionsForbiddenResponseBody(res *goa.ServiceError) *AdminTermsAndConditionsForbiddenResponseBody
NewAdminTermsAndConditionsForbiddenResponseBody builds the HTTP response body from the result of the "admin terms and conditions" endpoint of the "user" service.
type AdminTermsAndConditionsNotFoundResponseBody ¶
type AdminTermsAndConditionsNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
AdminTermsAndConditionsNotFoundResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "not-found" error.
func NewAdminTermsAndConditionsNotFoundResponseBody ¶
func NewAdminTermsAndConditionsNotFoundResponseBody(res *goa.ServiceError) *AdminTermsAndConditionsNotFoundResponseBody
NewAdminTermsAndConditionsNotFoundResponseBody builds the HTTP response body from the result of the "admin terms and conditions" endpoint of the "user" service.
type AdminTermsAndConditionsRequestBody ¶
type AdminTermsAndConditionsRequestBody struct {
Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
}
AdminTermsAndConditionsRequestBody is the type of the "user" service "admin terms and conditions" endpoint HTTP request body.
type AdminTermsAndConditionsUnauthorizedResponseBody ¶
type AdminTermsAndConditionsUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
AdminTermsAndConditionsUnauthorizedResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "unauthorized" error.
func NewAdminTermsAndConditionsUnauthorizedResponseBody ¶
func NewAdminTermsAndConditionsUnauthorizedResponseBody(res *goa.ServiceError) *AdminTermsAndConditionsUnauthorizedResponseBody
NewAdminTermsAndConditionsUnauthorizedResponseBody builds the HTTP response body from the result of the "admin terms and conditions" endpoint of the "user" service.
type AvailableRoleResponseBody ¶
type AvailableRoleResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` }
AvailableRoleResponseBody is used to define fields on response body types.
type ChangePasswordBadRequestResponseBody ¶
type ChangePasswordBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ChangePasswordBadRequestResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "bad-request" error.
func NewChangePasswordBadRequestResponseBody ¶
func NewChangePasswordBadRequestResponseBody(res *goa.ServiceError) *ChangePasswordBadRequestResponseBody
NewChangePasswordBadRequestResponseBody builds the HTTP response body from the result of the "change password" endpoint of the "user" service.
type ChangePasswordForbiddenResponseBody ¶
type ChangePasswordForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ChangePasswordForbiddenResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "forbidden" error.
func NewChangePasswordForbiddenResponseBody ¶
func NewChangePasswordForbiddenResponseBody(res *goa.ServiceError) *ChangePasswordForbiddenResponseBody
NewChangePasswordForbiddenResponseBody builds the HTTP response body from the result of the "change password" endpoint of the "user" service.
type ChangePasswordNotFoundResponseBody ¶
type ChangePasswordNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ChangePasswordNotFoundResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "not-found" error.
func NewChangePasswordNotFoundResponseBody ¶
func NewChangePasswordNotFoundResponseBody(res *goa.ServiceError) *ChangePasswordNotFoundResponseBody
NewChangePasswordNotFoundResponseBody builds the HTTP response body from the result of the "change password" endpoint of the "user" service.
type ChangePasswordRequestBody ¶
type ChangePasswordRequestBody struct { OldPassword *string `form:"oldPassword,omitempty" json:"oldPassword,omitempty" xml:"oldPassword,omitempty"` NewPassword *string `form:"newPassword,omitempty" json:"newPassword,omitempty" xml:"newPassword,omitempty"` }
ChangePasswordRequestBody is the type of the "user" service "change password" endpoint HTTP request body.
type ChangePasswordResponseBody ¶
type ChangePasswordResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Email string `form:"email" json:"email" xml:"email"` Bio string `form:"bio" json:"bio" xml:"bio"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` Admin bool `form:"admin" json:"admin" xml:"admin"` UpdatedAt int64 `form:"updatedAt" json:"updatedAt" xml:"updatedAt"` TncDate int64 `form:"tncDate" json:"tncDate" xml:"tncDate"` }
ChangePasswordResponseBody is the type of the "user" service "change password" endpoint HTTP response body.
func NewChangePasswordResponseBody ¶
func NewChangePasswordResponseBody(res *userviews.UserView) *ChangePasswordResponseBody
NewChangePasswordResponseBody builds the HTTP response body from the result of the "change password" endpoint of the "user" service.
type ChangePasswordUnauthorizedResponseBody ¶
type ChangePasswordUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ChangePasswordUnauthorizedResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "unauthorized" error.
func NewChangePasswordUnauthorizedResponseBody ¶
func NewChangePasswordUnauthorizedResponseBody(res *goa.ServiceError) *ChangePasswordUnauthorizedResponseBody
NewChangePasswordUnauthorizedResponseBody builds the HTTP response body from the result of the "change password" endpoint of the "user" service.
type DownloadPhotoBadRequestResponseBody ¶
type DownloadPhotoBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DownloadPhotoBadRequestResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "bad-request" error.
func NewDownloadPhotoBadRequestResponseBody ¶
func NewDownloadPhotoBadRequestResponseBody(res *goa.ServiceError) *DownloadPhotoBadRequestResponseBody
NewDownloadPhotoBadRequestResponseBody builds the HTTP response body from the result of the "download photo" endpoint of the "user" service.
type DownloadPhotoForbiddenResponseBody ¶
type DownloadPhotoForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DownloadPhotoForbiddenResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "forbidden" error.
func NewDownloadPhotoForbiddenResponseBody ¶
func NewDownloadPhotoForbiddenResponseBody(res *goa.ServiceError) *DownloadPhotoForbiddenResponseBody
NewDownloadPhotoForbiddenResponseBody builds the HTTP response body from the result of the "download photo" endpoint of the "user" service.
type DownloadPhotoNotFoundResponseBody ¶
type DownloadPhotoNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
DownloadPhotoNotFoundResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "not-found" error.
func NewDownloadPhotoNotFoundResponseBody ¶
func NewDownloadPhotoNotFoundResponseBody(res *goa.ServiceError) *DownloadPhotoNotFoundResponseBody
NewDownloadPhotoNotFoundResponseBody builds the HTTP response body from the result of the "download photo" endpoint of the "user" service.
type DownloadPhotoResponseBody ¶
type DownloadPhotoResponseBody struct { Length int64 `form:"length" json:"length" xml:"length"` Body []byte `form:"body,omitempty" json:"body,omitempty" xml:"body,omitempty"` ContentType string `form:"contentType" json:"contentType" xml:"contentType"` Etag string `form:"etag" json:"etag" xml:"etag"` }
DownloadPhotoResponseBody is the type of the "user" service "download photo" endpoint HTTP response body.
func NewDownloadPhotoResponseBody ¶
func NewDownloadPhotoResponseBody(res *userviews.DownloadedPhotoView) *DownloadPhotoResponseBody
NewDownloadPhotoResponseBody builds the HTTP response body from the result of the "download photo" endpoint of the "user" service.
type DownloadPhotoUnauthorizedResponseBody ¶
type DownloadPhotoUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
DownloadPhotoUnauthorizedResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "unauthorized" error.
func NewDownloadPhotoUnauthorizedResponseBody ¶
func NewDownloadPhotoUnauthorizedResponseBody(res *goa.ServiceError) *DownloadPhotoUnauthorizedResponseBody
NewDownloadPhotoUnauthorizedResponseBody builds the HTTP response body from the result of the "download photo" endpoint of the "user" service.
type ErrorNamer ¶
type ErrorNamer interface {
ErrorName() string
}
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.
type GetCurrentBadRequestResponseBody ¶
type GetCurrentBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetCurrentBadRequestResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "bad-request" error.
func NewGetCurrentBadRequestResponseBody ¶
func NewGetCurrentBadRequestResponseBody(res *goa.ServiceError) *GetCurrentBadRequestResponseBody
NewGetCurrentBadRequestResponseBody builds the HTTP response body from the result of the "get current" endpoint of the "user" service.
type GetCurrentForbiddenResponseBody ¶
type GetCurrentForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetCurrentForbiddenResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "forbidden" error.
func NewGetCurrentForbiddenResponseBody ¶
func NewGetCurrentForbiddenResponseBody(res *goa.ServiceError) *GetCurrentForbiddenResponseBody
NewGetCurrentForbiddenResponseBody builds the HTTP response body from the result of the "get current" endpoint of the "user" service.
type GetCurrentNotFoundResponseBody ¶
type GetCurrentNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
GetCurrentNotFoundResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "not-found" error.
func NewGetCurrentNotFoundResponseBody ¶
func NewGetCurrentNotFoundResponseBody(res *goa.ServiceError) *GetCurrentNotFoundResponseBody
NewGetCurrentNotFoundResponseBody builds the HTTP response body from the result of the "get current" endpoint of the "user" service.
type GetCurrentResponseBody ¶
type GetCurrentResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Email string `form:"email" json:"email" xml:"email"` Bio string `form:"bio" json:"bio" xml:"bio"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` Admin bool `form:"admin" json:"admin" xml:"admin"` UpdatedAt int64 `form:"updatedAt" json:"updatedAt" xml:"updatedAt"` TncDate int64 `form:"tncDate" json:"tncDate" xml:"tncDate"` }
GetCurrentResponseBody is the type of the "user" service "get current" endpoint HTTP response body.
func NewGetCurrentResponseBody ¶
func NewGetCurrentResponseBody(res *userviews.UserView) *GetCurrentResponseBody
NewGetCurrentResponseBody builds the HTTP response body from the result of the "get current" endpoint of the "user" service.
type GetCurrentUnauthorizedResponseBody ¶
type GetCurrentUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
GetCurrentUnauthorizedResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "unauthorized" error.
func NewGetCurrentUnauthorizedResponseBody ¶
func NewGetCurrentUnauthorizedResponseBody(res *goa.ServiceError) *GetCurrentUnauthorizedResponseBody
NewGetCurrentUnauthorizedResponseBody builds the HTTP response body from the result of the "get current" endpoint of the "user" service.
type IssueTransmissionTokenBadRequestResponseBody ¶
type IssueTransmissionTokenBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
IssueTransmissionTokenBadRequestResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "bad-request" error.
func NewIssueTransmissionTokenBadRequestResponseBody ¶
func NewIssueTransmissionTokenBadRequestResponseBody(res *goa.ServiceError) *IssueTransmissionTokenBadRequestResponseBody
NewIssueTransmissionTokenBadRequestResponseBody builds the HTTP response body from the result of the "issue transmission token" endpoint of the "user" service.
type IssueTransmissionTokenForbiddenResponseBody ¶
type IssueTransmissionTokenForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
IssueTransmissionTokenForbiddenResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "forbidden" error.
func NewIssueTransmissionTokenForbiddenResponseBody ¶
func NewIssueTransmissionTokenForbiddenResponseBody(res *goa.ServiceError) *IssueTransmissionTokenForbiddenResponseBody
NewIssueTransmissionTokenForbiddenResponseBody builds the HTTP response body from the result of the "issue transmission token" endpoint of the "user" service.
type IssueTransmissionTokenNotFoundResponseBody ¶
type IssueTransmissionTokenNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
IssueTransmissionTokenNotFoundResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "not-found" error.
func NewIssueTransmissionTokenNotFoundResponseBody ¶
func NewIssueTransmissionTokenNotFoundResponseBody(res *goa.ServiceError) *IssueTransmissionTokenNotFoundResponseBody
NewIssueTransmissionTokenNotFoundResponseBody builds the HTTP response body from the result of the "issue transmission token" endpoint of the "user" service.
type IssueTransmissionTokenResponseBody ¶
type IssueTransmissionTokenResponseBody struct { Token string `form:"token" json:"token" xml:"token"` URL string `form:"url" json:"url" xml:"url"` }
IssueTransmissionTokenResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body.
func NewIssueTransmissionTokenResponseBody ¶
func NewIssueTransmissionTokenResponseBody(res *userviews.TransmissionTokenView) *IssueTransmissionTokenResponseBody
NewIssueTransmissionTokenResponseBody builds the HTTP response body from the result of the "issue transmission token" endpoint of the "user" service.
type IssueTransmissionTokenUnauthorizedResponseBody ¶
type IssueTransmissionTokenUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
IssueTransmissionTokenUnauthorizedResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "unauthorized" error.
func NewIssueTransmissionTokenUnauthorizedResponseBody ¶
func NewIssueTransmissionTokenUnauthorizedResponseBody(res *goa.ServiceError) *IssueTransmissionTokenUnauthorizedResponseBody
NewIssueTransmissionTokenUnauthorizedResponseBody builds the HTTP response body from the result of the "issue transmission token" endpoint of the "user" service.
type ListByProjectBadRequestResponseBody ¶
type ListByProjectBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListByProjectBadRequestResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "bad-request" error.
func NewListByProjectBadRequestResponseBody ¶
func NewListByProjectBadRequestResponseBody(res *goa.ServiceError) *ListByProjectBadRequestResponseBody
NewListByProjectBadRequestResponseBody builds the HTTP response body from the result of the "list by project" endpoint of the "user" service.
type ListByProjectForbiddenResponseBody ¶
type ListByProjectForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListByProjectForbiddenResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "forbidden" error.
func NewListByProjectForbiddenResponseBody ¶
func NewListByProjectForbiddenResponseBody(res *goa.ServiceError) *ListByProjectForbiddenResponseBody
NewListByProjectForbiddenResponseBody builds the HTTP response body from the result of the "list by project" endpoint of the "user" service.
type ListByProjectNotFoundResponseBody ¶
type ListByProjectNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListByProjectNotFoundResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "not-found" error.
func NewListByProjectNotFoundResponseBody ¶
func NewListByProjectNotFoundResponseBody(res *goa.ServiceError) *ListByProjectNotFoundResponseBody
NewListByProjectNotFoundResponseBody builds the HTTP response body from the result of the "list by project" endpoint of the "user" service.
type ListByProjectResponseBody ¶
type ListByProjectResponseBody struct {
Users ProjectUserResponseBodyCollection `form:"users" json:"users" xml:"users"`
}
ListByProjectResponseBody is the type of the "user" service "list by project" endpoint HTTP response body.
func NewListByProjectResponseBody ¶
func NewListByProjectResponseBody(res *userviews.ProjectUsersView) *ListByProjectResponseBody
NewListByProjectResponseBody builds the HTTP response body from the result of the "list by project" endpoint of the "user" service.
type ListByProjectUnauthorizedResponseBody ¶
type ListByProjectUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ListByProjectUnauthorizedResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "unauthorized" error.
func NewListByProjectUnauthorizedResponseBody ¶
func NewListByProjectUnauthorizedResponseBody(res *goa.ServiceError) *ListByProjectUnauthorizedResponseBody
NewListByProjectUnauthorizedResponseBody builds the HTTP response body from the result of the "list by project" endpoint of the "user" service.
type LoginBadRequestResponseBody ¶
type LoginBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LoginBadRequestResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "bad-request" error.
func NewLoginBadRequestResponseBody ¶
func NewLoginBadRequestResponseBody(res *goa.ServiceError) *LoginBadRequestResponseBody
NewLoginBadRequestResponseBody builds the HTTP response body from the result of the "login" endpoint of the "user" service.
type LoginForbiddenResponseBody ¶
type LoginForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LoginForbiddenResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "forbidden" error.
func NewLoginForbiddenResponseBody ¶
func NewLoginForbiddenResponseBody(res *goa.ServiceError) *LoginForbiddenResponseBody
NewLoginForbiddenResponseBody builds the HTTP response body from the result of the "login" endpoint of the "user" service.
type LoginNotFoundResponseBody ¶
type LoginNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LoginNotFoundResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "not-found" error.
func NewLoginNotFoundResponseBody ¶
func NewLoginNotFoundResponseBody(res *goa.ServiceError) *LoginNotFoundResponseBody
NewLoginNotFoundResponseBody builds the HTTP response body from the result of the "login" endpoint of the "user" service.
type LoginRequestBody ¶
type LoginRequestBody struct { Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` Password *string `form:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"` }
LoginRequestBody is the type of the "user" service "login" endpoint HTTP request body.
type LoginUnauthorizedResponseBody ¶
type LoginUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
LoginUnauthorizedResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "unauthorized" error.
func NewLoginUnauthorizedResponseBody ¶
func NewLoginUnauthorizedResponseBody(res *goa.ServiceError) *LoginUnauthorizedResponseBody
NewLoginUnauthorizedResponseBody builds the HTTP response body from the result of the "login" endpoint of the "user" service.
type LoginUserUnverifiedResponseBody ¶
type LoginUserUnverifiedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LoginUserUnverifiedResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "user-unverified" error.
func NewLoginUserUnverifiedResponseBody ¶
func NewLoginUserUnverifiedResponseBody(res *goa.ServiceError) *LoginUserUnverifiedResponseBody
NewLoginUserUnverifiedResponseBody builds the HTTP response body from the result of the "login" endpoint of the "user" service.
type LogoutBadRequestResponseBody ¶
type LogoutBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LogoutBadRequestResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "bad-request" error.
func NewLogoutBadRequestResponseBody ¶
func NewLogoutBadRequestResponseBody(res *goa.ServiceError) *LogoutBadRequestResponseBody
NewLogoutBadRequestResponseBody builds the HTTP response body from the result of the "logout" endpoint of the "user" service.
type LogoutForbiddenResponseBody ¶
type LogoutForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LogoutForbiddenResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "forbidden" error.
func NewLogoutForbiddenResponseBody ¶
func NewLogoutForbiddenResponseBody(res *goa.ServiceError) *LogoutForbiddenResponseBody
NewLogoutForbiddenResponseBody builds the HTTP response body from the result of the "logout" endpoint of the "user" service.
type LogoutNotFoundResponseBody ¶
type LogoutNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
LogoutNotFoundResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "not-found" error.
func NewLogoutNotFoundResponseBody ¶
func NewLogoutNotFoundResponseBody(res *goa.ServiceError) *LogoutNotFoundResponseBody
NewLogoutNotFoundResponseBody builds the HTTP response body from the result of the "logout" endpoint of the "user" service.
type LogoutUnauthorizedResponseBody ¶
type LogoutUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
LogoutUnauthorizedResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "unauthorized" error.
func NewLogoutUnauthorizedResponseBody ¶
func NewLogoutUnauthorizedResponseBody(res *goa.ServiceError) *LogoutUnauthorizedResponseBody
NewLogoutUnauthorizedResponseBody builds the HTTP response body from the result of the "logout" endpoint of the "user" service.
type MentionableUserResponseBody ¶
type MentionableUserResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Mention string `form:"mention" json:"mention" xml:"mention"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` }
MentionableUserResponseBody is used to define fields on response body types.
type MentionableUserResponseBodyCollection ¶
type MentionableUserResponseBodyCollection []*MentionableUserResponseBody
MentionableUserResponseBodyCollection is used to define fields on response body types.
type MentionablesBadRequestResponseBody ¶
type MentionablesBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
MentionablesBadRequestResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "bad-request" error.
func NewMentionablesBadRequestResponseBody ¶
func NewMentionablesBadRequestResponseBody(res *goa.ServiceError) *MentionablesBadRequestResponseBody
NewMentionablesBadRequestResponseBody builds the HTTP response body from the result of the "mentionables" endpoint of the "user" service.
type MentionablesForbiddenResponseBody ¶
type MentionablesForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
MentionablesForbiddenResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "forbidden" error.
func NewMentionablesForbiddenResponseBody ¶
func NewMentionablesForbiddenResponseBody(res *goa.ServiceError) *MentionablesForbiddenResponseBody
NewMentionablesForbiddenResponseBody builds the HTTP response body from the result of the "mentionables" endpoint of the "user" service.
type MentionablesNotFoundResponseBody ¶
type MentionablesNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
MentionablesNotFoundResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "not-found" error.
func NewMentionablesNotFoundResponseBody ¶
func NewMentionablesNotFoundResponseBody(res *goa.ServiceError) *MentionablesNotFoundResponseBody
NewMentionablesNotFoundResponseBody builds the HTTP response body from the result of the "mentionables" endpoint of the "user" service.
type MentionablesResponseBody ¶
type MentionablesResponseBody struct {
Users MentionableUserResponseBodyCollection `form:"users" json:"users" xml:"users"`
}
MentionablesResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body.
func NewMentionablesResponseBody ¶
func NewMentionablesResponseBody(res *userviews.MentionableOptionsView) *MentionablesResponseBody
NewMentionablesResponseBody builds the HTTP response body from the result of the "mentionables" endpoint of the "user" service.
type MentionablesUnauthorizedResponseBody ¶
type MentionablesUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
MentionablesUnauthorizedResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "unauthorized" error.
func NewMentionablesUnauthorizedResponseBody ¶
func NewMentionablesUnauthorizedResponseBody(res *goa.ServiceError) *MentionablesUnauthorizedResponseBody
NewMentionablesUnauthorizedResponseBody builds the HTTP response body from the result of the "mentionables" endpoint of the "user" service.
type MountPoint ¶
type MountPoint struct { // Method is the name of the service method served by the mounted HTTP handler. Method string // Verb is the HTTP method used to match requests to the mounted handler. Verb string // Pattern is the HTTP request path pattern used to match requests to the // mounted handler. Pattern string }
MountPoint holds information about the mounted endpoints.
type ProjectRoleResponse ¶
type ProjectRoleResponse struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` }
ProjectRoleResponse is used to define fields on response body types.
type ProjectRoleResponseCollection ¶
type ProjectRoleResponseCollection []*ProjectRoleResponse
ProjectRoleResponseCollection is the type of the "user" service "project roles" endpoint HTTP response body.
func NewProjectRoleResponseCollection ¶
func NewProjectRoleResponseCollection(res userviews.ProjectRoleCollectionView) ProjectRoleResponseCollection
NewProjectRoleResponseCollection builds the HTTP response body from the result of the "project roles" endpoint of the "user" service.
type ProjectRolesBadRequestResponseBody ¶
type ProjectRolesBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProjectRolesBadRequestResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "bad-request" error.
func NewProjectRolesBadRequestResponseBody ¶
func NewProjectRolesBadRequestResponseBody(res *goa.ServiceError) *ProjectRolesBadRequestResponseBody
NewProjectRolesBadRequestResponseBody builds the HTTP response body from the result of the "project roles" endpoint of the "user" service.
type ProjectRolesForbiddenResponseBody ¶
type ProjectRolesForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProjectRolesForbiddenResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "forbidden" error.
func NewProjectRolesForbiddenResponseBody ¶
func NewProjectRolesForbiddenResponseBody(res *goa.ServiceError) *ProjectRolesForbiddenResponseBody
NewProjectRolesForbiddenResponseBody builds the HTTP response body from the result of the "project roles" endpoint of the "user" service.
type ProjectRolesNotFoundResponseBody ¶
type ProjectRolesNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ProjectRolesNotFoundResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "not-found" error.
func NewProjectRolesNotFoundResponseBody ¶
func NewProjectRolesNotFoundResponseBody(res *goa.ServiceError) *ProjectRolesNotFoundResponseBody
NewProjectRolesNotFoundResponseBody builds the HTTP response body from the result of the "project roles" endpoint of the "user" service.
type ProjectRolesUnauthorizedResponseBody ¶
type ProjectRolesUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ProjectRolesUnauthorizedResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "unauthorized" error.
func NewProjectRolesUnauthorizedResponseBody ¶
func NewProjectRolesUnauthorizedResponseBody(res *goa.ServiceError) *ProjectRolesUnauthorizedResponseBody
NewProjectRolesUnauthorizedResponseBody builds the HTTP response body from the result of the "project roles" endpoint of the "user" service.
type ProjectUserResponseBody ¶
type ProjectUserResponseBody struct { User *UserResponseBody `form:"user" json:"user" xml:"user"` Role string `form:"role" json:"role" xml:"role"` Membership string `form:"membership" json:"membership" xml:"membership"` Invited bool `form:"invited" json:"invited" xml:"invited"` Accepted bool `form:"accepted" json:"accepted" xml:"accepted"` Rejected bool `form:"rejected" json:"rejected" xml:"rejected"` }
ProjectUserResponseBody is used to define fields on response body types.
type ProjectUserResponseBodyCollection ¶
type ProjectUserResponseBodyCollection []*ProjectUserResponseBody
ProjectUserResponseBodyCollection is used to define fields on response body types.
type RecoveryBadRequestResponseBody ¶
type RecoveryBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RecoveryBadRequestResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "bad-request" error.
func NewRecoveryBadRequestResponseBody ¶
func NewRecoveryBadRequestResponseBody(res *goa.ServiceError) *RecoveryBadRequestResponseBody
NewRecoveryBadRequestResponseBody builds the HTTP response body from the result of the "recovery" endpoint of the "user" service.
type RecoveryForbiddenResponseBody ¶
type RecoveryForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RecoveryForbiddenResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "forbidden" error.
func NewRecoveryForbiddenResponseBody ¶
func NewRecoveryForbiddenResponseBody(res *goa.ServiceError) *RecoveryForbiddenResponseBody
NewRecoveryForbiddenResponseBody builds the HTTP response body from the result of the "recovery" endpoint of the "user" service.
type RecoveryLookupBadRequestResponseBody ¶
type RecoveryLookupBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RecoveryLookupBadRequestResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "bad-request" error.
func NewRecoveryLookupBadRequestResponseBody ¶
func NewRecoveryLookupBadRequestResponseBody(res *goa.ServiceError) *RecoveryLookupBadRequestResponseBody
NewRecoveryLookupBadRequestResponseBody builds the HTTP response body from the result of the "recovery lookup" endpoint of the "user" service.
type RecoveryLookupForbiddenResponseBody ¶
type RecoveryLookupForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RecoveryLookupForbiddenResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "forbidden" error.
func NewRecoveryLookupForbiddenResponseBody ¶
func NewRecoveryLookupForbiddenResponseBody(res *goa.ServiceError) *RecoveryLookupForbiddenResponseBody
NewRecoveryLookupForbiddenResponseBody builds the HTTP response body from the result of the "recovery lookup" endpoint of the "user" service.
type RecoveryLookupNotFoundResponseBody ¶
type RecoveryLookupNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RecoveryLookupNotFoundResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "not-found" error.
func NewRecoveryLookupNotFoundResponseBody ¶
func NewRecoveryLookupNotFoundResponseBody(res *goa.ServiceError) *RecoveryLookupNotFoundResponseBody
NewRecoveryLookupNotFoundResponseBody builds the HTTP response body from the result of the "recovery lookup" endpoint of the "user" service.
type RecoveryLookupRequestBody ¶
type RecoveryLookupRequestBody struct {
Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
}
RecoveryLookupRequestBody is the type of the "user" service "recovery lookup" endpoint HTTP request body.
type RecoveryLookupUnauthorizedResponseBody ¶
type RecoveryLookupUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
RecoveryLookupUnauthorizedResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "unauthorized" error.
func NewRecoveryLookupUnauthorizedResponseBody ¶
func NewRecoveryLookupUnauthorizedResponseBody(res *goa.ServiceError) *RecoveryLookupUnauthorizedResponseBody
NewRecoveryLookupUnauthorizedResponseBody builds the HTTP response body from the result of the "recovery lookup" endpoint of the "user" service.
type RecoveryNotFoundResponseBody ¶
type RecoveryNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RecoveryNotFoundResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "not-found" error.
func NewRecoveryNotFoundResponseBody ¶
func NewRecoveryNotFoundResponseBody(res *goa.ServiceError) *RecoveryNotFoundResponseBody
NewRecoveryNotFoundResponseBody builds the HTTP response body from the result of the "recovery" endpoint of the "user" service.
type RecoveryRequestBody ¶
type RecoveryRequestBody struct { Token *string `form:"token,omitempty" json:"token,omitempty" xml:"token,omitempty"` Password *string `form:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"` }
RecoveryRequestBody is the type of the "user" service "recovery" endpoint HTTP request body.
type RecoveryUnauthorizedResponseBody ¶
type RecoveryUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
RecoveryUnauthorizedResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "unauthorized" error.
func NewRecoveryUnauthorizedResponseBody ¶
func NewRecoveryUnauthorizedResponseBody(res *goa.ServiceError) *RecoveryUnauthorizedResponseBody
NewRecoveryUnauthorizedResponseBody builds the HTTP response body from the result of the "recovery" endpoint of the "user" service.
type RefreshBadRequestResponseBody ¶
type RefreshBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RefreshBadRequestResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "bad-request" error.
func NewRefreshBadRequestResponseBody ¶
func NewRefreshBadRequestResponseBody(res *goa.ServiceError) *RefreshBadRequestResponseBody
NewRefreshBadRequestResponseBody builds the HTTP response body from the result of the "refresh" endpoint of the "user" service.
type RefreshForbiddenResponseBody ¶
type RefreshForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RefreshForbiddenResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "forbidden" error.
func NewRefreshForbiddenResponseBody ¶
func NewRefreshForbiddenResponseBody(res *goa.ServiceError) *RefreshForbiddenResponseBody
NewRefreshForbiddenResponseBody builds the HTTP response body from the result of the "refresh" endpoint of the "user" service.
type RefreshNotFoundResponseBody ¶
type RefreshNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RefreshNotFoundResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "not-found" error.
func NewRefreshNotFoundResponseBody ¶
func NewRefreshNotFoundResponseBody(res *goa.ServiceError) *RefreshNotFoundResponseBody
NewRefreshNotFoundResponseBody builds the HTTP response body from the result of the "refresh" endpoint of the "user" service.
type RefreshRequestBody ¶
type RefreshRequestBody struct {
RefreshToken *string `form:"refreshToken,omitempty" json:"refreshToken,omitempty" xml:"refreshToken,omitempty"`
}
RefreshRequestBody is the type of the "user" service "refresh" endpoint HTTP request body.
type RefreshUnauthorizedResponseBody ¶
type RefreshUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
RefreshUnauthorizedResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "unauthorized" error.
func NewRefreshUnauthorizedResponseBody ¶
func NewRefreshUnauthorizedResponseBody(res *goa.ServiceError) *RefreshUnauthorizedResponseBody
NewRefreshUnauthorizedResponseBody builds the HTTP response body from the result of the "refresh" endpoint of the "user" service.
type ResumeBadRequestResponseBody ¶
type ResumeBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ResumeBadRequestResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "bad-request" error.
func NewResumeBadRequestResponseBody ¶
func NewResumeBadRequestResponseBody(res *goa.ServiceError) *ResumeBadRequestResponseBody
NewResumeBadRequestResponseBody builds the HTTP response body from the result of the "resume" endpoint of the "user" service.
type ResumeForbiddenResponseBody ¶
type ResumeForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ResumeForbiddenResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "forbidden" error.
func NewResumeForbiddenResponseBody ¶
func NewResumeForbiddenResponseBody(res *goa.ServiceError) *ResumeForbiddenResponseBody
NewResumeForbiddenResponseBody builds the HTTP response body from the result of the "resume" endpoint of the "user" service.
type ResumeNotFoundResponseBody ¶
type ResumeNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ResumeNotFoundResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "not-found" error.
func NewResumeNotFoundResponseBody ¶
func NewResumeNotFoundResponseBody(res *goa.ServiceError) *ResumeNotFoundResponseBody
NewResumeNotFoundResponseBody builds the HTTP response body from the result of the "resume" endpoint of the "user" service.
type ResumeUnauthorizedResponseBody ¶
type ResumeUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ResumeUnauthorizedResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "unauthorized" error.
func NewResumeUnauthorizedResponseBody ¶
func NewResumeUnauthorizedResponseBody(res *goa.ServiceError) *ResumeUnauthorizedResponseBody
NewResumeUnauthorizedResponseBody builds the HTTP response body from the result of the "resume" endpoint of the "user" service.
type RolesBadRequestResponseBody ¶
type RolesBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RolesBadRequestResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "bad-request" error.
func NewRolesBadRequestResponseBody ¶
func NewRolesBadRequestResponseBody(res *goa.ServiceError) *RolesBadRequestResponseBody
NewRolesBadRequestResponseBody builds the HTTP response body from the result of the "roles" endpoint of the "user" service.
type RolesForbiddenResponseBody ¶
type RolesForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RolesForbiddenResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "forbidden" error.
func NewRolesForbiddenResponseBody ¶
func NewRolesForbiddenResponseBody(res *goa.ServiceError) *RolesForbiddenResponseBody
NewRolesForbiddenResponseBody builds the HTTP response body from the result of the "roles" endpoint of the "user" service.
type RolesNotFoundResponseBody ¶
type RolesNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
RolesNotFoundResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "not-found" error.
func NewRolesNotFoundResponseBody ¶
func NewRolesNotFoundResponseBody(res *goa.ServiceError) *RolesNotFoundResponseBody
NewRolesNotFoundResponseBody builds the HTTP response body from the result of the "roles" endpoint of the "user" service.
type RolesResponseBody ¶
type RolesResponseBody struct {
Roles []*AvailableRoleResponseBody `form:"roles" json:"roles" xml:"roles"`
}
RolesResponseBody is the type of the "user" service "roles" endpoint HTTP response body.
func NewRolesResponseBody ¶
func NewRolesResponseBody(res *userviews.AvailableRolesView) *RolesResponseBody
NewRolesResponseBody builds the HTTP response body from the result of the "roles" endpoint of the "user" service.
type RolesUnauthorizedResponseBody ¶
type RolesUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
RolesUnauthorizedResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "unauthorized" error.
func NewRolesUnauthorizedResponseBody ¶
func NewRolesUnauthorizedResponseBody(res *goa.ServiceError) *RolesUnauthorizedResponseBody
NewRolesUnauthorizedResponseBody builds the HTTP response body from the result of the "roles" endpoint of the "user" service.
type SendValidationBadRequestResponseBody ¶
type SendValidationBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
SendValidationBadRequestResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "bad-request" error.
func NewSendValidationBadRequestResponseBody ¶
func NewSendValidationBadRequestResponseBody(res *goa.ServiceError) *SendValidationBadRequestResponseBody
NewSendValidationBadRequestResponseBody builds the HTTP response body from the result of the "send validation" endpoint of the "user" service.
type SendValidationForbiddenResponseBody ¶
type SendValidationForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
SendValidationForbiddenResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "forbidden" error.
func NewSendValidationForbiddenResponseBody ¶
func NewSendValidationForbiddenResponseBody(res *goa.ServiceError) *SendValidationForbiddenResponseBody
NewSendValidationForbiddenResponseBody builds the HTTP response body from the result of the "send validation" endpoint of the "user" service.
type SendValidationNotFoundResponseBody ¶
type SendValidationNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
SendValidationNotFoundResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "not-found" error.
func NewSendValidationNotFoundResponseBody ¶
func NewSendValidationNotFoundResponseBody(res *goa.ServiceError) *SendValidationNotFoundResponseBody
NewSendValidationNotFoundResponseBody builds the HTTP response body from the result of the "send validation" endpoint of the "user" service.
type SendValidationUnauthorizedResponseBody ¶
type SendValidationUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
SendValidationUnauthorizedResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "unauthorized" error.
func NewSendValidationUnauthorizedResponseBody ¶
func NewSendValidationUnauthorizedResponseBody(res *goa.ServiceError) *SendValidationUnauthorizedResponseBody
NewSendValidationUnauthorizedResponseBody builds the HTTP response body from the result of the "send validation" endpoint of the "user" service.
type Server ¶
type Server struct { Mounts []*MountPoint Roles http.Handler UploadPhoto http.Handler DownloadPhoto http.Handler Login http.Handler RecoveryLookup http.Handler Recovery http.Handler Resume http.Handler Logout http.Handler Refresh http.Handler SendValidation http.Handler Validate http.Handler Add http.Handler Update http.Handler ChangePassword http.Handler AcceptTnc http.Handler GetCurrent http.Handler ListByProject http.Handler IssueTransmissionToken http.Handler ProjectRoles http.Handler AdminTermsAndConditions http.Handler AdminDelete http.Handler AdminSearch http.Handler Mentionables http.Handler CORS http.Handler }
Server lists the user service endpoint HTTP handlers.
func New ¶
func New( e *user.Endpoints, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) *Server
New instantiates HTTP handlers for all the user service endpoints using the provided encoder and decoder. The handlers are mounted on the given mux using the HTTP verb and path defined in the design. errhandler is called whenever a response fails to be encoded. formatter is used to format errors returned by the service methods prior to encoding. Both errhandler and formatter are optional and can be nil.
type UpdateBadRequestResponseBody ¶
type UpdateBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
UpdateBadRequestResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "bad-request" error.
func NewUpdateBadRequestResponseBody ¶
func NewUpdateBadRequestResponseBody(res *goa.ServiceError) *UpdateBadRequestResponseBody
NewUpdateBadRequestResponseBody builds the HTTP response body from the result of the "update" endpoint of the "user" service.
type UpdateForbiddenResponseBody ¶
type UpdateForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
UpdateForbiddenResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "forbidden" error.
func NewUpdateForbiddenResponseBody ¶
func NewUpdateForbiddenResponseBody(res *goa.ServiceError) *UpdateForbiddenResponseBody
NewUpdateForbiddenResponseBody builds the HTTP response body from the result of the "update" endpoint of the "user" service.
type UpdateNotFoundResponseBody ¶
type UpdateNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
UpdateNotFoundResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "not-found" error.
func NewUpdateNotFoundResponseBody ¶
func NewUpdateNotFoundResponseBody(res *goa.ServiceError) *UpdateNotFoundResponseBody
NewUpdateNotFoundResponseBody builds the HTTP response body from the result of the "update" endpoint of the "user" service.
type UpdateRequestBody ¶
type UpdateRequestBody struct { Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` Bio *string `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"` }
UpdateRequestBody is the type of the "user" service "update" endpoint HTTP request body.
type UpdateResponseBody ¶
type UpdateResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Email string `form:"email" json:"email" xml:"email"` Bio string `form:"bio" json:"bio" xml:"bio"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` Admin bool `form:"admin" json:"admin" xml:"admin"` UpdatedAt int64 `form:"updatedAt" json:"updatedAt" xml:"updatedAt"` TncDate int64 `form:"tncDate" json:"tncDate" xml:"tncDate"` }
UpdateResponseBody is the type of the "user" service "update" endpoint HTTP response body.
func NewUpdateResponseBody ¶
func NewUpdateResponseBody(res *userviews.UserView) *UpdateResponseBody
NewUpdateResponseBody builds the HTTP response body from the result of the "update" endpoint of the "user" service.
type UpdateUnauthorizedResponseBody ¶
type UpdateUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
UpdateUnauthorizedResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "unauthorized" error.
func NewUpdateUnauthorizedResponseBody ¶
func NewUpdateUnauthorizedResponseBody(res *goa.ServiceError) *UpdateUnauthorizedResponseBody
NewUpdateUnauthorizedResponseBody builds the HTTP response body from the result of the "update" endpoint of the "user" service.
type UploadPhotoBadRequestResponseBody ¶
type UploadPhotoBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
UploadPhotoBadRequestResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "bad-request" error.
func NewUploadPhotoBadRequestResponseBody ¶
func NewUploadPhotoBadRequestResponseBody(res *goa.ServiceError) *UploadPhotoBadRequestResponseBody
NewUploadPhotoBadRequestResponseBody builds the HTTP response body from the result of the "upload photo" endpoint of the "user" service.
type UploadPhotoForbiddenResponseBody ¶
type UploadPhotoForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
UploadPhotoForbiddenResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "forbidden" error.
func NewUploadPhotoForbiddenResponseBody ¶
func NewUploadPhotoForbiddenResponseBody(res *goa.ServiceError) *UploadPhotoForbiddenResponseBody
NewUploadPhotoForbiddenResponseBody builds the HTTP response body from the result of the "upload photo" endpoint of the "user" service.
type UploadPhotoNotFoundResponseBody ¶
type UploadPhotoNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
UploadPhotoNotFoundResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "not-found" error.
func NewUploadPhotoNotFoundResponseBody ¶
func NewUploadPhotoNotFoundResponseBody(res *goa.ServiceError) *UploadPhotoNotFoundResponseBody
NewUploadPhotoNotFoundResponseBody builds the HTTP response body from the result of the "upload photo" endpoint of the "user" service.
type UploadPhotoUnauthorizedResponseBody ¶
type UploadPhotoUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
UploadPhotoUnauthorizedResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "unauthorized" error.
func NewUploadPhotoUnauthorizedResponseBody ¶
func NewUploadPhotoUnauthorizedResponseBody(res *goa.ServiceError) *UploadPhotoUnauthorizedResponseBody
NewUploadPhotoUnauthorizedResponseBody builds the HTTP response body from the result of the "upload photo" endpoint of the "user" service.
type UserCollectionResponseBody ¶
type UserCollectionResponseBody []*UserResponseBody
UserCollectionResponseBody is used to define fields on response body types.
type UserPhotoResponseBody ¶
type UserPhotoResponseBody struct {
URL *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
}
UserPhotoResponseBody is used to define fields on response body types.
type UserResponseBody ¶
type UserResponseBody struct { ID int32 `form:"id" json:"id" xml:"id"` Name string `form:"name" json:"name" xml:"name"` Email string `form:"email" json:"email" xml:"email"` Bio string `form:"bio" json:"bio" xml:"bio"` Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"` Admin bool `form:"admin" json:"admin" xml:"admin"` UpdatedAt int64 `form:"updatedAt" json:"updatedAt" xml:"updatedAt"` TncDate int64 `form:"tncDate" json:"tncDate" xml:"tncDate"` }
UserResponseBody is used to define fields on response body types.
type ValidateBadRequestResponseBody ¶
type ValidateBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ValidateBadRequestResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "bad-request" error.
func NewValidateBadRequestResponseBody ¶
func NewValidateBadRequestResponseBody(res *goa.ServiceError) *ValidateBadRequestResponseBody
NewValidateBadRequestResponseBody builds the HTTP response body from the result of the "validate" endpoint of the "user" service.
type ValidateForbiddenResponseBody ¶
type ValidateForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ValidateForbiddenResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "forbidden" error.
func NewValidateForbiddenResponseBody ¶
func NewValidateForbiddenResponseBody(res *goa.ServiceError) *ValidateForbiddenResponseBody
NewValidateForbiddenResponseBody builds the HTTP response body from the result of the "validate" endpoint of the "user" service.
type ValidateNotFoundResponseBody ¶
type ValidateNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ValidateNotFoundResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "not-found" error.
func NewValidateNotFoundResponseBody ¶
func NewValidateNotFoundResponseBody(res *goa.ServiceError) *ValidateNotFoundResponseBody
NewValidateNotFoundResponseBody builds the HTTP response body from the result of the "validate" endpoint of the "user" service.
type ValidateUnauthorizedResponseBody ¶
type ValidateUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ValidateUnauthorizedResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "unauthorized" error.
func NewValidateUnauthorizedResponseBody ¶
func NewValidateUnauthorizedResponseBody(res *goa.ServiceError) *ValidateUnauthorizedResponseBody
NewValidateUnauthorizedResponseBody builds the HTTP response body from the result of the "validate" endpoint of the "user" service.