server

package
v0.0.0-...-dca2783 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptInviteProjectPath

func AcceptInviteProjectPath(id int64) string

AcceptInviteProjectPath returns the URL path to the project service accept invite HTTP endpoint.

func AcceptProjectInviteProjectPath

func AcceptProjectInviteProjectPath(projectID int32) string

AcceptProjectInviteProjectPath returns the URL path to the project service accept project invite HTTP endpoint.

func AddProjectPath

func AddProjectPath() string

AddProjectPath returns the URL path to the project service add HTTP endpoint.

func AddStationProjectPath

func AddStationProjectPath(projectID int32, stationID int32) string

AddStationProjectPath returns the URL path to the project service add station HTTP endpoint.

func AddUpdateProjectPath

func AddUpdateProjectPath(projectID int32) string

AddUpdateProjectPath returns the URL path to the project service add update HTTP endpoint.

func DecodeAcceptInviteRequest

func DecodeAcceptInviteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeAcceptInviteRequest returns a decoder for requests sent to the project accept invite endpoint.

func DecodeAcceptProjectInviteRequest

func DecodeAcceptProjectInviteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeAcceptProjectInviteRequest returns a decoder for requests sent to the project accept project invite 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 project add endpoint.

func DecodeAddStationRequest

func DecodeAddStationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeAddStationRequest returns a decoder for requests sent to the project add station endpoint.

func DecodeAddUpdateRequest

func DecodeAddUpdateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeAddUpdateRequest returns a decoder for requests sent to the project add update endpoint.

func DecodeDeleteRequest

func DecodeDeleteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeDeleteRequest returns a decoder for requests sent to the project delete endpoint.

func DecodeDeleteUpdateRequest

func DecodeDeleteUpdateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeDeleteUpdateRequest returns a decoder for requests sent to the project delete update 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 project download photo endpoint.

func DecodeEditUserRequest

func DecodeEditUserRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeEditUserRequest returns a decoder for requests sent to the project edit user endpoint.

func DecodeGetRequest

func DecodeGetRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeGetRequest returns a decoder for requests sent to the project get endpoint.

func DecodeInviteRequest

func DecodeInviteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeInviteRequest returns a decoder for requests sent to the project invite endpoint.

func DecodeInvitesRequest

func DecodeInvitesRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeInvitesRequest returns a decoder for requests sent to the project invites endpoint.

func DecodeListCommunityRequest

func DecodeListCommunityRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeListCommunityRequest returns a decoder for requests sent to the project list community endpoint.

func DecodeListMineRequest

func DecodeListMineRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeListMineRequest returns a decoder for requests sent to the project list mine endpoint.

func DecodeLookupInviteRequest

func DecodeLookupInviteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeLookupInviteRequest returns a decoder for requests sent to the project lookup invite endpoint.

func DecodeModifyUpdateRequest

func DecodeModifyUpdateRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeModifyUpdateRequest returns a decoder for requests sent to the project modify update endpoint.

func DecodeProjectsStationRequest

func DecodeProjectsStationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeProjectsStationRequest returns a decoder for requests sent to the project projects station endpoint.

func DecodeRejectInviteRequest

func DecodeRejectInviteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeRejectInviteRequest returns a decoder for requests sent to the project reject invite endpoint.

func DecodeRejectProjectInviteRequest

func DecodeRejectProjectInviteRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeRejectProjectInviteRequest returns a decoder for requests sent to the project reject project invite endpoint.

func DecodeRemoveStationRequest

func DecodeRemoveStationRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeRemoveStationRequest returns a decoder for requests sent to the project remove station endpoint.

func DecodeRemoveUserRequest

func DecodeRemoveUserRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)

DecodeRemoveUserRequest returns a decoder for requests sent to the project remove user 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 project 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 project upload photo endpoint.

func DeleteProjectPath

func DeleteProjectPath(projectID int32) string

DeleteProjectPath returns the URL path to the project service delete HTTP endpoint.

func DeleteUpdateProjectPath

func DeleteUpdateProjectPath(projectID int32, updateID int64) string

DeleteUpdateProjectPath returns the URL path to the project service delete update HTTP endpoint.

func DownloadPhotoProjectPath

func DownloadPhotoProjectPath(projectID int32) string

DownloadPhotoProjectPath returns the URL path to the project service download photo HTTP endpoint.

func EditUserProjectPath

func EditUserProjectPath(projectID int32) string

EditUserProjectPath returns the URL path to the project service edit user HTTP endpoint.

func EncodeAcceptInviteError

func EncodeAcceptInviteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeAcceptInviteError returns an encoder for errors returned by the accept invite project endpoint.

func EncodeAcceptInviteResponse

func EncodeAcceptInviteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeAcceptInviteResponse returns an encoder for responses returned by the project accept invite endpoint.

func EncodeAcceptProjectInviteError

func EncodeAcceptProjectInviteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeAcceptProjectInviteError returns an encoder for errors returned by the accept project invite project endpoint.

func EncodeAcceptProjectInviteResponse

func EncodeAcceptProjectInviteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeAcceptProjectInviteResponse returns an encoder for responses returned by the project accept project invite 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 project 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 project add endpoint.

func EncodeAddStationError

func EncodeAddStationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeAddStationError returns an encoder for errors returned by the add station project endpoint.

func EncodeAddStationResponse

func EncodeAddStationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeAddStationResponse returns an encoder for responses returned by the project add station endpoint.

func EncodeAddUpdateError

func EncodeAddUpdateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeAddUpdateError returns an encoder for errors returned by the add update project endpoint.

func EncodeAddUpdateResponse

func EncodeAddUpdateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeAddUpdateResponse returns an encoder for responses returned by the project add update endpoint.

func EncodeDeleteError

func EncodeDeleteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeDeleteError returns an encoder for errors returned by the delete project endpoint.

func EncodeDeleteResponse

func EncodeDeleteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeDeleteResponse returns an encoder for responses returned by the project delete endpoint.

func EncodeDeleteUpdateError

func EncodeDeleteUpdateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeDeleteUpdateError returns an encoder for errors returned by the delete update project endpoint.

func EncodeDeleteUpdateResponse

func EncodeDeleteUpdateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeDeleteUpdateResponse returns an encoder for responses returned by the project delete update 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 project 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 project download photo endpoint.

func EncodeEditUserError

func EncodeEditUserError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeEditUserError returns an encoder for errors returned by the edit user project endpoint.

func EncodeEditUserResponse

func EncodeEditUserResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeEditUserResponse returns an encoder for responses returned by the project edit user endpoint.

func EncodeGetError

func EncodeGetError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeGetError returns an encoder for errors returned by the get project endpoint.

func EncodeGetResponse

func EncodeGetResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeGetResponse returns an encoder for responses returned by the project get endpoint.

func EncodeInviteError

func EncodeInviteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeInviteError returns an encoder for errors returned by the invite project endpoint.

func EncodeInviteResponse

func EncodeInviteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeInviteResponse returns an encoder for responses returned by the project invite endpoint.

func EncodeInvitesError

func EncodeInvitesError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeInvitesError returns an encoder for errors returned by the invites project endpoint.

func EncodeInvitesResponse

func EncodeInvitesResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeInvitesResponse returns an encoder for responses returned by the project invites endpoint.

func EncodeListCommunityError

func EncodeListCommunityError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeListCommunityError returns an encoder for errors returned by the list community project endpoint.

func EncodeListCommunityResponse

func EncodeListCommunityResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeListCommunityResponse returns an encoder for responses returned by the project list community endpoint.

func EncodeListMineError

func EncodeListMineError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeListMineError returns an encoder for errors returned by the list mine project endpoint.

func EncodeListMineResponse

func EncodeListMineResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeListMineResponse returns an encoder for responses returned by the project list mine endpoint.

func EncodeLookupInviteError

func EncodeLookupInviteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeLookupInviteError returns an encoder for errors returned by the lookup invite project endpoint.

func EncodeLookupInviteResponse

func EncodeLookupInviteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeLookupInviteResponse returns an encoder for responses returned by the project lookup invite endpoint.

func EncodeModifyUpdateError

func EncodeModifyUpdateError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeModifyUpdateError returns an encoder for errors returned by the modify update project endpoint.

func EncodeModifyUpdateResponse

func EncodeModifyUpdateResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeModifyUpdateResponse returns an encoder for responses returned by the project modify update endpoint.

func EncodeProjectsStationError

func EncodeProjectsStationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeProjectsStationError returns an encoder for errors returned by the projects station project endpoint.

func EncodeProjectsStationResponse

func EncodeProjectsStationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeProjectsStationResponse returns an encoder for responses returned by the project projects station endpoint.

func EncodeRejectInviteError

func EncodeRejectInviteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeRejectInviteError returns an encoder for errors returned by the reject invite project endpoint.

func EncodeRejectInviteResponse

func EncodeRejectInviteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeRejectInviteResponse returns an encoder for responses returned by the project reject invite endpoint.

func EncodeRejectProjectInviteError

func EncodeRejectProjectInviteError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeRejectProjectInviteError returns an encoder for errors returned by the reject project invite project endpoint.

func EncodeRejectProjectInviteResponse

func EncodeRejectProjectInviteResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeRejectProjectInviteResponse returns an encoder for responses returned by the project reject project invite endpoint.

func EncodeRemoveStationError

func EncodeRemoveStationError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeRemoveStationError returns an encoder for errors returned by the remove station project endpoint.

func EncodeRemoveStationResponse

func EncodeRemoveStationResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeRemoveStationResponse returns an encoder for responses returned by the project remove station endpoint.

func EncodeRemoveUserError

func EncodeRemoveUserError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error

EncodeRemoveUserError returns an encoder for errors returned by the remove user project endpoint.

func EncodeRemoveUserResponse

func EncodeRemoveUserResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error

EncodeRemoveUserResponse returns an encoder for responses returned by the project remove user 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 project 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 project 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 project 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 project upload photo endpoint.

func GetProjectPath

func GetProjectPath(projectID int32) string

GetProjectPath returns the URL path to the project service get HTTP endpoint.

func InviteProjectPath

func InviteProjectPath(projectID int32) string

InviteProjectPath returns the URL path to the project service invite HTTP endpoint.

func InvitesProjectPath

func InvitesProjectPath() string

InvitesProjectPath returns the URL path to the project service invites HTTP endpoint.

func ListCommunityProjectPath

func ListCommunityProjectPath() string

ListCommunityProjectPath returns the URL path to the project service list community HTTP endpoint.

func ListMineProjectPath

func ListMineProjectPath() string

ListMineProjectPath returns the URL path to the project service list mine HTTP endpoint.

func LookupInviteProjectPath

func LookupInviteProjectPath(token string) string

LookupInviteProjectPath returns the URL path to the project service lookup invite HTTP endpoint.

func ModifyUpdateProjectPath

func ModifyUpdateProjectPath(projectID int32, updateID int64) string

ModifyUpdateProjectPath returns the URL path to the project service modify update HTTP endpoint.

func Mount

func Mount(mux goahttp.Muxer, h *Server)

Mount configures the mux to serve the project endpoints.

func MountAcceptInviteHandler

func MountAcceptInviteHandler(mux goahttp.Muxer, h http.Handler)

MountAcceptInviteHandler configures the mux to serve the "project" service "accept invite" endpoint.

func MountAcceptProjectInviteHandler

func MountAcceptProjectInviteHandler(mux goahttp.Muxer, h http.Handler)

MountAcceptProjectInviteHandler configures the mux to serve the "project" service "accept project invite" endpoint.

func MountAddHandler

func MountAddHandler(mux goahttp.Muxer, h http.Handler)

MountAddHandler configures the mux to serve the "project" service "add" endpoint.

func MountAddStationHandler

func MountAddStationHandler(mux goahttp.Muxer, h http.Handler)

MountAddStationHandler configures the mux to serve the "project" service "add station" endpoint.

func MountAddUpdateHandler

func MountAddUpdateHandler(mux goahttp.Muxer, h http.Handler)

MountAddUpdateHandler configures the mux to serve the "project" service "add update" endpoint.

func MountCORSHandler

func MountCORSHandler(mux goahttp.Muxer, h http.Handler)

MountCORSHandler configures the mux to serve the CORS endpoints for the service project.

func MountDeleteHandler

func MountDeleteHandler(mux goahttp.Muxer, h http.Handler)

MountDeleteHandler configures the mux to serve the "project" service "delete" endpoint.

func MountDeleteUpdateHandler

func MountDeleteUpdateHandler(mux goahttp.Muxer, h http.Handler)

MountDeleteUpdateHandler configures the mux to serve the "project" service "delete update" endpoint.

func MountDownloadPhotoHandler

func MountDownloadPhotoHandler(mux goahttp.Muxer, h http.Handler)

MountDownloadPhotoHandler configures the mux to serve the "project" service "download photo" endpoint.

func MountEditUserHandler

func MountEditUserHandler(mux goahttp.Muxer, h http.Handler)

MountEditUserHandler configures the mux to serve the "project" service "edit user" endpoint.

func MountGetHandler

func MountGetHandler(mux goahttp.Muxer, h http.Handler)

MountGetHandler configures the mux to serve the "project" service "get" endpoint.

func MountInviteHandler

func MountInviteHandler(mux goahttp.Muxer, h http.Handler)

MountInviteHandler configures the mux to serve the "project" service "invite" endpoint.

func MountInvitesHandler

func MountInvitesHandler(mux goahttp.Muxer, h http.Handler)

MountInvitesHandler configures the mux to serve the "project" service "invites" endpoint.

func MountListCommunityHandler

func MountListCommunityHandler(mux goahttp.Muxer, h http.Handler)

MountListCommunityHandler configures the mux to serve the "project" service "list community" endpoint.

func MountListMineHandler

func MountListMineHandler(mux goahttp.Muxer, h http.Handler)

MountListMineHandler configures the mux to serve the "project" service "list mine" endpoint.

func MountLookupInviteHandler

func MountLookupInviteHandler(mux goahttp.Muxer, h http.Handler)

MountLookupInviteHandler configures the mux to serve the "project" service "lookup invite" endpoint.

func MountModifyUpdateHandler

func MountModifyUpdateHandler(mux goahttp.Muxer, h http.Handler)

MountModifyUpdateHandler configures the mux to serve the "project" service "modify update" endpoint.

func MountProjectsStationHandler

func MountProjectsStationHandler(mux goahttp.Muxer, h http.Handler)

MountProjectsStationHandler configures the mux to serve the "project" service "projects station" endpoint.

func MountRejectInviteHandler

func MountRejectInviteHandler(mux goahttp.Muxer, h http.Handler)

MountRejectInviteHandler configures the mux to serve the "project" service "reject invite" endpoint.

func MountRejectProjectInviteHandler

func MountRejectProjectInviteHandler(mux goahttp.Muxer, h http.Handler)

MountRejectProjectInviteHandler configures the mux to serve the "project" service "reject project invite" endpoint.

func MountRemoveStationHandler

func MountRemoveStationHandler(mux goahttp.Muxer, h http.Handler)

MountRemoveStationHandler configures the mux to serve the "project" service "remove station" endpoint.

func MountRemoveUserHandler

func MountRemoveUserHandler(mux goahttp.Muxer, h http.Handler)

MountRemoveUserHandler configures the mux to serve the "project" service "remove user" endpoint.

func MountUpdateHandler

func MountUpdateHandler(mux goahttp.Muxer, h http.Handler)

MountUpdateHandler configures the mux to serve the "project" service "update" endpoint.

func MountUploadPhotoHandler

func MountUploadPhotoHandler(mux goahttp.Muxer, h http.Handler)

MountUploadPhotoHandler configures the mux to serve the "project" service "upload photo" endpoint.

func NewAcceptInviteHandler

func NewAcceptInviteHandler(
	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

NewAcceptInviteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "accept invite" endpoint.

func NewAcceptInvitePayload

func NewAcceptInvitePayload(id int64, token *string, auth string) *project.AcceptInvitePayload

NewAcceptInvitePayload builds a project service accept invite endpoint payload.

func NewAcceptProjectInviteHandler

func NewAcceptProjectInviteHandler(
	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

NewAcceptProjectInviteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "accept project invite" endpoint.

func NewAcceptProjectInvitePayload

func NewAcceptProjectInvitePayload(projectID int32, auth string) *project.AcceptProjectInvitePayload

NewAcceptProjectInvitePayload builds a project service accept project invite 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 "project" service "add" endpoint.

func NewAddPayload

func NewAddPayload(body *AddRequestBody, auth string) *project.AddPayload

NewAddPayload builds a project service add endpoint payload.

func NewAddStationHandler

func NewAddStationHandler(
	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

NewAddStationHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "add station" endpoint.

func NewAddStationPayload

func NewAddStationPayload(projectID int32, stationID int32, auth string) *project.AddStationPayload

NewAddStationPayload builds a project service add station endpoint payload.

func NewAddUpdateHandler

func NewAddUpdateHandler(
	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

NewAddUpdateHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "add update" endpoint.

func NewAddUpdatePayload

func NewAddUpdatePayload(body *AddUpdateRequestBody, projectID int32, auth string) *project.AddUpdatePayload

NewAddUpdatePayload builds a project service add update endpoint payload.

func NewCORSHandler

func NewCORSHandler() http.Handler

NewCORSHandler creates a HTTP handler which returns a simple 200 response.

func NewDeleteHandler

func NewDeleteHandler(
	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

NewDeleteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "delete" endpoint.

func NewDeletePayload

func NewDeletePayload(projectID int32, auth string) *project.DeletePayload

NewDeletePayload builds a project service delete endpoint payload.

func NewDeleteUpdateHandler

func NewDeleteUpdateHandler(
	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

NewDeleteUpdateHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "delete update" endpoint.

func NewDeleteUpdatePayload

func NewDeleteUpdatePayload(projectID int32, updateID int64, auth string) *project.DeleteUpdatePayload

NewDeleteUpdatePayload builds a project service delete update 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 "project" service "download photo" endpoint.

func NewDownloadPhotoPayload

func NewDownloadPhotoPayload(projectID int32, size *int32, ifNoneMatch *string, auth *string) *project.DownloadPhotoPayload

NewDownloadPhotoPayload builds a project service download photo endpoint payload.

func NewEditUserHandler

func NewEditUserHandler(
	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

NewEditUserHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "edit user" endpoint.

func NewEditUserPayload

func NewEditUserPayload(body *EditUserRequestBody, projectID int32, auth string) *project.EditUserPayload

NewEditUserPayload builds a project service edit user endpoint payload.

func NewGetHandler

func NewGetHandler(
	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

NewGetHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "get" endpoint.

func NewGetPayload

func NewGetPayload(projectID int32, auth *string) *project.GetPayload

NewGetPayload builds a project service get endpoint payload.

func NewInviteHandler

func NewInviteHandler(
	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

NewInviteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "invite" endpoint.

func NewInvitePayload

func NewInvitePayload(body *InviteRequestBody, projectID int32, auth string) *project.InvitePayload

NewInvitePayload builds a project service invite endpoint payload.

func NewInvitesHandler

func NewInvitesHandler(
	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

NewInvitesHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "invites" endpoint.

func NewInvitesPayload

func NewInvitesPayload(auth string) *project.InvitesPayload

NewInvitesPayload builds a project service invites endpoint payload.

func NewListCommunityHandler

func NewListCommunityHandler(
	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

NewListCommunityHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "list community" endpoint.

func NewListCommunityPayload

func NewListCommunityPayload(auth *string) *project.ListCommunityPayload

NewListCommunityPayload builds a project service list community endpoint payload.

func NewListMineHandler

func NewListMineHandler(
	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

NewListMineHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "list mine" endpoint.

func NewListMinePayload

func NewListMinePayload(auth string) *project.ListMinePayload

NewListMinePayload builds a project service list mine endpoint payload.

func NewLookupInviteHandler

func NewLookupInviteHandler(
	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

NewLookupInviteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "lookup invite" endpoint.

func NewLookupInvitePayload

func NewLookupInvitePayload(token string, auth string) *project.LookupInvitePayload

NewLookupInvitePayload builds a project service lookup invite endpoint payload.

func NewModifyUpdateHandler

func NewModifyUpdateHandler(
	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

NewModifyUpdateHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "modify update" endpoint.

func NewModifyUpdatePayload

func NewModifyUpdatePayload(body *ModifyUpdateRequestBody, projectID int32, updateID int64, auth string) *project.ModifyUpdatePayload

NewModifyUpdatePayload builds a project service modify update endpoint payload.

func NewProjectsStationHandler

func NewProjectsStationHandler(
	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

NewProjectsStationHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "projects station" endpoint.

func NewProjectsStationPayload

func NewProjectsStationPayload(id int32, auth string) *project.ProjectsStationPayload

NewProjectsStationPayload builds a project service projects station endpoint payload.

func NewRejectInviteHandler

func NewRejectInviteHandler(
	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

NewRejectInviteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "reject invite" endpoint.

func NewRejectInvitePayload

func NewRejectInvitePayload(id int64, token *string, auth string) *project.RejectInvitePayload

NewRejectInvitePayload builds a project service reject invite endpoint payload.

func NewRejectProjectInviteHandler

func NewRejectProjectInviteHandler(
	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

NewRejectProjectInviteHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "reject project invite" endpoint.

func NewRejectProjectInvitePayload

func NewRejectProjectInvitePayload(projectID int32, auth string) *project.RejectProjectInvitePayload

NewRejectProjectInvitePayload builds a project service reject project invite endpoint payload.

func NewRemoveStationHandler

func NewRemoveStationHandler(
	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

NewRemoveStationHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "remove station" endpoint.

func NewRemoveStationPayload

func NewRemoveStationPayload(projectID int32, stationID int32, auth string) *project.RemoveStationPayload

NewRemoveStationPayload builds a project service remove station endpoint payload.

func NewRemoveUserHandler

func NewRemoveUserHandler(
	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

NewRemoveUserHandler creates a HTTP handler which loads the HTTP request and calls the "project" service "remove user" endpoint.

func NewRemoveUserPayload

func NewRemoveUserPayload(body *RemoveUserRequestBody, projectID int32, auth string) *project.RemoveUserPayload

NewRemoveUserPayload builds a project service remove user 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 "project" service "update" endpoint.

func NewUpdatePayload

func NewUpdatePayload(body *UpdateRequestBody, projectID int32, auth string) *project.UpdatePayload

NewUpdatePayload builds a project 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 "project" service "upload photo" endpoint.

func NewUploadPhotoPayload

func NewUploadPhotoPayload(projectID int32, contentType string, contentLength int64, auth string) *project.UploadPhotoPayload

NewUploadPhotoPayload builds a project service upload photo endpoint payload.

func ProjectsStationProjectPath

func ProjectsStationProjectPath(id int32) string

ProjectsStationProjectPath returns the URL path to the project service projects station HTTP endpoint.

func RejectInviteProjectPath

func RejectInviteProjectPath(id int64) string

RejectInviteProjectPath returns the URL path to the project service reject invite HTTP endpoint.

func RejectProjectInviteProjectPath

func RejectProjectInviteProjectPath(projectID int32) string

RejectProjectInviteProjectPath returns the URL path to the project service reject project invite HTTP endpoint.

func RemoveStationProjectPath

func RemoveStationProjectPath(projectID int32, stationID int32) string

RemoveStationProjectPath returns the URL path to the project service remove station HTTP endpoint.

func RemoveUserProjectPath

func RemoveUserProjectPath(projectID int32) string

RemoveUserProjectPath returns the URL path to the project service remove user HTTP endpoint.

func UpdateProjectPath

func UpdateProjectPath(projectID int32) string

UpdateProjectPath returns the URL path to the project service update HTTP endpoint.

func UploadPhotoProjectPath

func UploadPhotoProjectPath(projectID int32) string

UploadPhotoProjectPath returns the URL path to the project service upload photo HTTP endpoint.

func ValidateAddRequestBody

func ValidateAddRequestBody(body *AddRequestBody) (err error)

ValidateAddRequestBody runs the validations defined on AddRequestBody

func ValidateAddUpdateRequestBody

func ValidateAddUpdateRequestBody(body *AddUpdateRequestBody) (err error)

ValidateAddUpdateRequestBody runs the validations defined on Add UpdateRequestBody

func ValidateEditUserRequestBody

func ValidateEditUserRequestBody(body *EditUserRequestBody) (err error)

ValidateEditUserRequestBody runs the validations defined on Edit UserRequestBody

func ValidateInviteRequestBody

func ValidateInviteRequestBody(body *InviteRequestBody) (err error)

ValidateInviteRequestBody runs the validations defined on InviteRequestBody

func ValidateModifyUpdateRequestBody

func ValidateModifyUpdateRequestBody(body *ModifyUpdateRequestBody) (err error)

ValidateModifyUpdateRequestBody runs the validations defined on Modify UpdateRequestBody

func ValidateProjectBoundsRequestBodyRequestBody

func ValidateProjectBoundsRequestBodyRequestBody(body *ProjectBoundsRequestBodyRequestBody) (err error)

ValidateProjectBoundsRequestBodyRequestBody runs the validations defined on ProjectBoundsRequestBodyRequestBody

func ValidateRemoveUserRequestBody

func ValidateRemoveUserRequestBody(body *RemoveUserRequestBody) (err error)

ValidateRemoveUserRequestBody runs the validations defined on Remove UserRequestBody

func ValidateUpdateRequestBody

func ValidateUpdateRequestBody(body *UpdateRequestBody) (err error)

ValidateUpdateRequestBody runs the validations defined on UpdateRequestBody

Types

type AcceptInviteBadRequestResponseBody

type AcceptInviteBadRequestResponseBody 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"`
}

AcceptInviteBadRequestResponseBody is the type of the "project" service "accept invite" endpoint HTTP response body for the "bad-request" error.

func NewAcceptInviteBadRequestResponseBody

func NewAcceptInviteBadRequestResponseBody(res *goa.ServiceError) *AcceptInviteBadRequestResponseBody

NewAcceptInviteBadRequestResponseBody builds the HTTP response body from the result of the "accept invite" endpoint of the "project" service.

type AcceptInviteForbiddenResponseBody

type AcceptInviteForbiddenResponseBody 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"`
}

AcceptInviteForbiddenResponseBody is the type of the "project" service "accept invite" endpoint HTTP response body for the "forbidden" error.

func NewAcceptInviteForbiddenResponseBody

func NewAcceptInviteForbiddenResponseBody(res *goa.ServiceError) *AcceptInviteForbiddenResponseBody

NewAcceptInviteForbiddenResponseBody builds the HTTP response body from the result of the "accept invite" endpoint of the "project" service.

type AcceptInviteNotFoundResponseBody

type AcceptInviteNotFoundResponseBody 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"`
}

AcceptInviteNotFoundResponseBody is the type of the "project" service "accept invite" endpoint HTTP response body for the "not-found" error.

func NewAcceptInviteNotFoundResponseBody

func NewAcceptInviteNotFoundResponseBody(res *goa.ServiceError) *AcceptInviteNotFoundResponseBody

NewAcceptInviteNotFoundResponseBody builds the HTTP response body from the result of the "accept invite" endpoint of the "project" service.

type AcceptInviteUnauthorizedResponseBody

type AcceptInviteUnauthorizedResponseBody 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"`
}

AcceptInviteUnauthorizedResponseBody is the type of the "project" service "accept invite" endpoint HTTP response body for the "unauthorized" error.

func NewAcceptInviteUnauthorizedResponseBody

func NewAcceptInviteUnauthorizedResponseBody(res *goa.ServiceError) *AcceptInviteUnauthorizedResponseBody

NewAcceptInviteUnauthorizedResponseBody builds the HTTP response body from the result of the "accept invite" endpoint of the "project" service.

type AcceptProjectInviteBadRequestResponseBody

type AcceptProjectInviteBadRequestResponseBody 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"`
}

AcceptProjectInviteBadRequestResponseBody is the type of the "project" service "accept project invite" endpoint HTTP response body for the "bad-request" error.

func NewAcceptProjectInviteBadRequestResponseBody

func NewAcceptProjectInviteBadRequestResponseBody(res *goa.ServiceError) *AcceptProjectInviteBadRequestResponseBody

NewAcceptProjectInviteBadRequestResponseBody builds the HTTP response body from the result of the "accept project invite" endpoint of the "project" service.

type AcceptProjectInviteForbiddenResponseBody

type AcceptProjectInviteForbiddenResponseBody 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"`
}

AcceptProjectInviteForbiddenResponseBody is the type of the "project" service "accept project invite" endpoint HTTP response body for the "forbidden" error.

func NewAcceptProjectInviteForbiddenResponseBody

func NewAcceptProjectInviteForbiddenResponseBody(res *goa.ServiceError) *AcceptProjectInviteForbiddenResponseBody

NewAcceptProjectInviteForbiddenResponseBody builds the HTTP response body from the result of the "accept project invite" endpoint of the "project" service.

type AcceptProjectInviteNotFoundResponseBody

type AcceptProjectInviteNotFoundResponseBody 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"`
}

AcceptProjectInviteNotFoundResponseBody is the type of the "project" service "accept project invite" endpoint HTTP response body for the "not-found" error.

func NewAcceptProjectInviteNotFoundResponseBody

func NewAcceptProjectInviteNotFoundResponseBody(res *goa.ServiceError) *AcceptProjectInviteNotFoundResponseBody

NewAcceptProjectInviteNotFoundResponseBody builds the HTTP response body from the result of the "accept project invite" endpoint of the "project" service.

type AcceptProjectInviteUnauthorizedResponseBody

type AcceptProjectInviteUnauthorizedResponseBody 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"`
}

AcceptProjectInviteUnauthorizedResponseBody is the type of the "project" service "accept project invite" endpoint HTTP response body for the "unauthorized" error.

func NewAcceptProjectInviteUnauthorizedResponseBody

func NewAcceptProjectInviteUnauthorizedResponseBody(res *goa.ServiceError) *AcceptProjectInviteUnauthorizedResponseBody

NewAcceptProjectInviteUnauthorizedResponseBody builds the HTTP response body from the result of the "accept project invite" endpoint of the "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" service.

type AddRequestBody

type AddRequestBody struct {
	Name         *string                              `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Description  *string                              `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Goal         *string                              `form:"goal,omitempty" json:"goal,omitempty" xml:"goal,omitempty"`
	Location     *string                              `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	Tags         *string                              `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	Privacy      *int32                               `form:"privacy,omitempty" json:"privacy,omitempty" xml:"privacy,omitempty"`
	StartTime    *string                              `form:"startTime,omitempty" json:"startTime,omitempty" xml:"startTime,omitempty"`
	EndTime      *string                              `form:"endTime,omitempty" json:"endTime,omitempty" xml:"endTime,omitempty"`
	Bounds       *ProjectBoundsRequestBodyRequestBody `form:"bounds,omitempty" json:"bounds,omitempty" xml:"bounds,omitempty"`
	ShowStations *bool                                `form:"showStations,omitempty" json:"showStations,omitempty" xml:"showStations,omitempty"`
}

AddRequestBody is the type of the "project" 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"`
	Description  string                        `form:"description" json:"description" xml:"description"`
	Goal         string                        `form:"goal" json:"goal" xml:"goal"`
	Location     string                        `form:"location" json:"location" xml:"location"`
	Tags         string                        `form:"tags" json:"tags" xml:"tags"`
	Privacy      int32                         `form:"privacy" json:"privacy" xml:"privacy"`
	StartTime    *string                       `form:"startTime,omitempty" json:"startTime,omitempty" xml:"startTime,omitempty"`
	EndTime      *string                       `form:"endTime,omitempty" json:"endTime,omitempty" xml:"endTime,omitempty"`
	Photo        *string                       `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	ReadOnly     bool                          `form:"readOnly" json:"readOnly" xml:"readOnly"`
	ShowStations bool                          `form:"showStations" json:"showStations" xml:"showStations"`
	Bounds       *ProjectBoundsResponseBody    `form:"bounds" json:"bounds" xml:"bounds"`
	Following    *ProjectFollowingResponseBody `form:"following" json:"following" xml:"following"`
}

AddResponseBody is the type of the "project" service "add" endpoint HTTP response body.

func NewAddResponseBody

func NewAddResponseBody(res *projectviews.ProjectView) *AddResponseBody

NewAddResponseBody builds the HTTP response body from the result of the "add" endpoint of the "project" service.

type AddStationBadRequestResponseBody

type AddStationBadRequestResponseBody 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"`
}

AddStationBadRequestResponseBody is the type of the "project" service "add station" endpoint HTTP response body for the "bad-request" error.

func NewAddStationBadRequestResponseBody

func NewAddStationBadRequestResponseBody(res *goa.ServiceError) *AddStationBadRequestResponseBody

NewAddStationBadRequestResponseBody builds the HTTP response body from the result of the "add station" endpoint of the "project" service.

type AddStationForbiddenResponseBody

type AddStationForbiddenResponseBody 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"`
}

AddStationForbiddenResponseBody is the type of the "project" service "add station" endpoint HTTP response body for the "forbidden" error.

func NewAddStationForbiddenResponseBody

func NewAddStationForbiddenResponseBody(res *goa.ServiceError) *AddStationForbiddenResponseBody

NewAddStationForbiddenResponseBody builds the HTTP response body from the result of the "add station" endpoint of the "project" service.

type AddStationNotFoundResponseBody

type AddStationNotFoundResponseBody 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"`
}

AddStationNotFoundResponseBody is the type of the "project" service "add station" endpoint HTTP response body for the "not-found" error.

func NewAddStationNotFoundResponseBody

func NewAddStationNotFoundResponseBody(res *goa.ServiceError) *AddStationNotFoundResponseBody

NewAddStationNotFoundResponseBody builds the HTTP response body from the result of the "add station" endpoint of the "project" service.

type AddStationUnauthorizedResponseBody

type AddStationUnauthorizedResponseBody 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"`
}

AddStationUnauthorizedResponseBody is the type of the "project" service "add station" endpoint HTTP response body for the "unauthorized" error.

func NewAddStationUnauthorizedResponseBody

func NewAddStationUnauthorizedResponseBody(res *goa.ServiceError) *AddStationUnauthorizedResponseBody

NewAddStationUnauthorizedResponseBody builds the HTTP response body from the result of the "add station" endpoint of the "project" service.

type AddUnauthorizedResponseBody

type AddUnauthorizedResponseBody 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"`
}

AddUnauthorizedResponseBody is the type of the "project" 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 "project" service.

type AddUpdateBadRequestResponseBody

type AddUpdateBadRequestResponseBody 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"`
}

AddUpdateBadRequestResponseBody is the type of the "project" service "add update" endpoint HTTP response body for the "bad-request" error.

func NewAddUpdateBadRequestResponseBody

func NewAddUpdateBadRequestResponseBody(res *goa.ServiceError) *AddUpdateBadRequestResponseBody

NewAddUpdateBadRequestResponseBody builds the HTTP response body from the result of the "add update" endpoint of the "project" service.

type AddUpdateForbiddenResponseBody

type AddUpdateForbiddenResponseBody 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"`
}

AddUpdateForbiddenResponseBody is the type of the "project" service "add update" endpoint HTTP response body for the "forbidden" error.

func NewAddUpdateForbiddenResponseBody

func NewAddUpdateForbiddenResponseBody(res *goa.ServiceError) *AddUpdateForbiddenResponseBody

NewAddUpdateForbiddenResponseBody builds the HTTP response body from the result of the "add update" endpoint of the "project" service.

type AddUpdateNotFoundResponseBody

type AddUpdateNotFoundResponseBody 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"`
}

AddUpdateNotFoundResponseBody is the type of the "project" service "add update" endpoint HTTP response body for the "not-found" error.

func NewAddUpdateNotFoundResponseBody

func NewAddUpdateNotFoundResponseBody(res *goa.ServiceError) *AddUpdateNotFoundResponseBody

NewAddUpdateNotFoundResponseBody builds the HTTP response body from the result of the "add update" endpoint of the "project" service.

type AddUpdateRequestBody

type AddUpdateRequestBody struct {
	Body *string `form:"body,omitempty" json:"body,omitempty" xml:"body,omitempty"`
}

AddUpdateRequestBody is the type of the "project" service "add update" endpoint HTTP request body.

type AddUpdateResponseBody

type AddUpdateResponseBody struct {
	ID   int64  `form:"id" json:"id" xml:"id"`
	Body string `form:"body" json:"body" xml:"body"`
}

AddUpdateResponseBody is the type of the "project" service "add update" endpoint HTTP response body.

func NewAddUpdateResponseBody

func NewAddUpdateResponseBody(res *projectviews.ProjectUpdateView) *AddUpdateResponseBody

NewAddUpdateResponseBody builds the HTTP response body from the result of the "add update" endpoint of the "project" service.

type AddUpdateUnauthorizedResponseBody

type AddUpdateUnauthorizedResponseBody 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"`
}

AddUpdateUnauthorizedResponseBody is the type of the "project" service "add update" endpoint HTTP response body for the "unauthorized" error.

func NewAddUpdateUnauthorizedResponseBody

func NewAddUpdateUnauthorizedResponseBody(res *goa.ServiceError) *AddUpdateUnauthorizedResponseBody

NewAddUpdateUnauthorizedResponseBody builds the HTTP response body from the result of the "add update" endpoint of the "project" service.

type DeleteBadRequestResponseBody

type DeleteBadRequestResponseBody 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"`
}

DeleteBadRequestResponseBody is the type of the "project" service "delete" endpoint HTTP response body for the "bad-request" error.

func NewDeleteBadRequestResponseBody

func NewDeleteBadRequestResponseBody(res *goa.ServiceError) *DeleteBadRequestResponseBody

NewDeleteBadRequestResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "project" service.

type DeleteForbiddenResponseBody

type DeleteForbiddenResponseBody 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"`
}

DeleteForbiddenResponseBody is the type of the "project" service "delete" endpoint HTTP response body for the "forbidden" error.

func NewDeleteForbiddenResponseBody

func NewDeleteForbiddenResponseBody(res *goa.ServiceError) *DeleteForbiddenResponseBody

NewDeleteForbiddenResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "project" service.

type DeleteNotFoundResponseBody

type DeleteNotFoundResponseBody 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"`
}

DeleteNotFoundResponseBody is the type of the "project" service "delete" endpoint HTTP response body for the "not-found" error.

func NewDeleteNotFoundResponseBody

func NewDeleteNotFoundResponseBody(res *goa.ServiceError) *DeleteNotFoundResponseBody

NewDeleteNotFoundResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "project" service.

type DeleteUnauthorizedResponseBody

type DeleteUnauthorizedResponseBody 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"`
}

DeleteUnauthorizedResponseBody is the type of the "project" service "delete" endpoint HTTP response body for the "unauthorized" error.

func NewDeleteUnauthorizedResponseBody

func NewDeleteUnauthorizedResponseBody(res *goa.ServiceError) *DeleteUnauthorizedResponseBody

NewDeleteUnauthorizedResponseBody builds the HTTP response body from the result of the "delete" endpoint of the "project" service.

type DeleteUpdateBadRequestResponseBody

type DeleteUpdateBadRequestResponseBody 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"`
}

DeleteUpdateBadRequestResponseBody is the type of the "project" service "delete update" endpoint HTTP response body for the "bad-request" error.

func NewDeleteUpdateBadRequestResponseBody

func NewDeleteUpdateBadRequestResponseBody(res *goa.ServiceError) *DeleteUpdateBadRequestResponseBody

NewDeleteUpdateBadRequestResponseBody builds the HTTP response body from the result of the "delete update" endpoint of the "project" service.

type DeleteUpdateForbiddenResponseBody

type DeleteUpdateForbiddenResponseBody 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"`
}

DeleteUpdateForbiddenResponseBody is the type of the "project" service "delete update" endpoint HTTP response body for the "forbidden" error.

func NewDeleteUpdateForbiddenResponseBody

func NewDeleteUpdateForbiddenResponseBody(res *goa.ServiceError) *DeleteUpdateForbiddenResponseBody

NewDeleteUpdateForbiddenResponseBody builds the HTTP response body from the result of the "delete update" endpoint of the "project" service.

type DeleteUpdateNotFoundResponseBody

type DeleteUpdateNotFoundResponseBody 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"`
}

DeleteUpdateNotFoundResponseBody is the type of the "project" service "delete update" endpoint HTTP response body for the "not-found" error.

func NewDeleteUpdateNotFoundResponseBody

func NewDeleteUpdateNotFoundResponseBody(res *goa.ServiceError) *DeleteUpdateNotFoundResponseBody

NewDeleteUpdateNotFoundResponseBody builds the HTTP response body from the result of the "delete update" endpoint of the "project" service.

type DeleteUpdateUnauthorizedResponseBody

type DeleteUpdateUnauthorizedResponseBody 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"`
}

DeleteUpdateUnauthorizedResponseBody is the type of the "project" service "delete update" endpoint HTTP response body for the "unauthorized" error.

func NewDeleteUpdateUnauthorizedResponseBody

func NewDeleteUpdateUnauthorizedResponseBody(res *goa.ServiceError) *DeleteUpdateUnauthorizedResponseBody

NewDeleteUpdateUnauthorizedResponseBody builds the HTTP response body from the result of the "delete update" endpoint of the "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" service "download photo" endpoint HTTP response body.

func NewDownloadPhotoResponseBody

func NewDownloadPhotoResponseBody(res *projectviews.DownloadedPhotoView) *DownloadPhotoResponseBody

NewDownloadPhotoResponseBody builds the HTTP response body from the result of the "download photo" endpoint of the "project" service.

type DownloadPhotoUnauthorizedResponseBody

type DownloadPhotoUnauthorizedResponseBody 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"`
}

DownloadPhotoUnauthorizedResponseBody is the type of the "project" 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 "project" service.

type EditUserBadRequestResponseBody

type EditUserBadRequestResponseBody 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"`
}

EditUserBadRequestResponseBody is the type of the "project" service "edit user" endpoint HTTP response body for the "bad-request" error.

func NewEditUserBadRequestResponseBody

func NewEditUserBadRequestResponseBody(res *goa.ServiceError) *EditUserBadRequestResponseBody

NewEditUserBadRequestResponseBody builds the HTTP response body from the result of the "edit user" endpoint of the "project" service.

type EditUserForbiddenResponseBody

type EditUserForbiddenResponseBody 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"`
}

EditUserForbiddenResponseBody is the type of the "project" service "edit user" endpoint HTTP response body for the "forbidden" error.

func NewEditUserForbiddenResponseBody

func NewEditUserForbiddenResponseBody(res *goa.ServiceError) *EditUserForbiddenResponseBody

NewEditUserForbiddenResponseBody builds the HTTP response body from the result of the "edit user" endpoint of the "project" service.

type EditUserNotFoundResponseBody

type EditUserNotFoundResponseBody 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"`
}

EditUserNotFoundResponseBody is the type of the "project" service "edit user" endpoint HTTP response body for the "not-found" error.

func NewEditUserNotFoundResponseBody

func NewEditUserNotFoundResponseBody(res *goa.ServiceError) *EditUserNotFoundResponseBody

NewEditUserNotFoundResponseBody builds the HTTP response body from the result of the "edit user" endpoint of the "project" service.

type EditUserRequestBody

type EditUserRequestBody struct {
	Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Role  *int32  `form:"role,omitempty" json:"role,omitempty" xml:"role,omitempty"`
}

EditUserRequestBody is the type of the "project" service "edit user" endpoint HTTP request body.

type EditUserUnauthorizedResponseBody

type EditUserUnauthorizedResponseBody 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"`
}

EditUserUnauthorizedResponseBody is the type of the "project" service "edit user" endpoint HTTP response body for the "unauthorized" error.

func NewEditUserUnauthorizedResponseBody

func NewEditUserUnauthorizedResponseBody(res *goa.ServiceError) *EditUserUnauthorizedResponseBody

NewEditUserUnauthorizedResponseBody builds the HTTP response body from the result of the "edit user" endpoint of the "project" 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 GetBadRequestResponseBody

type GetBadRequestResponseBody 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"`
}

GetBadRequestResponseBody is the type of the "project" service "get" endpoint HTTP response body for the "bad-request" error.

func NewGetBadRequestResponseBody

func NewGetBadRequestResponseBody(res *goa.ServiceError) *GetBadRequestResponseBody

NewGetBadRequestResponseBody builds the HTTP response body from the result of the "get" endpoint of the "project" service.

type GetForbiddenResponseBody

type GetForbiddenResponseBody 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"`
}

GetForbiddenResponseBody is the type of the "project" service "get" endpoint HTTP response body for the "forbidden" error.

func NewGetForbiddenResponseBody

func NewGetForbiddenResponseBody(res *goa.ServiceError) *GetForbiddenResponseBody

NewGetForbiddenResponseBody builds the HTTP response body from the result of the "get" endpoint of the "project" service.

type GetNotFoundResponseBody

type GetNotFoundResponseBody 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"`
}

GetNotFoundResponseBody is the type of the "project" service "get" endpoint HTTP response body for the "not-found" error.

func NewGetNotFoundResponseBody

func NewGetNotFoundResponseBody(res *goa.ServiceError) *GetNotFoundResponseBody

NewGetNotFoundResponseBody builds the HTTP response body from the result of the "get" endpoint of the "project" service.

type GetResponseBody

type GetResponseBody struct {
	ID           int32                         `form:"id" json:"id" xml:"id"`
	Name         string                        `form:"name" json:"name" xml:"name"`
	Description  string                        `form:"description" json:"description" xml:"description"`
	Goal         string                        `form:"goal" json:"goal" xml:"goal"`
	Location     string                        `form:"location" json:"location" xml:"location"`
	Tags         string                        `form:"tags" json:"tags" xml:"tags"`
	Privacy      int32                         `form:"privacy" json:"privacy" xml:"privacy"`
	StartTime    *string                       `form:"startTime,omitempty" json:"startTime,omitempty" xml:"startTime,omitempty"`
	EndTime      *string                       `form:"endTime,omitempty" json:"endTime,omitempty" xml:"endTime,omitempty"`
	Photo        *string                       `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	ReadOnly     bool                          `form:"readOnly" json:"readOnly" xml:"readOnly"`
	ShowStations bool                          `form:"showStations" json:"showStations" xml:"showStations"`
	Bounds       *ProjectBoundsResponseBody    `form:"bounds" json:"bounds" xml:"bounds"`
	Following    *ProjectFollowingResponseBody `form:"following" json:"following" xml:"following"`
}

GetResponseBody is the type of the "project" service "get" endpoint HTTP response body.

func NewGetResponseBody

func NewGetResponseBody(res *projectviews.ProjectView) *GetResponseBody

NewGetResponseBody builds the HTTP response body from the result of the "get" endpoint of the "project" service.

type GetUnauthorizedResponseBody

type GetUnauthorizedResponseBody 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"`
}

GetUnauthorizedResponseBody is the type of the "project" service "get" endpoint HTTP response body for the "unauthorized" error.

func NewGetUnauthorizedResponseBody

func NewGetUnauthorizedResponseBody(res *goa.ServiceError) *GetUnauthorizedResponseBody

NewGetUnauthorizedResponseBody builds the HTTP response body from the result of the "get" endpoint of the "project" service.

type InviteBadRequestResponseBody

type InviteBadRequestResponseBody 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"`
}

InviteBadRequestResponseBody is the type of the "project" service "invite" endpoint HTTP response body for the "bad-request" error.

func NewInviteBadRequestResponseBody

func NewInviteBadRequestResponseBody(res *goa.ServiceError) *InviteBadRequestResponseBody

NewInviteBadRequestResponseBody builds the HTTP response body from the result of the "invite" endpoint of the "project" service.

type InviteForbiddenResponseBody

type InviteForbiddenResponseBody 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"`
}

InviteForbiddenResponseBody is the type of the "project" service "invite" endpoint HTTP response body for the "forbidden" error.

func NewInviteForbiddenResponseBody

func NewInviteForbiddenResponseBody(res *goa.ServiceError) *InviteForbiddenResponseBody

NewInviteForbiddenResponseBody builds the HTTP response body from the result of the "invite" endpoint of the "project" service.

type InviteNotFoundResponseBody

type InviteNotFoundResponseBody 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"`
}

InviteNotFoundResponseBody is the type of the "project" service "invite" endpoint HTTP response body for the "not-found" error.

func NewInviteNotFoundResponseBody

func NewInviteNotFoundResponseBody(res *goa.ServiceError) *InviteNotFoundResponseBody

NewInviteNotFoundResponseBody builds the HTTP response body from the result of the "invite" endpoint of the "project" service.

type InviteRequestBody

type InviteRequestBody struct {
	Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Role  *int32  `form:"role,omitempty" json:"role,omitempty" xml:"role,omitempty"`
}

InviteRequestBody is the type of the "project" service "invite" endpoint HTTP request body.

type InviteUnauthorizedResponseBody

type InviteUnauthorizedResponseBody 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"`
}

InviteUnauthorizedResponseBody is the type of the "project" service "invite" endpoint HTTP response body for the "unauthorized" error.

func NewInviteUnauthorizedResponseBody

func NewInviteUnauthorizedResponseBody(res *goa.ServiceError) *InviteUnauthorizedResponseBody

NewInviteUnauthorizedResponseBody builds the HTTP response body from the result of the "invite" endpoint of the "project" service.

type InvitesBadRequestResponseBody

type InvitesBadRequestResponseBody 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"`
}

InvitesBadRequestResponseBody is the type of the "project" service "invites" endpoint HTTP response body for the "bad-request" error.

func NewInvitesBadRequestResponseBody

func NewInvitesBadRequestResponseBody(res *goa.ServiceError) *InvitesBadRequestResponseBody

NewInvitesBadRequestResponseBody builds the HTTP response body from the result of the "invites" endpoint of the "project" service.

type InvitesForbiddenResponseBody

type InvitesForbiddenResponseBody 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"`
}

InvitesForbiddenResponseBody is the type of the "project" service "invites" endpoint HTTP response body for the "forbidden" error.

func NewInvitesForbiddenResponseBody

func NewInvitesForbiddenResponseBody(res *goa.ServiceError) *InvitesForbiddenResponseBody

NewInvitesForbiddenResponseBody builds the HTTP response body from the result of the "invites" endpoint of the "project" service.

type InvitesNotFoundResponseBody

type InvitesNotFoundResponseBody 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"`
}

InvitesNotFoundResponseBody is the type of the "project" service "invites" endpoint HTTP response body for the "not-found" error.

func NewInvitesNotFoundResponseBody

func NewInvitesNotFoundResponseBody(res *goa.ServiceError) *InvitesNotFoundResponseBody

NewInvitesNotFoundResponseBody builds the HTTP response body from the result of the "invites" endpoint of the "project" service.

type InvitesResponseBody

type InvitesResponseBody struct {
	Pending  []*PendingInviteResponseBody  `form:"pending" json:"pending" xml:"pending"`
	Projects ProjectResponseBodyCollection `form:"projects" json:"projects" xml:"projects"`
}

InvitesResponseBody is the type of the "project" service "invites" endpoint HTTP response body.

func NewInvitesResponseBody

func NewInvitesResponseBody(res *projectviews.PendingInvitesView) *InvitesResponseBody

NewInvitesResponseBody builds the HTTP response body from the result of the "invites" endpoint of the "project" service.

type InvitesUnauthorizedResponseBody

type InvitesUnauthorizedResponseBody 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"`
}

InvitesUnauthorizedResponseBody is the type of the "project" service "invites" endpoint HTTP response body for the "unauthorized" error.

func NewInvitesUnauthorizedResponseBody

func NewInvitesUnauthorizedResponseBody(res *goa.ServiceError) *InvitesUnauthorizedResponseBody

NewInvitesUnauthorizedResponseBody builds the HTTP response body from the result of the "invites" endpoint of the "project" service.

type ListCommunityBadRequestResponseBody

type ListCommunityBadRequestResponseBody 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"`
}

ListCommunityBadRequestResponseBody is the type of the "project" service "list community" endpoint HTTP response body for the "bad-request" error.

func NewListCommunityBadRequestResponseBody

func NewListCommunityBadRequestResponseBody(res *goa.ServiceError) *ListCommunityBadRequestResponseBody

NewListCommunityBadRequestResponseBody builds the HTTP response body from the result of the "list community" endpoint of the "project" service.

type ListCommunityForbiddenResponseBody

type ListCommunityForbiddenResponseBody 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"`
}

ListCommunityForbiddenResponseBody is the type of the "project" service "list community" endpoint HTTP response body for the "forbidden" error.

func NewListCommunityForbiddenResponseBody

func NewListCommunityForbiddenResponseBody(res *goa.ServiceError) *ListCommunityForbiddenResponseBody

NewListCommunityForbiddenResponseBody builds the HTTP response body from the result of the "list community" endpoint of the "project" service.

type ListCommunityNotFoundResponseBody

type ListCommunityNotFoundResponseBody 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"`
}

ListCommunityNotFoundResponseBody is the type of the "project" service "list community" endpoint HTTP response body for the "not-found" error.

func NewListCommunityNotFoundResponseBody

func NewListCommunityNotFoundResponseBody(res *goa.ServiceError) *ListCommunityNotFoundResponseBody

NewListCommunityNotFoundResponseBody builds the HTTP response body from the result of the "list community" endpoint of the "project" service.

type ListCommunityResponseBody

type ListCommunityResponseBody struct {
	Projects ProjectResponseBodyCollection `form:"projects" json:"projects" xml:"projects"`
}

ListCommunityResponseBody is the type of the "project" service "list community" endpoint HTTP response body.

func NewListCommunityResponseBody

func NewListCommunityResponseBody(res *projectviews.ProjectsView) *ListCommunityResponseBody

NewListCommunityResponseBody builds the HTTP response body from the result of the "list community" endpoint of the "project" service.

type ListCommunityUnauthorizedResponseBody

type ListCommunityUnauthorizedResponseBody 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"`
}

ListCommunityUnauthorizedResponseBody is the type of the "project" service "list community" endpoint HTTP response body for the "unauthorized" error.

func NewListCommunityUnauthorizedResponseBody

func NewListCommunityUnauthorizedResponseBody(res *goa.ServiceError) *ListCommunityUnauthorizedResponseBody

NewListCommunityUnauthorizedResponseBody builds the HTTP response body from the result of the "list community" endpoint of the "project" service.

type ListMineBadRequestResponseBody

type ListMineBadRequestResponseBody 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"`
}

ListMineBadRequestResponseBody is the type of the "project" service "list mine" endpoint HTTP response body for the "bad-request" error.

func NewListMineBadRequestResponseBody

func NewListMineBadRequestResponseBody(res *goa.ServiceError) *ListMineBadRequestResponseBody

NewListMineBadRequestResponseBody builds the HTTP response body from the result of the "list mine" endpoint of the "project" service.

type ListMineForbiddenResponseBody

type ListMineForbiddenResponseBody 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"`
}

ListMineForbiddenResponseBody is the type of the "project" service "list mine" endpoint HTTP response body for the "forbidden" error.

func NewListMineForbiddenResponseBody

func NewListMineForbiddenResponseBody(res *goa.ServiceError) *ListMineForbiddenResponseBody

NewListMineForbiddenResponseBody builds the HTTP response body from the result of the "list mine" endpoint of the "project" service.

type ListMineNotFoundResponseBody

type ListMineNotFoundResponseBody 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"`
}

ListMineNotFoundResponseBody is the type of the "project" service "list mine" endpoint HTTP response body for the "not-found" error.

func NewListMineNotFoundResponseBody

func NewListMineNotFoundResponseBody(res *goa.ServiceError) *ListMineNotFoundResponseBody

NewListMineNotFoundResponseBody builds the HTTP response body from the result of the "list mine" endpoint of the "project" service.

type ListMineResponseBody

type ListMineResponseBody struct {
	Projects ProjectResponseBodyCollection `form:"projects" json:"projects" xml:"projects"`
}

ListMineResponseBody is the type of the "project" service "list mine" endpoint HTTP response body.

func NewListMineResponseBody

func NewListMineResponseBody(res *projectviews.ProjectsView) *ListMineResponseBody

NewListMineResponseBody builds the HTTP response body from the result of the "list mine" endpoint of the "project" service.

type ListMineUnauthorizedResponseBody

type ListMineUnauthorizedResponseBody 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"`
}

ListMineUnauthorizedResponseBody is the type of the "project" service "list mine" endpoint HTTP response body for the "unauthorized" error.

func NewListMineUnauthorizedResponseBody

func NewListMineUnauthorizedResponseBody(res *goa.ServiceError) *ListMineUnauthorizedResponseBody

NewListMineUnauthorizedResponseBody builds the HTTP response body from the result of the "list mine" endpoint of the "project" service.

type LookupInviteBadRequestResponseBody

type LookupInviteBadRequestResponseBody 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"`
}

LookupInviteBadRequestResponseBody is the type of the "project" service "lookup invite" endpoint HTTP response body for the "bad-request" error.

func NewLookupInviteBadRequestResponseBody

func NewLookupInviteBadRequestResponseBody(res *goa.ServiceError) *LookupInviteBadRequestResponseBody

NewLookupInviteBadRequestResponseBody builds the HTTP response body from the result of the "lookup invite" endpoint of the "project" service.

type LookupInviteForbiddenResponseBody

type LookupInviteForbiddenResponseBody 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"`
}

LookupInviteForbiddenResponseBody is the type of the "project" service "lookup invite" endpoint HTTP response body for the "forbidden" error.

func NewLookupInviteForbiddenResponseBody

func NewLookupInviteForbiddenResponseBody(res *goa.ServiceError) *LookupInviteForbiddenResponseBody

NewLookupInviteForbiddenResponseBody builds the HTTP response body from the result of the "lookup invite" endpoint of the "project" service.

type LookupInviteNotFoundResponseBody

type LookupInviteNotFoundResponseBody 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"`
}

LookupInviteNotFoundResponseBody is the type of the "project" service "lookup invite" endpoint HTTP response body for the "not-found" error.

func NewLookupInviteNotFoundResponseBody

func NewLookupInviteNotFoundResponseBody(res *goa.ServiceError) *LookupInviteNotFoundResponseBody

NewLookupInviteNotFoundResponseBody builds the HTTP response body from the result of the "lookup invite" endpoint of the "project" service.

type LookupInviteResponseBody

type LookupInviteResponseBody struct {
	Pending  []*PendingInviteResponseBody  `form:"pending" json:"pending" xml:"pending"`
	Projects ProjectResponseBodyCollection `form:"projects" json:"projects" xml:"projects"`
}

LookupInviteResponseBody is the type of the "project" service "lookup invite" endpoint HTTP response body.

func NewLookupInviteResponseBody

func NewLookupInviteResponseBody(res *projectviews.PendingInvitesView) *LookupInviteResponseBody

NewLookupInviteResponseBody builds the HTTP response body from the result of the "lookup invite" endpoint of the "project" service.

type LookupInviteUnauthorizedResponseBody

type LookupInviteUnauthorizedResponseBody 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"`
}

LookupInviteUnauthorizedResponseBody is the type of the "project" service "lookup invite" endpoint HTTP response body for the "unauthorized" error.

func NewLookupInviteUnauthorizedResponseBody

func NewLookupInviteUnauthorizedResponseBody(res *goa.ServiceError) *LookupInviteUnauthorizedResponseBody

NewLookupInviteUnauthorizedResponseBody builds the HTTP response body from the result of the "lookup invite" endpoint of the "project" service.

type ModifyUpdateBadRequestResponseBody

type ModifyUpdateBadRequestResponseBody 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"`
}

ModifyUpdateBadRequestResponseBody is the type of the "project" service "modify update" endpoint HTTP response body for the "bad-request" error.

func NewModifyUpdateBadRequestResponseBody

func NewModifyUpdateBadRequestResponseBody(res *goa.ServiceError) *ModifyUpdateBadRequestResponseBody

NewModifyUpdateBadRequestResponseBody builds the HTTP response body from the result of the "modify update" endpoint of the "project" service.

type ModifyUpdateForbiddenResponseBody

type ModifyUpdateForbiddenResponseBody 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"`
}

ModifyUpdateForbiddenResponseBody is the type of the "project" service "modify update" endpoint HTTP response body for the "forbidden" error.

func NewModifyUpdateForbiddenResponseBody

func NewModifyUpdateForbiddenResponseBody(res *goa.ServiceError) *ModifyUpdateForbiddenResponseBody

NewModifyUpdateForbiddenResponseBody builds the HTTP response body from the result of the "modify update" endpoint of the "project" service.

type ModifyUpdateNotFoundResponseBody

type ModifyUpdateNotFoundResponseBody 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"`
}

ModifyUpdateNotFoundResponseBody is the type of the "project" service "modify update" endpoint HTTP response body for the "not-found" error.

func NewModifyUpdateNotFoundResponseBody

func NewModifyUpdateNotFoundResponseBody(res *goa.ServiceError) *ModifyUpdateNotFoundResponseBody

NewModifyUpdateNotFoundResponseBody builds the HTTP response body from the result of the "modify update" endpoint of the "project" service.

type ModifyUpdateRequestBody

type ModifyUpdateRequestBody struct {
	Body *string `form:"body,omitempty" json:"body,omitempty" xml:"body,omitempty"`
}

ModifyUpdateRequestBody is the type of the "project" service "modify update" endpoint HTTP request body.

type ModifyUpdateResponseBody

type ModifyUpdateResponseBody struct {
	ID   int64  `form:"id" json:"id" xml:"id"`
	Body string `form:"body" json:"body" xml:"body"`
}

ModifyUpdateResponseBody is the type of the "project" service "modify update" endpoint HTTP response body.

func NewModifyUpdateResponseBody

func NewModifyUpdateResponseBody(res *projectviews.ProjectUpdateView) *ModifyUpdateResponseBody

NewModifyUpdateResponseBody builds the HTTP response body from the result of the "modify update" endpoint of the "project" service.

type ModifyUpdateUnauthorizedResponseBody

type ModifyUpdateUnauthorizedResponseBody 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"`
}

ModifyUpdateUnauthorizedResponseBody is the type of the "project" service "modify update" endpoint HTTP response body for the "unauthorized" error.

func NewModifyUpdateUnauthorizedResponseBody

func NewModifyUpdateUnauthorizedResponseBody(res *goa.ServiceError) *ModifyUpdateUnauthorizedResponseBody

NewModifyUpdateUnauthorizedResponseBody builds the HTTP response body from the result of the "modify update" endpoint of the "project" 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 PendingInviteResponseBody

type PendingInviteResponseBody struct {
	ID      int64                       `form:"id" json:"id" xml:"id"`
	Project *ProjectSummaryResponseBody `form:"project" json:"project" xml:"project"`
	Time    int64                       `form:"time" json:"time" xml:"time"`
	Role    int32                       `form:"role" json:"role" xml:"role"`
}

PendingInviteResponseBody is used to define fields on response body types.

type ProjectBoundsRequestBodyRequestBody

type ProjectBoundsRequestBodyRequestBody struct {
	Min []float64 `form:"min,omitempty" json:"min,omitempty" xml:"min,omitempty"`
	Max []float64 `form:"max,omitempty" json:"max,omitempty" xml:"max,omitempty"`
}

ProjectBoundsRequestBodyRequestBody is used to define fields on request body types.

type ProjectBoundsResponseBody

type ProjectBoundsResponseBody struct {
	Min []float64 `form:"min" json:"min" xml:"min"`
	Max []float64 `form:"max" json:"max" xml:"max"`
}

ProjectBoundsResponseBody is used to define fields on response body types.

type ProjectFollowingResponseBody

type ProjectFollowingResponseBody struct {
	Total     int32 `form:"total" json:"total" xml:"total"`
	Following bool  `form:"following" json:"following" xml:"following"`
}

ProjectFollowingResponseBody is used to define fields on response body types.

type ProjectResponseBody

type ProjectResponseBody struct {
	ID           int32                         `form:"id" json:"id" xml:"id"`
	Name         string                        `form:"name" json:"name" xml:"name"`
	Description  string                        `form:"description" json:"description" xml:"description"`
	Goal         string                        `form:"goal" json:"goal" xml:"goal"`
	Location     string                        `form:"location" json:"location" xml:"location"`
	Tags         string                        `form:"tags" json:"tags" xml:"tags"`
	Privacy      int32                         `form:"privacy" json:"privacy" xml:"privacy"`
	StartTime    *string                       `form:"startTime,omitempty" json:"startTime,omitempty" xml:"startTime,omitempty"`
	EndTime      *string                       `form:"endTime,omitempty" json:"endTime,omitempty" xml:"endTime,omitempty"`
	Photo        *string                       `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	ReadOnly     bool                          `form:"readOnly" json:"readOnly" xml:"readOnly"`
	ShowStations bool                          `form:"showStations" json:"showStations" xml:"showStations"`
	Bounds       *ProjectBoundsResponseBody    `form:"bounds" json:"bounds" xml:"bounds"`
	Following    *ProjectFollowingResponseBody `form:"following" json:"following" xml:"following"`
}

ProjectResponseBody is used to define fields on response body types.

type ProjectResponseBodyCollection

type ProjectResponseBodyCollection []*ProjectResponseBody

ProjectResponseBodyCollection is used to define fields on response body types.

type ProjectSummaryResponseBody

type ProjectSummaryResponseBody struct {
	ID   int64  `form:"id" json:"id" xml:"id"`
	Name string `form:"name" json:"name" xml:"name"`
}

ProjectSummaryResponseBody is used to define fields on response body types.

type ProjectsStationBadRequestResponseBody

type ProjectsStationBadRequestResponseBody 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"`
}

ProjectsStationBadRequestResponseBody is the type of the "project" service "projects station" endpoint HTTP response body for the "bad-request" error.

func NewProjectsStationBadRequestResponseBody

func NewProjectsStationBadRequestResponseBody(res *goa.ServiceError) *ProjectsStationBadRequestResponseBody

NewProjectsStationBadRequestResponseBody builds the HTTP response body from the result of the "projects station" endpoint of the "project" service.

type ProjectsStationForbiddenResponseBody

type ProjectsStationForbiddenResponseBody 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"`
}

ProjectsStationForbiddenResponseBody is the type of the "project" service "projects station" endpoint HTTP response body for the "forbidden" error.

func NewProjectsStationForbiddenResponseBody

func NewProjectsStationForbiddenResponseBody(res *goa.ServiceError) *ProjectsStationForbiddenResponseBody

NewProjectsStationForbiddenResponseBody builds the HTTP response body from the result of the "projects station" endpoint of the "project" service.

type ProjectsStationNotFoundResponseBody

type ProjectsStationNotFoundResponseBody 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"`
}

ProjectsStationNotFoundResponseBody is the type of the "project" service "projects station" endpoint HTTP response body for the "not-found" error.

func NewProjectsStationNotFoundResponseBody

func NewProjectsStationNotFoundResponseBody(res *goa.ServiceError) *ProjectsStationNotFoundResponseBody

NewProjectsStationNotFoundResponseBody builds the HTTP response body from the result of the "projects station" endpoint of the "project" service.

type ProjectsStationResponseBody

type ProjectsStationResponseBody struct {
	Projects ProjectResponseBodyCollection `form:"projects" json:"projects" xml:"projects"`
}

ProjectsStationResponseBody is the type of the "project" service "projects station" endpoint HTTP response body.

func NewProjectsStationResponseBody

func NewProjectsStationResponseBody(res *projectviews.ProjectsView) *ProjectsStationResponseBody

NewProjectsStationResponseBody builds the HTTP response body from the result of the "projects station" endpoint of the "project" service.

type ProjectsStationUnauthorizedResponseBody

type ProjectsStationUnauthorizedResponseBody 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"`
}

ProjectsStationUnauthorizedResponseBody is the type of the "project" service "projects station" endpoint HTTP response body for the "unauthorized" error.

func NewProjectsStationUnauthorizedResponseBody

func NewProjectsStationUnauthorizedResponseBody(res *goa.ServiceError) *ProjectsStationUnauthorizedResponseBody

NewProjectsStationUnauthorizedResponseBody builds the HTTP response body from the result of the "projects station" endpoint of the "project" service.

type RejectInviteBadRequestResponseBody

type RejectInviteBadRequestResponseBody 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"`
}

RejectInviteBadRequestResponseBody is the type of the "project" service "reject invite" endpoint HTTP response body for the "bad-request" error.

func NewRejectInviteBadRequestResponseBody

func NewRejectInviteBadRequestResponseBody(res *goa.ServiceError) *RejectInviteBadRequestResponseBody

NewRejectInviteBadRequestResponseBody builds the HTTP response body from the result of the "reject invite" endpoint of the "project" service.

type RejectInviteForbiddenResponseBody

type RejectInviteForbiddenResponseBody 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"`
}

RejectInviteForbiddenResponseBody is the type of the "project" service "reject invite" endpoint HTTP response body for the "forbidden" error.

func NewRejectInviteForbiddenResponseBody

func NewRejectInviteForbiddenResponseBody(res *goa.ServiceError) *RejectInviteForbiddenResponseBody

NewRejectInviteForbiddenResponseBody builds the HTTP response body from the result of the "reject invite" endpoint of the "project" service.

type RejectInviteNotFoundResponseBody

type RejectInviteNotFoundResponseBody 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"`
}

RejectInviteNotFoundResponseBody is the type of the "project" service "reject invite" endpoint HTTP response body for the "not-found" error.

func NewRejectInviteNotFoundResponseBody

func NewRejectInviteNotFoundResponseBody(res *goa.ServiceError) *RejectInviteNotFoundResponseBody

NewRejectInviteNotFoundResponseBody builds the HTTP response body from the result of the "reject invite" endpoint of the "project" service.

type RejectInviteUnauthorizedResponseBody

type RejectInviteUnauthorizedResponseBody 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"`
}

RejectInviteUnauthorizedResponseBody is the type of the "project" service "reject invite" endpoint HTTP response body for the "unauthorized" error.

func NewRejectInviteUnauthorizedResponseBody

func NewRejectInviteUnauthorizedResponseBody(res *goa.ServiceError) *RejectInviteUnauthorizedResponseBody

NewRejectInviteUnauthorizedResponseBody builds the HTTP response body from the result of the "reject invite" endpoint of the "project" service.

type RejectProjectInviteBadRequestResponseBody

type RejectProjectInviteBadRequestResponseBody 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"`
}

RejectProjectInviteBadRequestResponseBody is the type of the "project" service "reject project invite" endpoint HTTP response body for the "bad-request" error.

func NewRejectProjectInviteBadRequestResponseBody

func NewRejectProjectInviteBadRequestResponseBody(res *goa.ServiceError) *RejectProjectInviteBadRequestResponseBody

NewRejectProjectInviteBadRequestResponseBody builds the HTTP response body from the result of the "reject project invite" endpoint of the "project" service.

type RejectProjectInviteForbiddenResponseBody

type RejectProjectInviteForbiddenResponseBody 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"`
}

RejectProjectInviteForbiddenResponseBody is the type of the "project" service "reject project invite" endpoint HTTP response body for the "forbidden" error.

func NewRejectProjectInviteForbiddenResponseBody

func NewRejectProjectInviteForbiddenResponseBody(res *goa.ServiceError) *RejectProjectInviteForbiddenResponseBody

NewRejectProjectInviteForbiddenResponseBody builds the HTTP response body from the result of the "reject project invite" endpoint of the "project" service.

type RejectProjectInviteNotFoundResponseBody

type RejectProjectInviteNotFoundResponseBody 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"`
}

RejectProjectInviteNotFoundResponseBody is the type of the "project" service "reject project invite" endpoint HTTP response body for the "not-found" error.

func NewRejectProjectInviteNotFoundResponseBody

func NewRejectProjectInviteNotFoundResponseBody(res *goa.ServiceError) *RejectProjectInviteNotFoundResponseBody

NewRejectProjectInviteNotFoundResponseBody builds the HTTP response body from the result of the "reject project invite" endpoint of the "project" service.

type RejectProjectInviteUnauthorizedResponseBody

type RejectProjectInviteUnauthorizedResponseBody 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"`
}

RejectProjectInviteUnauthorizedResponseBody is the type of the "project" service "reject project invite" endpoint HTTP response body for the "unauthorized" error.

func NewRejectProjectInviteUnauthorizedResponseBody

func NewRejectProjectInviteUnauthorizedResponseBody(res *goa.ServiceError) *RejectProjectInviteUnauthorizedResponseBody

NewRejectProjectInviteUnauthorizedResponseBody builds the HTTP response body from the result of the "reject project invite" endpoint of the "project" service.

type RemoveStationBadRequestResponseBody

type RemoveStationBadRequestResponseBody 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"`
}

RemoveStationBadRequestResponseBody is the type of the "project" service "remove station" endpoint HTTP response body for the "bad-request" error.

func NewRemoveStationBadRequestResponseBody

func NewRemoveStationBadRequestResponseBody(res *goa.ServiceError) *RemoveStationBadRequestResponseBody

NewRemoveStationBadRequestResponseBody builds the HTTP response body from the result of the "remove station" endpoint of the "project" service.

type RemoveStationForbiddenResponseBody

type RemoveStationForbiddenResponseBody 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"`
}

RemoveStationForbiddenResponseBody is the type of the "project" service "remove station" endpoint HTTP response body for the "forbidden" error.

func NewRemoveStationForbiddenResponseBody

func NewRemoveStationForbiddenResponseBody(res *goa.ServiceError) *RemoveStationForbiddenResponseBody

NewRemoveStationForbiddenResponseBody builds the HTTP response body from the result of the "remove station" endpoint of the "project" service.

type RemoveStationNotFoundResponseBody

type RemoveStationNotFoundResponseBody 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"`
}

RemoveStationNotFoundResponseBody is the type of the "project" service "remove station" endpoint HTTP response body for the "not-found" error.

func NewRemoveStationNotFoundResponseBody

func NewRemoveStationNotFoundResponseBody(res *goa.ServiceError) *RemoveStationNotFoundResponseBody

NewRemoveStationNotFoundResponseBody builds the HTTP response body from the result of the "remove station" endpoint of the "project" service.

type RemoveStationUnauthorizedResponseBody

type RemoveStationUnauthorizedResponseBody 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"`
}

RemoveStationUnauthorizedResponseBody is the type of the "project" service "remove station" endpoint HTTP response body for the "unauthorized" error.

func NewRemoveStationUnauthorizedResponseBody

func NewRemoveStationUnauthorizedResponseBody(res *goa.ServiceError) *RemoveStationUnauthorizedResponseBody

NewRemoveStationUnauthorizedResponseBody builds the HTTP response body from the result of the "remove station" endpoint of the "project" service.

type RemoveUserBadRequestResponseBody

type RemoveUserBadRequestResponseBody 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"`
}

RemoveUserBadRequestResponseBody is the type of the "project" service "remove user" endpoint HTTP response body for the "bad-request" error.

func NewRemoveUserBadRequestResponseBody

func NewRemoveUserBadRequestResponseBody(res *goa.ServiceError) *RemoveUserBadRequestResponseBody

NewRemoveUserBadRequestResponseBody builds the HTTP response body from the result of the "remove user" endpoint of the "project" service.

type RemoveUserForbiddenResponseBody

type RemoveUserForbiddenResponseBody 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"`
}

RemoveUserForbiddenResponseBody is the type of the "project" service "remove user" endpoint HTTP response body for the "forbidden" error.

func NewRemoveUserForbiddenResponseBody

func NewRemoveUserForbiddenResponseBody(res *goa.ServiceError) *RemoveUserForbiddenResponseBody

NewRemoveUserForbiddenResponseBody builds the HTTP response body from the result of the "remove user" endpoint of the "project" service.

type RemoveUserNotFoundResponseBody

type RemoveUserNotFoundResponseBody 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"`
}

RemoveUserNotFoundResponseBody is the type of the "project" service "remove user" endpoint HTTP response body for the "not-found" error.

func NewRemoveUserNotFoundResponseBody

func NewRemoveUserNotFoundResponseBody(res *goa.ServiceError) *RemoveUserNotFoundResponseBody

NewRemoveUserNotFoundResponseBody builds the HTTP response body from the result of the "remove user" endpoint of the "project" service.

type RemoveUserRequestBody

type RemoveUserRequestBody struct {
	Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
}

RemoveUserRequestBody is the type of the "project" service "remove user" endpoint HTTP request body.

type RemoveUserUnauthorizedResponseBody

type RemoveUserUnauthorizedResponseBody 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"`
}

RemoveUserUnauthorizedResponseBody is the type of the "project" service "remove user" endpoint HTTP response body for the "unauthorized" error.

func NewRemoveUserUnauthorizedResponseBody

func NewRemoveUserUnauthorizedResponseBody(res *goa.ServiceError) *RemoveUserUnauthorizedResponseBody

NewRemoveUserUnauthorizedResponseBody builds the HTTP response body from the result of the "remove user" endpoint of the "project" service.

type Server

type Server struct {
	Mounts              []*MountPoint
	AddUpdate           http.Handler
	DeleteUpdate        http.Handler
	ModifyUpdate        http.Handler
	Invites             http.Handler
	LookupInvite        http.Handler
	AcceptProjectInvite http.Handler
	RejectProjectInvite http.Handler
	AcceptInvite        http.Handler
	RejectInvite        http.Handler
	Add                 http.Handler
	Update              http.Handler
	Get                 http.Handler
	ListCommunity       http.Handler
	ListMine            http.Handler
	Invite              http.Handler
	EditUser            http.Handler
	RemoveUser          http.Handler
	AddStation          http.Handler
	RemoveStation       http.Handler
	Delete              http.Handler
	UploadPhoto         http.Handler
	DownloadPhoto       http.Handler
	ProjectsStation     http.Handler
	CORS                http.Handler
}

Server lists the project service endpoint HTTP handlers.

func New

func New(
	e *project.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 project 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.

func (*Server) Service

func (s *Server) Service() string

Service returns the name of the service served.

func (*Server) Use

func (s *Server) Use(m func(http.Handler) http.Handler)

Use wraps the server handlers with the given middleware.

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 "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" service.

type UpdateRequestBody

type UpdateRequestBody struct {
	Name         *string                              `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Description  *string                              `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Goal         *string                              `form:"goal,omitempty" json:"goal,omitempty" xml:"goal,omitempty"`
	Location     *string                              `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	Tags         *string                              `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	Privacy      *int32                               `form:"privacy,omitempty" json:"privacy,omitempty" xml:"privacy,omitempty"`
	StartTime    *string                              `form:"startTime,omitempty" json:"startTime,omitempty" xml:"startTime,omitempty"`
	EndTime      *string                              `form:"endTime,omitempty" json:"endTime,omitempty" xml:"endTime,omitempty"`
	Bounds       *ProjectBoundsRequestBodyRequestBody `form:"bounds,omitempty" json:"bounds,omitempty" xml:"bounds,omitempty"`
	ShowStations *bool                                `form:"showStations,omitempty" json:"showStations,omitempty" xml:"showStations,omitempty"`
}

UpdateRequestBody is the type of the "project" 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"`
	Description  string                        `form:"description" json:"description" xml:"description"`
	Goal         string                        `form:"goal" json:"goal" xml:"goal"`
	Location     string                        `form:"location" json:"location" xml:"location"`
	Tags         string                        `form:"tags" json:"tags" xml:"tags"`
	Privacy      int32                         `form:"privacy" json:"privacy" xml:"privacy"`
	StartTime    *string                       `form:"startTime,omitempty" json:"startTime,omitempty" xml:"startTime,omitempty"`
	EndTime      *string                       `form:"endTime,omitempty" json:"endTime,omitempty" xml:"endTime,omitempty"`
	Photo        *string                       `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	ReadOnly     bool                          `form:"readOnly" json:"readOnly" xml:"readOnly"`
	ShowStations bool                          `form:"showStations" json:"showStations" xml:"showStations"`
	Bounds       *ProjectBoundsResponseBody    `form:"bounds" json:"bounds" xml:"bounds"`
	Following    *ProjectFollowingResponseBody `form:"following" json:"following" xml:"following"`
}

UpdateResponseBody is the type of the "project" service "update" endpoint HTTP response body.

func NewUpdateResponseBody

func NewUpdateResponseBody(res *projectviews.ProjectView) *UpdateResponseBody

NewUpdateResponseBody builds the HTTP response body from the result of the "update" endpoint of the "project" service.

type UpdateUnauthorizedResponseBody

type UpdateUnauthorizedResponseBody 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"`
}

UpdateUnauthorizedResponseBody is the type of the "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" 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 "project" service.

type UploadPhotoUnauthorizedResponseBody

type UploadPhotoUnauthorizedResponseBody 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"`
}

UploadPhotoUnauthorizedResponseBody is the type of the "project" 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 "project" service.

Jump to

Keyboard shortcuts

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