Documentation ¶
Index ¶
- Constants
- Variables
- func CreateHttpContext(header http.Header) context.Context
- func HandlerMiddleware() routing.Handler
- func IsContextPopluated(ctx context.Context) error
- func JSON(r io.Reader, v interface{}, required bool) (err error)
- func NewHTTPStatusCodeError(status int) xHTTPError
- func RouterPanicMiddleware() routing.Handler
- func RouterPopulateContextMiddleware() routing.Handler
- type ActivateViewsSet200Response
- type ActivateViewsSet403Response
- type ActivateViewsSet404Response
- type ActivateViewsSetHandler
- type ActivateViewsSetRequest
- type ActivateViewsSetResponse
- type Address
- type BadRequestHTTPTransport
- type BasicTypes
- type Booking
- type Client
- type Code200Response
- type Code400Response
- type Code401Response
- type Code404Response
- type Code500Response
- type CodeHandler
- type CodeRequest
- type CodeResponse
- type ComponentTypes
- type CreateCustomerSession201Response
- type CreateCustomerSession401Response
- type CreateCustomerSession403Response
- type CreateCustomerSession422Response
- type CreateCustomerSession500Response
- type CreateCustomerSessionHandler
- type CreateCustomerSessionRequest
- type CreateCustomerSessionResponse
- type CreateOrUpdateClient200Response
- type CreateOrUpdateClient201Response
- type CreateOrUpdateClient400Response
- type CreateOrUpdateClient403Response
- type CreateOrUpdateClient405Response
- type CreateOrUpdateClientHandler
- type CreateOrUpdateClientRequest
- type CreateOrUpdateClientResponse
- type CreateOrUpdateUser200Response
- type CreateOrUpdateUser201Response
- type CreateOrUpdateUser400Response
- type CreateOrUpdateUser403Response
- type CreateOrUpdateUser405Response
- type CreateOrUpdateUserHandler
- type CreateOrUpdateUserRequest
- type CreateOrUpdateUserResponse
- type CreateOrUpdateViewsSet200Response
- type CreateOrUpdateViewsSet201Response
- type CreateOrUpdateViewsSet400Response
- type CreateOrUpdateViewsSet403Response
- type CreateOrUpdateViewsSet405Response
- type CreateOrUpdateViewsSetHandler
- type CreateOrUpdateViewsSetRequest
- type CreateOrUpdateViewsSetResponse
- type CreateSession200Response
- type CreateSession400Response
- type CreateSession401Response
- type CreateSessionHandler
- type CreateSessionRequest
- type CreateSessionResponse
- type DeleteClient200Response
- type DeleteClient403Response
- type DeleteClient404Response
- type DeleteClientHandler
- type DeleteClientRequest
- type DeleteClientResponse
- type DeleteCustomerSession204Response
- type DeleteCustomerSession401Response
- type DeleteCustomerSession500Response
- type DeleteCustomerSessionHandler
- type DeleteCustomerSessionRequest
- type DeleteCustomerSessionResponse
- type DeleteUser200Response
- type DeleteUser403Response
- type DeleteUser404Response
- type DeleteUserHandler
- type DeleteUserRequest
- type DeleteUserResponse
- type DeleteViewsSet200Response
- type DeleteViewsSet403Response
- type DeleteViewsSet404Response
- type DeleteViewsSetHandler
- type DeleteViewsSetRequest
- type DeleteViewsSetResponse
- type DestroySession200Response
- type DestroySession404Response
- type DestroySessionHandler
- type DestroySessionRequest
- type DestroySessionResponse
- type DownloadFile200Response
- type DownloadFileHandler
- type DownloadFileRequest
- type DownloadFileResponse
- type DownloadImage200Response
- type DownloadImage500Response
- type DownloadImageHandler
- type DownloadImageRequest
- type DownloadImageResponse
- type DownloadNestedFile200Response
- type DownloadNestedFileHandler
- type DownloadNestedFileRequest
- type DownloadNestedFileResponse
- type DriveConcept
- type EmptySlice
- type ErrorHandler
- type GenericFileDownload200Response
- type GenericFileDownload500Response
- type GenericFileDownloadHandler
- type GenericFileDownloadRequest
- type GenericFileDownloadResponse
- type GetBooking200Response
- type GetBooking400Response
- type GetBooking401Response
- type GetBooking404Response
- type GetBooking500Response
- type GetBookingHandler
- type GetBookingRequest
- type GetBookingResponse
- type GetBookings200Response
- type GetBookings400Response
- type GetBookings401Response
- type GetBookings404Response
- type GetBookings500Response
- type GetBookingsHandler
- type GetBookingsRequest
- type GetBookingsResponse
- type GetClasses200Response
- type GetClasses400Response
- type GetClassesHandler
- type GetClassesRequest
- type GetClassesResponse
- type GetClient200Response
- type GetClient403Response
- type GetClient404Response
- type GetClientHandler
- type GetClientRequest
- type GetClientResponse
- type GetClients200Response
- type GetClients204Response
- type GetClients403Response
- type GetClientsHandler
- type GetClientsRequest
- type GetClientsResponse
- type GetPermissions200Response
- type GetPermissions403Response
- type GetPermissionsHandler
- type GetPermissionsRequest
- type GetPermissionsResponse
- type GetRental200Response
- type GetRental400Response
- type GetRentalHandler
- type GetRentalRequest
- type GetRentalResponse
- type GetShoes200Response
- type GetShoesHandler
- type GetShoesRequest
- type GetShoesResponse
- type GetUser200Response
- type GetUser403Response
- type GetUser404Response
- type GetUserHandler
- type GetUserInfo200Response
- type GetUserInfo400Response
- type GetUserInfo403Response
- type GetUserInfoHandler
- type GetUserInfoRequest
- type GetUserInfoResponse
- type GetUserRequest
- type GetUserResponse
- type GetUsers200Response
- type GetUsers403Response
- type GetUsersHandler
- type GetUsersRequest
- type GetUsersResponse
- type GetViewsSet200Response
- type GetViewsSet403Response
- type GetViewsSet404Response
- type GetViewsSetHandler
- type GetViewsSetRequest
- type GetViewsSetResponse
- type GetViewsSets200Response
- type GetViewsSets403Response
- type GetViewsSetsHandler
- type GetViewsSetsRequest
- type GetViewsSetsResponse
- type HooksClient
- type HttpContext
- type HttpJsonError
- type Link
- type Links
- type ListElements200Response
- type ListElements500Response
- type ListElementsHandler
- type ListElementsRequest
- type ListElementsResponse
- type ListModels200Response
- type ListModelsHandler
- type ListModelsRequest
- type ListModelsResponse
- type Middleware
- type MimeFile
- type Model
- type NestedFileStructure
- type NewRequest
- type Object1
- type Object2
- type Opts
- type PostUpload200Response
- type PostUpload500Response
- type PostUploadHandler
- type PostUploadRequest
- type PostUploadRequestFormData
- type PostUploadResponse
- type Price
- type ProductGroup
- type PrometheusHandler
- type ReadCloserBuffer
- type Rental
- type RouteDescription
- type Server
- type ServerOpts
- type Session
- type Shoe
- type Shoes
- type ShoesEmbedded
- type ShowVehicleInView200Response
- type ShowVehicleInView403Response
- type ShowVehicleInView404Response
- type ShowVehicleInViewHandler
- type ShowVehicleInViewRequest
- type ShowVehicleInViewResponse
- type TechnicalInformation
- type User
- type ValidationError
- type ValidationErrorObject
- type ValidationErrors
- type ValidationErrorsObject
- type Validator
- type VersionInfo
- type ViewsSet
- type VisAdminClient
- type VisAdminServer
- func (server *VisAdminServer) ActivateViewsSetHandler(c *routing.Context) error
- func (server *VisAdminServer) CodeHandler(c *routing.Context) error
- func (server *VisAdminServer) CreateCustomerSessionHandler(c *routing.Context) error
- func (server *VisAdminServer) CreateOrUpdateClientHandler(c *routing.Context) error
- func (server *VisAdminServer) CreateOrUpdateUserHandler(c *routing.Context) error
- func (server *VisAdminServer) CreateOrUpdateViewsSetHandler(c *routing.Context) error
- func (server *VisAdminServer) CreateSessionHandler(c *routing.Context) error
- func (server *VisAdminServer) DeleteClientHandler(c *routing.Context) error
- func (server *VisAdminServer) DeleteCustomerSessionHandler(c *routing.Context) error
- func (server *VisAdminServer) DeleteUserHandler(c *routing.Context) error
- func (server *VisAdminServer) DeleteViewsSetHandler(c *routing.Context) error
- func (server *VisAdminServer) DestroySessionHandler(c *routing.Context) error
- func (server *VisAdminServer) DownloadFileHandler(c *routing.Context) error
- func (server *VisAdminServer) DownloadImageHandler(c *routing.Context) error
- func (server *VisAdminServer) DownloadNestedFileHandler(c *routing.Context) error
- func (server *VisAdminServer) GenericFileDownloadHandler(c *routing.Context) error
- func (server *VisAdminServer) GetBookingHandler(c *routing.Context) error
- func (server *VisAdminServer) GetBookingsHandler(c *routing.Context) error
- func (server *VisAdminServer) GetClassesHandler(c *routing.Context) error
- func (server *VisAdminServer) GetClientHandler(c *routing.Context) error
- func (server *VisAdminServer) GetClientsHandler(c *routing.Context) error
- func (server *VisAdminServer) GetPermissionsHandler(c *routing.Context) error
- func (server *VisAdminServer) GetRentalHandler(c *routing.Context) error
- func (server *VisAdminServer) GetShoesHandler(c *routing.Context) error
- func (server *VisAdminServer) GetUserHandler(c *routing.Context) error
- func (server *VisAdminServer) GetUserInfoHandler(c *routing.Context) error
- func (server *VisAdminServer) GetUsersHandler(c *routing.Context) error
- func (server *VisAdminServer) GetViewsSetHandler(c *routing.Context) error
- func (server *VisAdminServer) GetViewsSetsHandler(c *routing.Context) error
- func (server *VisAdminServer) ListElementsHandler(c *routing.Context) error
- func (server *VisAdminServer) ListModelsHandler(c *routing.Context) error
- func (server *VisAdminServer) PostUploadHandler(c *routing.Context) error
- func (server *VisAdminServer) SetActivateViewsSetHandler(handler ActivateViewsSetHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetCodeHandler(handler CodeHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetCreateCustomerSessionHandler(handler CreateCustomerSessionHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetCreateOrUpdateClientHandler(handler CreateOrUpdateClientHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetCreateOrUpdateUserHandler(handler CreateOrUpdateUserHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetCreateOrUpdateViewsSetHandler(handler CreateOrUpdateViewsSetHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetCreateSessionHandler(handler CreateSessionHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDeleteClientHandler(handler DeleteClientHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDeleteCustomerSessionHandler(handler DeleteCustomerSessionHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDeleteUserHandler(handler DeleteUserHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDeleteViewsSetHandler(handler DeleteViewsSetHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDestroySessionHandler(handler DestroySessionHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDownloadFileHandler(handler DownloadFileHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDownloadImageHandler(handler DownloadImageHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetDownloadNestedFileHandler(handler DownloadNestedFileHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGenericFileDownloadHandler(handler GenericFileDownloadHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetBookingHandler(handler GetBookingHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetBookingsHandler(handler GetBookingsHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetClassesHandler(handler GetClassesHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetClientHandler(handler GetClientHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetClientsHandler(handler GetClientsHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetPermissionsHandler(handler GetPermissionsHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetRentalHandler(handler GetRentalHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetShoesHandler(handler GetShoesHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetUserHandler(handler GetUserHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetUserInfoHandler(handler GetUserInfoHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetUsersHandler(handler GetUsersHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetViewsSetHandler(handler GetViewsSetHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetGetViewsSetsHandler(handler GetViewsSetsHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetListElementsHandler(handler ListElementsHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetListModelsHandler(handler ListModelsHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetPostUploadHandler(handler PostUploadHandler, middleware ...Middleware)
- func (server *VisAdminServer) SetShowVehicleInViewHandler(handler ShowVehicleInViewHandler, middleware ...Middleware)
- func (server *VisAdminServer) ShowVehicleInViewHandler(c *routing.Context) error
- func (server *VisAdminServer) Start(port int) error
Constants ¶
const ( GitCommit string = "3ffc6ace6671100b8a7deb8d14ba48a892d1d806" GitBranch string = "master" GitTag string = "v1.0.0" BuildTime string = "Tue Apr 14 14:14:33 CEST 2020" )
const (
ContentTypeTextPlain string = "text/plain"
)
const JSONBody string = `` /* 604-byte string literal not displayed */
const (
RequestHeaderKey contextKey = 1 + iota
)
Variables ¶
var ( NullError = errors.New("unexpected null value") TypeError = errors.New("unexpected type") )
var EmptyString = errors.New("string is empty")
Functions ¶
func HandlerMiddleware ¶
func IsContextPopluated ¶
func NewHTTPStatusCodeError ¶
func NewHTTPStatusCodeError(status int) xHTTPError
func RouterPanicMiddleware ¶
Types ¶
type ActivateViewsSet200Response ¶
type ActivateViewsSet200Response struct{}
Success
func (*ActivateViewsSet200Response) StatusCode ¶
func (r *ActivateViewsSet200Response) StatusCode() int
type ActivateViewsSet403Response ¶
type ActivateViewsSet403Response struct{}
Not authenticated
func (*ActivateViewsSet403Response) StatusCode ¶
func (r *ActivateViewsSet403Response) StatusCode() int
type ActivateViewsSet404Response ¶
type ActivateViewsSet404Response struct{}
Not found
func (*ActivateViewsSet404Response) StatusCode ¶
func (r *ActivateViewsSet404Response) StatusCode() int
type ActivateViewsSetHandler ¶
type ActivateViewsSetHandler func(ctx context.Context, request *ActivateViewsSetRequest) ActivateViewsSetResponse
Make this viewset the active one for the client.
type ActivateViewsSetRequest ¶
type ActivateViewsSetResponse ¶
type ActivateViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type Address ¶
type Address struct { City string `bson:"city,required" json:"city,required" xml:"city,required"` Country string `bson:"country,required" json:"country,required" xml:"country,required"` HouseNumber string `bson:"houseNumber,required" json:"houseNumber,required" xml:"houseNumber,required"` PostalCode string `bson:"postalCode,required" json:"postalCode,required" xml:"postalCode,required"` Region string `bson:"region,required" json:"region,required" xml:"region,required"` Street string `bson:"street,required" json:"street,required" xml:"street,required"` }
type BadRequestHTTPTransport ¶
type BasicTypes ¶
type BasicTypes struct { Boolean bool `bson:"boolean,required" json:"boolean,required" xml:"boolean,required"` Integer int64 `bson:"integer,required" json:"integer,required" xml:"integer,required"` Map map[string]string `bson:"map,required" json:"map,required" xml:"map,required"` Number float64 `bson:"number,required" json:"number,required" xml:"number,required"` Slice []string `bson:"slice,required" json:"slice,required" xml:"slice,required"` String string `bson:"string,required" json:"string,required" xml:"string,required"` }
type Booking ¶
type Booking struct {
BookingID *string `bson:"bookingID,omitempty" json:"bookingID,omitempty" xml:"bookingID,omitempty"`
}
type Client ¶
type Client struct { ActivePresets *string `bson:"activePresets,omitempty" json:"activePresets,omitempty" xml:"activePresets,omitempty"` Configuration Object1 `bson:"configuration,omitempty" json:"configuration,omitempty" xml:"configuration,omitempty"` Id string `bson:"id,required" json:"id,required" xml:"id,required"` Name string `bson:"name,required" json:"name,required" xml:"name,required"` }
type Code200Response ¶
type Code200Response struct {
Body string
}
TBD
func (*Code200Response) StatusCode ¶
func (r *Code200Response) StatusCode() int
type Code400Response ¶
type Code400Response struct{}
status 400
func (*Code400Response) StatusCode ¶
func (r *Code400Response) StatusCode() int
type Code401Response ¶
type Code401Response struct{}
Unauthorized Session code
func (*Code401Response) StatusCode ¶
func (r *Code401Response) StatusCode() int
type Code404Response ¶
type Code404Response struct{}
Resource Not Found
func (*Code404Response) StatusCode ¶
func (r *Code404Response) StatusCode() int
type Code500Response ¶
type Code500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*Code500Response) StatusCode ¶
func (r *Code500Response) StatusCode() int
type CodeHandler ¶
type CodeHandler func(ctx context.Context, request *CodeRequest) CodeResponse
type CodeRequest ¶
type CodeResponse ¶
type CodeResponse interface { StatusCode() int // contains filtered or unexported methods }
func Code ¶
func Code(ctx context.Context, request *CodeRequest) CodeResponse
type ComponentTypes ¶
type ComponentTypes string
ID of the request in UUIDv4 format A list of component types separated by a comma case insensitive. If nothing is defined all component types are returned.
const ( ComponentTypesWHEELS ComponentTypes = "WHEELS" ComponentTypesPAINTS ComponentTypes = "PAINTS" ComponentTypesUPHOLSTERIES ComponentTypes = "UPHOLSTERIES" ComponentTypesTRIMS ComponentTypes = "TRIMS" ComponentTypesPACKAGES ComponentTypes = "PACKAGES" ComponentTypesLINES ComponentTypes = "LINES" ComponentTypesSPECIALEDITION ComponentTypes = "SPECIAL_EDITION" ComponentTypesSPECIALEQUIPMENT ComponentTypes = "SPECIAL_EQUIPMENT" )
type CreateCustomerSession201Response ¶
type CreateCustomerSession201Response struct {
Body Session
}
Session successful created
func (*CreateCustomerSession201Response) StatusCode ¶
func (r *CreateCustomerSession201Response) StatusCode() int
type CreateCustomerSession401Response ¶
type CreateCustomerSession401Response struct{}
Invalid OpenID authentication token
func (*CreateCustomerSession401Response) StatusCode ¶
func (r *CreateCustomerSession401Response) StatusCode() int
type CreateCustomerSession403Response ¶
type CreateCustomerSession403Response struct{}
Create session with authentication token is forbidden (e.g. Token already used)
func (*CreateCustomerSession403Response) StatusCode ¶
func (r *CreateCustomerSession403Response) StatusCode() int
type CreateCustomerSession422Response ¶
type CreateCustomerSession422Response struct {
Body ValidationErrors
}
Invalid request data
func (*CreateCustomerSession422Response) StatusCode ¶
func (r *CreateCustomerSession422Response) StatusCode() int
type CreateCustomerSession500Response ¶
type CreateCustomerSession500Response struct{}
Internal server error (e.g. unexpected condition occurred)
func (*CreateCustomerSession500Response) StatusCode ¶
func (r *CreateCustomerSession500Response) StatusCode() int
type CreateCustomerSessionHandler ¶
type CreateCustomerSessionHandler func(ctx context.Context, request *CreateCustomerSessionRequest) CreateCustomerSessionResponse
Creates a customer session for a given OpenID authentication token.
type CreateCustomerSessionResponse ¶
type CreateCustomerSessionResponse interface { StatusCode() int // contains filtered or unexported methods }
func CreateCustomerSession ¶
func CreateCustomerSession(ctx context.Context, request *CreateCustomerSessionRequest) CreateCustomerSessionResponse
type CreateOrUpdateClient200Response ¶
type CreateOrUpdateClient200Response struct{}
Updated
func (*CreateOrUpdateClient200Response) StatusCode ¶
func (r *CreateOrUpdateClient200Response) StatusCode() int
type CreateOrUpdateClient201Response ¶
type CreateOrUpdateClient201Response struct{}
Created
func (*CreateOrUpdateClient201Response) StatusCode ¶
func (r *CreateOrUpdateClient201Response) StatusCode() int
type CreateOrUpdateClient400Response ¶
type CreateOrUpdateClient400Response struct{}
Malformed request body
func (*CreateOrUpdateClient400Response) StatusCode ¶
func (r *CreateOrUpdateClient400Response) StatusCode() int
type CreateOrUpdateClient403Response ¶
type CreateOrUpdateClient403Response struct{}
Not authenticated
func (*CreateOrUpdateClient403Response) StatusCode ¶
func (r *CreateOrUpdateClient403Response) StatusCode() int
type CreateOrUpdateClient405Response ¶
type CreateOrUpdateClient405Response struct{}
Not allowed
func (*CreateOrUpdateClient405Response) StatusCode ¶
func (r *CreateOrUpdateClient405Response) StatusCode() int
type CreateOrUpdateClientHandler ¶
type CreateOrUpdateClientHandler func(ctx context.Context, request *CreateOrUpdateClientRequest) CreateOrUpdateClientResponse
type CreateOrUpdateClientResponse ¶
type CreateOrUpdateClientResponse interface { StatusCode() int // contains filtered or unexported methods }
type CreateOrUpdateUser200Response ¶
type CreateOrUpdateUser200Response struct{}
Updated
func (*CreateOrUpdateUser200Response) StatusCode ¶
func (r *CreateOrUpdateUser200Response) StatusCode() int
type CreateOrUpdateUser201Response ¶
type CreateOrUpdateUser201Response struct{}
Created
func (*CreateOrUpdateUser201Response) StatusCode ¶
func (r *CreateOrUpdateUser201Response) StatusCode() int
type CreateOrUpdateUser400Response ¶
type CreateOrUpdateUser400Response struct{}
Malformed request body
func (*CreateOrUpdateUser400Response) StatusCode ¶
func (r *CreateOrUpdateUser400Response) StatusCode() int
type CreateOrUpdateUser403Response ¶
type CreateOrUpdateUser403Response struct{}
Not authenticated
func (*CreateOrUpdateUser403Response) StatusCode ¶
func (r *CreateOrUpdateUser403Response) StatusCode() int
type CreateOrUpdateUser405Response ¶
type CreateOrUpdateUser405Response struct{}
Not allowed
func (*CreateOrUpdateUser405Response) StatusCode ¶
func (r *CreateOrUpdateUser405Response) StatusCode() int
type CreateOrUpdateUserHandler ¶
type CreateOrUpdateUserHandler func(ctx context.Context, request *CreateOrUpdateUserRequest) CreateOrUpdateUserResponse
type CreateOrUpdateUserResponse ¶
type CreateOrUpdateUserResponse interface { StatusCode() int // contains filtered or unexported methods }
func CreateOrUpdateUser ¶
func CreateOrUpdateUser(ctx context.Context, request *CreateOrUpdateUserRequest) CreateOrUpdateUserResponse
type CreateOrUpdateViewsSet200Response ¶
type CreateOrUpdateViewsSet200Response struct{}
Updated
func (*CreateOrUpdateViewsSet200Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet200Response) StatusCode() int
type CreateOrUpdateViewsSet201Response ¶
type CreateOrUpdateViewsSet201Response struct{}
Created
func (*CreateOrUpdateViewsSet201Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet201Response) StatusCode() int
type CreateOrUpdateViewsSet400Response ¶
type CreateOrUpdateViewsSet400Response struct{}
Malformed request body
func (*CreateOrUpdateViewsSet400Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet400Response) StatusCode() int
type CreateOrUpdateViewsSet403Response ¶
type CreateOrUpdateViewsSet403Response struct{}
Not authenticated
func (*CreateOrUpdateViewsSet403Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet403Response) StatusCode() int
type CreateOrUpdateViewsSet405Response ¶
type CreateOrUpdateViewsSet405Response struct{}
Not allowed
func (*CreateOrUpdateViewsSet405Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet405Response) StatusCode() int
type CreateOrUpdateViewsSetHandler ¶
type CreateOrUpdateViewsSetHandler func(ctx context.Context, request *CreateOrUpdateViewsSetRequest) CreateOrUpdateViewsSetResponse
type CreateOrUpdateViewsSetResponse ¶
type CreateOrUpdateViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type CreateSession200Response ¶
type CreateSession200Response struct {
XAuth string
}
Authentication successful
func (*CreateSession200Response) StatusCode ¶
func (r *CreateSession200Response) StatusCode() int
type CreateSession400Response ¶
type CreateSession400Response struct {
Body ValidationErrors
}
Malformed request body
func (*CreateSession400Response) StatusCode ¶
func (r *CreateSession400Response) StatusCode() int
type CreateSession401Response ¶
type CreateSession401Response struct{}
Authentication not successful
func (*CreateSession401Response) StatusCode ¶
func (r *CreateSession401Response) StatusCode() int
type CreateSessionHandler ¶
type CreateSessionHandler func(ctx context.Context, request *CreateSessionRequest) CreateSessionResponse
type CreateSessionRequest ¶
type CreateSessionRequest struct {
Body Object2
}
type CreateSessionResponse ¶
type CreateSessionResponse interface { StatusCode() int // contains filtered or unexported methods }
func CreateSession ¶
func CreateSession(ctx context.Context, request *CreateSessionRequest) CreateSessionResponse
type DeleteClient200Response ¶
type DeleteClient200Response struct{}
Success
func (*DeleteClient200Response) StatusCode ¶
func (r *DeleteClient200Response) StatusCode() int
type DeleteClient403Response ¶
type DeleteClient403Response struct{}
Not authenticated
func (*DeleteClient403Response) StatusCode ¶
func (r *DeleteClient403Response) StatusCode() int
type DeleteClient404Response ¶
type DeleteClient404Response struct{}
Not found
func (*DeleteClient404Response) StatusCode ¶
func (r *DeleteClient404Response) StatusCode() int
type DeleteClientHandler ¶
type DeleteClientHandler func(ctx context.Context, request *DeleteClientRequest) DeleteClientResponse
type DeleteClientRequest ¶
type DeleteClientResponse ¶
type DeleteClientResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteCustomerSession204Response ¶
type DeleteCustomerSession204Response struct{}
Session successful deleted
func (*DeleteCustomerSession204Response) StatusCode ¶
func (r *DeleteCustomerSession204Response) StatusCode() int
type DeleteCustomerSession401Response ¶
type DeleteCustomerSession401Response struct{}
Invalid session token
func (*DeleteCustomerSession401Response) StatusCode ¶
func (r *DeleteCustomerSession401Response) StatusCode() int
type DeleteCustomerSession500Response ¶
type DeleteCustomerSession500Response struct{}
Internal server error (e.g. unexpected condition occurred)
func (*DeleteCustomerSession500Response) StatusCode ¶
func (r *DeleteCustomerSession500Response) StatusCode() int
type DeleteCustomerSessionHandler ¶
type DeleteCustomerSessionHandler func(ctx context.Context, request *DeleteCustomerSessionRequest) DeleteCustomerSessionResponse
Deletes the user session matching the *X-Auth* header.
type DeleteCustomerSessionResponse ¶
type DeleteCustomerSessionResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteUser200Response ¶
type DeleteUser200Response struct{}
Success
func (*DeleteUser200Response) StatusCode ¶
func (r *DeleteUser200Response) StatusCode() int
type DeleteUser403Response ¶
type DeleteUser403Response struct{}
Not authenticated
func (*DeleteUser403Response) StatusCode ¶
func (r *DeleteUser403Response) StatusCode() int
type DeleteUser404Response ¶
type DeleteUser404Response struct{}
Not found
func (*DeleteUser404Response) StatusCode ¶
func (r *DeleteUser404Response) StatusCode() int
type DeleteUserHandler ¶
type DeleteUserHandler func(ctx context.Context, request *DeleteUserRequest) DeleteUserResponse
type DeleteUserRequest ¶
type DeleteUserResponse ¶
type DeleteUserResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteViewsSet200Response ¶
type DeleteViewsSet200Response struct{}
Success
func (*DeleteViewsSet200Response) StatusCode ¶
func (r *DeleteViewsSet200Response) StatusCode() int
type DeleteViewsSet403Response ¶
type DeleteViewsSet403Response struct{}
Not authenticated
func (*DeleteViewsSet403Response) StatusCode ¶
func (r *DeleteViewsSet403Response) StatusCode() int
type DeleteViewsSet404Response ¶
type DeleteViewsSet404Response struct{}
Not found
func (*DeleteViewsSet404Response) StatusCode ¶
func (r *DeleteViewsSet404Response) StatusCode() int
type DeleteViewsSetHandler ¶
type DeleteViewsSetHandler func(ctx context.Context, request *DeleteViewsSetRequest) DeleteViewsSetResponse
type DeleteViewsSetRequest ¶
type DeleteViewsSetResponse ¶
type DeleteViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type DestroySession200Response ¶
type DestroySession200Response struct{}
Session destroyed
func (*DestroySession200Response) StatusCode ¶
func (r *DestroySession200Response) StatusCode() int
type DestroySession404Response ¶
type DestroySession404Response struct{}
Session not found
func (*DestroySession404Response) StatusCode ¶
func (r *DestroySession404Response) StatusCode() int
type DestroySessionHandler ¶
type DestroySessionHandler func(ctx context.Context, request *DestroySessionRequest) DestroySessionResponse
type DestroySessionRequest ¶
type DestroySessionRequest struct {
XAuth string
}
type DestroySessionResponse ¶
type DestroySessionResponse interface { StatusCode() int // contains filtered or unexported methods }
type DownloadFile200Response ¶
type DownloadFile200Response struct { Body io.ReadCloser ContentType string }
file to download
func (*DownloadFile200Response) StatusCode ¶
func (r *DownloadFile200Response) StatusCode() int
type DownloadFileHandler ¶
type DownloadFileHandler func(ctx context.Context, request *DownloadFileRequest) DownloadFileResponse
Retrieve a file
type DownloadFileRequest ¶
type DownloadFileRequest struct {
File string
}
type DownloadFileResponse ¶
type DownloadFileResponse interface { StatusCode() int // contains filtered or unexported methods }
func DownloadFile ¶
func DownloadFile(ctx context.Context, request *DownloadFileRequest) DownloadFileResponse
type DownloadImage200Response ¶
type DownloadImage200Response struct { Body io.ReadCloser ContentType string }
image to download
func (*DownloadImage200Response) StatusCode ¶
func (r *DownloadImage200Response) StatusCode() int
type DownloadImage500Response ¶
type DownloadImage500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*DownloadImage500Response) StatusCode ¶
func (r *DownloadImage500Response) StatusCode() int
type DownloadImageHandler ¶
type DownloadImageHandler func(ctx context.Context, request *DownloadImageRequest) DownloadImageResponse
Retrieve a image
type DownloadImageRequest ¶
type DownloadImageRequest struct {
Image string
}
type DownloadImageResponse ¶
type DownloadImageResponse interface { StatusCode() int // contains filtered or unexported methods }
func DownloadImage ¶
func DownloadImage(ctx context.Context, request *DownloadImageRequest) DownloadImageResponse
type DownloadNestedFile200Response ¶
type DownloadNestedFile200Response struct {
Body NestedFileStructure
}
Nested file structure
func (*DownloadNestedFile200Response) StatusCode ¶
func (r *DownloadNestedFile200Response) StatusCode() int
type DownloadNestedFileHandler ¶
type DownloadNestedFileHandler func(ctx context.Context, request *DownloadNestedFileRequest) DownloadNestedFileResponse
Downloads a file that is a property within a nested structure in the response body
type DownloadNestedFileRequest ¶
type DownloadNestedFileRequest struct{}
type DownloadNestedFileResponse ¶
type DownloadNestedFileResponse interface { StatusCode() int // contains filtered or unexported methods }
func NestedFileDownload ¶
func NestedFileDownload(ctx context.Context, req *DownloadNestedFileRequest) DownloadNestedFileResponse
type DriveConcept ¶
type DriveConcept string
The kind of drive concept of a vehicle. Where UNDEFINED is used as the default and/or error case.
const ( DriveConceptCOMBUSTOR DriveConcept = "COMBUSTOR" DriveConceptHYBRID DriveConcept = "HYBRID" DriveConceptELECTRIC DriveConcept = "ELECTRIC" DriveConceptFUELCELL DriveConcept = "FUELCELL" DriveConceptUNDEFINED DriveConcept = "UNDEFINED" )
type EmptySlice ¶
type EmptySlice struct {
EmptySlice []Price `bson:"EmptySlice,omitempty" json:"EmptySlice,omitempty" validate:"omitempty,gt=0,dive" xml:"EmptySlice,omitempty"`
}
type ErrorHandler ¶
type ErrorHandler func(v ...interface{})
type GenericFileDownload200Response ¶
type GenericFileDownload200Response struct { Body io.ReadCloser ContentType string Pragma string }
file to download
func (*GenericFileDownload200Response) StatusCode ¶
func (r *GenericFileDownload200Response) StatusCode() int
type GenericFileDownload500Response ¶
type GenericFileDownload500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*GenericFileDownload500Response) StatusCode ¶
func (r *GenericFileDownload500Response) StatusCode() int
type GenericFileDownloadHandler ¶
type GenericFileDownloadHandler func(ctx context.Context, request *GenericFileDownloadRequest) GenericFileDownloadResponse
Retrieve a file
type GenericFileDownloadRequest ¶
type GenericFileDownloadRequest struct {
Ext string
}
type GenericFileDownloadResponse ¶
type GenericFileDownloadResponse interface { StatusCode() int // contains filtered or unexported methods }
func GenericFileDownload ¶
func GenericFileDownload(ctx context.Context, request *GenericFileDownloadRequest) GenericFileDownloadResponse
type GetBooking200Response ¶
type GetBooking200Response struct {
Body string
}
status 200
func (*GetBooking200Response) StatusCode ¶
func (r *GetBooking200Response) StatusCode() int
type GetBooking400Response ¶
type GetBooking400Response struct{}
status 400
func (*GetBooking400Response) StatusCode ¶
func (r *GetBooking400Response) StatusCode() int
type GetBooking401Response ¶
type GetBooking401Response struct{}
Unauthorized Session Token
func (*GetBooking401Response) StatusCode ¶
func (r *GetBooking401Response) StatusCode() int
type GetBooking404Response ¶
type GetBooking404Response struct{}
Resource Not Found
func (*GetBooking404Response) StatusCode ¶
func (r *GetBooking404Response) StatusCode() int
type GetBooking500Response ¶
type GetBooking500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*GetBooking500Response) StatusCode ¶
func (r *GetBooking500Response) StatusCode() int
type GetBookingHandler ¶
type GetBookingHandler func(ctx context.Context, request *GetBookingRequest) GetBookingResponse
Get booking of session owner
type GetBookingRequest ¶
type GetBookingRequest struct {
XSessionID string
}
type GetBookingResponse ¶
type GetBookingResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetBooking ¶
func GetBooking(ctx context.Context, request *GetBookingRequest) GetBookingResponse
type GetBookings200Response ¶
type GetBookings200Response struct {
Body []Booking `validate:"dive"`
}
Success List Booking History
func (*GetBookings200Response) StatusCode ¶
func (r *GetBookings200Response) StatusCode() int
type GetBookings400Response ¶
type GetBookings400Response struct{}
status 400
func (*GetBookings400Response) StatusCode ¶
func (r *GetBookings400Response) StatusCode() int
type GetBookings401Response ¶
type GetBookings401Response struct{}
Unauthorized Session Token
func (*GetBookings401Response) StatusCode ¶
func (r *GetBookings401Response) StatusCode() int
type GetBookings404Response ¶
type GetBookings404Response struct{}
Resource Not Found
func (*GetBookings404Response) StatusCode ¶
func (r *GetBookings404Response) StatusCode() int
type GetBookings500Response ¶
type GetBookings500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*GetBookings500Response) StatusCode ¶
func (r *GetBookings500Response) StatusCode() int
type GetBookingsHandler ¶
type GetBookingsHandler func(ctx context.Context, request *GetBookingsRequest) GetBookingsResponse
Get bookings of session owner
type GetBookingsRequest ¶
type GetBookingsResponse ¶
type GetBookingsResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetBookings ¶
func GetBookings(ctx context.Context, request *GetBookingsRequest) GetBookingsResponse
type GetClasses200Response ¶
type GetClasses200Response struct {
Body string
}
Successful response
func (*GetClasses200Response) StatusCode ¶
func (r *GetClasses200Response) StatusCode() int
type GetClasses400Response ¶
type GetClasses400Response struct {
Body string
}
Successful response
func (*GetClasses400Response) StatusCode ¶
func (r *GetClasses400Response) StatusCode() int
type GetClassesHandler ¶
type GetClassesHandler func(ctx context.Context, request *GetClassesRequest) GetClassesResponse
type GetClassesRequest ¶
type GetClassesRequest struct { ProductGroup ProductGroup ComponentTypes []ComponentTypes }
type GetClassesResponse ¶
type GetClassesResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetClasses ¶
func GetClasses(ctx context.Context, request *GetClassesRequest) GetClassesResponse
type GetClient200Response ¶
type GetClient200Response struct {
Body Client
}
Success
func (*GetClient200Response) StatusCode ¶
func (r *GetClient200Response) StatusCode() int
type GetClient403Response ¶
type GetClient403Response struct{}
Not authenticated
func (*GetClient403Response) StatusCode ¶
func (r *GetClient403Response) StatusCode() int
type GetClient404Response ¶
type GetClient404Response struct{}
Not found
func (*GetClient404Response) StatusCode ¶
func (r *GetClient404Response) StatusCode() int
type GetClientHandler ¶
type GetClientHandler func(ctx context.Context, request *GetClientRequest) GetClientResponse
type GetClientRequest ¶
type GetClientResponse ¶
type GetClientResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetClient ¶
func GetClient(ctx context.Context, request *GetClientRequest) GetClientResponse
type GetClients200Response ¶
type GetClients200Response struct {
Body []Client `validate:"dive"`
}
Status 200
func (*GetClients200Response) StatusCode ¶
func (r *GetClients200Response) StatusCode() int
type GetClients204Response ¶
type GetClients204Response struct{}
Status 201
func (*GetClients204Response) StatusCode ¶
func (r *GetClients204Response) StatusCode() int
type GetClients403Response ¶
type GetClients403Response struct{}
Not authenticated
func (*GetClients403Response) StatusCode ¶
func (r *GetClients403Response) StatusCode() int
type GetClientsHandler ¶
type GetClientsHandler func(ctx context.Context, request *GetClientsRequest) GetClientsResponse
type GetClientsRequest ¶
type GetClientsRequest struct {
XAuth string
}
type GetClientsResponse ¶
type GetClientsResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetPermissions200Response ¶
type GetPermissions200Response struct {
Body []string
}
Status 200
func (*GetPermissions200Response) StatusCode ¶
func (r *GetPermissions200Response) StatusCode() int
type GetPermissions403Response ¶
type GetPermissions403Response struct{}
Not authenticated
func (*GetPermissions403Response) StatusCode ¶
func (r *GetPermissions403Response) StatusCode() int
type GetPermissionsHandler ¶
type GetPermissionsHandler func(ctx context.Context, request *GetPermissionsRequest) GetPermissionsResponse
Get the list of permissions a user can grant to other users.
type GetPermissionsRequest ¶
type GetPermissionsRequest struct {
XAuth string
}
type GetPermissionsResponse ¶
type GetPermissionsResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetPermissions ¶
func GetPermissions(ctx context.Context, request *GetPermissionsRequest) GetPermissionsResponse
type GetRental200Response ¶
type GetRental200Response struct{}
status 200
func (*GetRental200Response) StatusCode ¶
func (r *GetRental200Response) StatusCode() int
type GetRental400Response ¶
type GetRental400Response struct {
Body ValidationErrors
}
status 400
func (*GetRental400Response) StatusCode ¶
func (r *GetRental400Response) StatusCode() int
type GetRentalHandler ¶
type GetRentalHandler func(ctx context.Context, request *GetRentalRequest) GetRentalResponse
get rental
type GetRentalRequest ¶
type GetRentalRequest struct {
Body Rental
}
type GetRentalResponse ¶
type GetRentalResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetRental ¶
func GetRental(ctx context.Context, request *GetRentalRequest) GetRentalResponse
type GetShoes200Response ¶
type GetShoes200Response struct {
Body Shoes
}
Successful
func (*GetShoes200Response) StatusCode ¶
func (r *GetShoes200Response) StatusCode() int
type GetShoesHandler ¶
type GetShoesHandler func(ctx context.Context, request *GetShoesRequest) GetShoesResponse
type GetShoesRequest ¶
type GetShoesRequest struct{}
type GetShoesResponse ¶
type GetShoesResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetShoes ¶
func GetShoes(ctx context.Context, req *GetShoesRequest) GetShoesResponse
type GetUser200Response ¶
type GetUser200Response struct {
Body User
}
Success
func (*GetUser200Response) StatusCode ¶
func (r *GetUser200Response) StatusCode() int
type GetUser403Response ¶
type GetUser403Response struct{}
Not authenticated
func (*GetUser403Response) StatusCode ¶
func (r *GetUser403Response) StatusCode() int
type GetUser404Response ¶
type GetUser404Response struct{}
Not found
func (*GetUser404Response) StatusCode ¶
func (r *GetUser404Response) StatusCode() int
type GetUserHandler ¶
type GetUserHandler func(ctx context.Context, request *GetUserRequest) GetUserResponse
type GetUserInfo200Response ¶
type GetUserInfo200Response struct {
Body User
}
Status 200
func (*GetUserInfo200Response) StatusCode ¶
func (r *GetUserInfo200Response) StatusCode() int
type GetUserInfo400Response ¶
type GetUserInfo400Response struct {
Body ValidationErrors
}
Malformed request body
func (*GetUserInfo400Response) StatusCode ¶
func (r *GetUserInfo400Response) StatusCode() int
type GetUserInfo403Response ¶
type GetUserInfo403Response struct{}
Not authenticatedq
func (*GetUserInfo403Response) StatusCode ¶
func (r *GetUserInfo403Response) StatusCode() int
type GetUserInfoHandler ¶
type GetUserInfoHandler func(ctx context.Context, request *GetUserInfoRequest) GetUserInfoResponse
type GetUserInfoRequest ¶
type GetUserInfoResponse ¶
type GetUserInfoResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetUserInfo ¶
func GetUserInfo(ctx context.Context, request *GetUserInfoRequest) GetUserInfoResponse
type GetUserRequest ¶
type GetUserResponse ¶
type GetUserResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetUsers200Response ¶
type GetUsers200Response struct {
Body []User `validate:"dive"`
}
Success
func (*GetUsers200Response) StatusCode ¶
func (r *GetUsers200Response) StatusCode() int
type GetUsers403Response ¶
type GetUsers403Response struct{}
Not authenticated
func (*GetUsers403Response) StatusCode ¶
func (r *GetUsers403Response) StatusCode() int
type GetUsersHandler ¶
type GetUsersHandler func(ctx context.Context, request *GetUsersRequest) GetUsersResponse
type GetUsersRequest ¶
type GetUsersRequest struct {
XAuth string
}
type GetUsersResponse ¶
type GetUsersResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetUsers ¶
func GetUsers(ctx context.Context, request *GetUsersRequest) GetUsersResponse
type GetViewsSet200Response ¶
type GetViewsSet200Response struct {
Body ViewsSet
}
Success
func (*GetViewsSet200Response) StatusCode ¶
func (r *GetViewsSet200Response) StatusCode() int
type GetViewsSet403Response ¶
type GetViewsSet403Response struct{}
Not authenticated
func (*GetViewsSet403Response) StatusCode ¶
func (r *GetViewsSet403Response) StatusCode() int
type GetViewsSet404Response ¶
type GetViewsSet404Response struct{}
Not found
func (*GetViewsSet404Response) StatusCode ¶
func (r *GetViewsSet404Response) StatusCode() int
type GetViewsSetHandler ¶
type GetViewsSetHandler func(ctx context.Context, request *GetViewsSetRequest) GetViewsSetResponse
type GetViewsSetRequest ¶
type GetViewsSetResponse ¶
type GetViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetViewsSets200Response ¶
type GetViewsSets200Response struct {
Body []ViewsSet `validate:"dive"`
}
Success
func (*GetViewsSets200Response) StatusCode ¶
func (r *GetViewsSets200Response) StatusCode() int
type GetViewsSets403Response ¶
type GetViewsSets403Response struct{}
Not authenticated
func (*GetViewsSets403Response) StatusCode ¶
func (r *GetViewsSets403Response) StatusCode() int
type GetViewsSetsHandler ¶
type GetViewsSetsHandler func(ctx context.Context, request *GetViewsSetsRequest) GetViewsSetsResponse
type GetViewsSetsRequest ¶
type GetViewsSetsResponse ¶
type GetViewsSetsResponse interface { StatusCode() int // contains filtered or unexported methods }
type HooksClient ¶
type HooksClient struct {
OnUnknownResponseCode func(response *http.Response, request *http.Request) string
}
func DevHook ¶
func DevHook() HooksClient
type HttpContext ¶
type HttpJsonError ¶
type HttpJsonError struct { Message interface{} // contains filtered or unexported fields }
func (*HttpJsonError) Error ¶
func (e *HttpJsonError) Error() string
func (*HttpJsonError) StatusCode ¶
func (e *HttpJsonError) StatusCode() int
type Link ¶
type Link struct {
Href string `bson:"href,required" json:"href,required" xml:"href,required"`
}
type Links ¶
type Links struct {
Self Link `bson:"self,required" json:"self,required" xml:"self,required"`
}
type ListElements200Response ¶
Status 200
func (*ListElements200Response) StatusCode ¶
func (r *ListElements200Response) StatusCode() int
type ListElements500Response ¶
type ListElements500Response struct{}
Status 500
func (*ListElements500Response) StatusCode ¶
func (r *ListElements500Response) StatusCode() int
type ListElementsHandler ¶
type ListElementsHandler func(ctx context.Context, request *ListElementsRequest) ListElementsResponse
type ListElementsRequest ¶
type ListElementsResponse ¶
type ListElementsResponse interface { StatusCode() int // contains filtered or unexported methods }
func ListElement ¶
func ListElement(ctx context.Context, request *ListElementsRequest) ListElementsResponse
type ListModels200Response ¶
type ListModels200Response struct {
Body []Model `validate:"dive"`
}
Ok
func (*ListModels200Response) StatusCode ¶
func (r *ListModels200Response) StatusCode() int
type ListModelsHandler ¶
type ListModelsHandler func(ctx context.Context, request *ListModelsRequest) ListModelsResponse
type ListModelsRequest ¶
type ListModelsResponse ¶
type ListModelsResponse interface { StatusCode() int // contains filtered or unexported methods }
func GetBrands ¶
func GetBrands(ctx context.Context, request *ListModelsRequest) ListModelsResponse
type Middleware ¶
type Middleware struct { Handler routing.Handler After bool }
type MimeFile ¶
type MimeFile struct { Header *multipart.FileHeader Content io.ReadCloser }
type Model ¶
type Model struct { DriveConcept *DriveConcept `bson:"driveConcept,omitempty" json:"driveConcept,omitempty" xml:"driveConcept,omitempty"` Price Price `bson:"price,required" json:"price,required" xml:"price,required"` TechnicalInformation TechnicalInformation `bson:"technicalInformation,required" json:"technicalInformation,required" xml:"technicalInformation,required"` }
type NestedFileStructure ¶
type NestedFileStructure struct {
Data *string `bson:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}
type Object1 ¶
type Object1 struct { BbdCEBaseUrl *string `bson:"bbdCEBaseUrl,omitempty" json:"bbdCEBaseUrl,omitempty" xml:"bbdCEBaseUrl,omitempty"` BbdCallerIdentifier *string `bson:"bbdCallerIdentifier,omitempty" json:"bbdCallerIdentifier,omitempty" xml:"bbdCallerIdentifier,omitempty"` BbdDataSupply *string `bson:"bbdDataSupply,omitempty" json:"bbdDataSupply,omitempty" xml:"bbdDataSupply,omitempty"` BbdImageBackground *string `bson:"bbdImageBackground,omitempty" json:"bbdImageBackground,omitempty" xml:"bbdImageBackground,omitempty"` BbdImagePerspective *string `bson:"bbdImagePerspective,omitempty" json:"bbdImagePerspective,omitempty" xml:"bbdImagePerspective,omitempty"` BbdImageType *string `bson:"bbdImageType,omitempty" json:"bbdImageType,omitempty" xml:"bbdImageType,omitempty"` BbdPassword *string `bson:"bbdPassword,omitempty" json:"bbdPassword,omitempty" xml:"bbdPassword,omitempty"` BbdProductGroup *string `bson:"bbdProductGroup,omitempty" json:"bbdProductGroup,omitempty" xml:"bbdProductGroup,omitempty"` BbdSoapMediaProviderUrl *string `bson:"bbdSoapMediaProviderUrl,omitempty" json:"bbdSoapMediaProviderUrl,omitempty" xml:"bbdSoapMediaProviderUrl,omitempty"` BbdUser *string `bson:"bbdUser,omitempty" json:"bbdUser,omitempty" xml:"bbdUser,omitempty"` CcoreServiceUrl *string `bson:"ccoreServiceUrl,omitempty" json:"ccoreServiceUrl,omitempty" xml:"ccoreServiceUrl,omitempty"` CryptKeys []string `bson:"cryptKeys,omitempty" json:"cryptKeys,omitempty" xml:"cryptKeys,omitempty"` HealConfigurations *bool `bson:"healConfigurations,omitempty" json:"healConfigurations,omitempty" xml:"healConfigurations,omitempty"` }
type Opts ¶
type Opts struct { Hooks HooksClient Ctx context.Context }
type PostUpload200Response ¶
type PostUpload200Response struct{}
Status 200
func (*PostUpload200Response) StatusCode ¶
func (r *PostUpload200Response) StatusCode() int
type PostUpload500Response ¶
type PostUpload500Response struct{}
Status 500
func (*PostUpload500Response) StatusCode ¶
func (r *PostUpload500Response) StatusCode() int
type PostUploadHandler ¶
type PostUploadHandler func(ctx context.Context, request *PostUploadRequest) PostUploadResponse
type PostUploadRequest ¶
type PostUploadRequest struct {
FormData PostUploadRequestFormData
}
type PostUploadResponse ¶
type PostUploadResponse interface { StatusCode() int // contains filtered or unexported methods }
func PostUpload ¶
func PostUpload(ctx context.Context, request *PostUploadRequest) PostUploadResponse
type ProductGroup ¶
type ProductGroup string
The productGroup of a vehicle case insensitive.
const ( ProductGroupPKW ProductGroup = "PKW" ProductGroupGELAENDEWAGEN ProductGroup = "GELAENDEWAGEN" ProductGroupVAN ProductGroup = "VAN" ProductGroupSPRINTER ProductGroup = "SPRINTER" ProductGroupCITAN ProductGroup = "CITAN" ProductGroupSMART ProductGroup = "SMART" )
type PrometheusHandler ¶
type PrometheusHandler struct {
// contains filtered or unexported fields
}
func NewPrometheusHandler ¶
func NewPrometheusHandler(namespace *string) *PrometheusHandler
func (*PrometheusHandler) HandleRequest ¶
func (h *PrometheusHandler) HandleRequest(path, method string, status int, duration time.Duration)
func (*PrometheusHandler) InitMetric ¶
func (h *PrometheusHandler) InitMetric(path, method string)
type ReadCloserBuffer ¶
func (*ReadCloserBuffer) Close ¶
func (cb *ReadCloserBuffer) Close() (err error)
type Rental ¶
type Rental struct { Class string `bson:"class,required" json:"class,required" validate:"min=3,max=20" xml:"class,required"` Color *string `bson:"color,omitempty" json:"color,omitempty" validate:"omitempty,min=3,max=20" xml:"color,omitempty"` HomeID *string `bson:"homeID,omitempty" json:"homeID,omitempty" validate:"omitempty,regex1" xml:"homeID,omitempty"` Id string `bson:"id,required" json:"id,required" validate:"regex2" xml:"id,required"` IdOptional *string `bson:"idOptional,omitempty" json:"idOptional,omitempty" validate:"omitempty,regex3" xml:"idOptional,omitempty"` LockStatus int32 `bson:"lockStatus,required" json:"lockStatus,required" validate:"min=1,max=100" xml:"lockStatus,required"` MaxDoors int64 `bson:"maxDoors,required" json:"maxDoors,required" validate:"max=5" xml:"maxDoors,required"` MinDoors int64 `bson:"minDoors,required" json:"minDoors,required" validate:"min=5" xml:"minDoors,required"` OptionalInt *int64 `bson:"optionalInt,omitempty" json:"optionalInt,omitempty" xml:"optionalInt,omitempty"` State *int64 `bson:"state,omitempty" json:"state,omitempty" xml:"state,omitempty"` StationID string `bson:"stationID,required" json:"stationID,required" validate:"regex4" xml:"stationID,required"` Status int64 `bson:"status,required" json:"status,required" validate:"min=46,max=49" xml:"status,required"` Valid *string `bson:"valid,omitempty" json:"valid,omitempty" validate:"omitempty,max=255" xml:"valid,omitempty"` Website string `bson:"website,required" json:"website,required" validate:"regex5" xml:"website,required"` WebsiteOptional *string `` /* 133-byte string literal not displayed */ }
type RouteDescription ¶
type RouteDescription struct { Path string Handler routing.Handler Middleware []Middleware Method string }
type Server ¶
type Server struct { ErrorLogger func(v ...interface{}) SwaggerSpec string Router *routing.Router OnStart func(router *routing.Router) // contains filtered or unexported fields }
type ServerOpts ¶
type ServerOpts struct { ErrorHandler ErrorHandler Middleware []Middleware OnStart func(router *routing.Router) }
type Shoe ¶
type Shoe struct { Links Links `bson:"_links,required" json:"_links,required" xml:"_links,required"` Color string `bson:"color,required" json:"color,required" xml:"color,required"` Name string `bson:"name,required" json:"name,required" xml:"name,required"` Size float64 `bson:"size,required" json:"size,required" xml:"size,required"` }
type Shoes ¶
type Shoes struct { Embedded ShoesEmbedded `bson:"_embedded,required" json:"_embedded,required" xml:"_embedded,required"` Links Links `bson:"_links,required" json:"_links,required" xml:"_links,required"` Id string `bson:"id,required" json:"id,required" xml:"id,required"` }
type ShoesEmbedded ¶
type ShoesEmbedded struct {
ShopShoes []Shoe `bson:"shop:shoes,required" json:"shop:shoes,required" validate:"dive" xml:"shop:shoes,required"`
}
type ShowVehicleInView200Response ¶
type ShowVehicleInView200Response struct{}
Success
func (*ShowVehicleInView200Response) StatusCode ¶
func (r *ShowVehicleInView200Response) StatusCode() int
type ShowVehicleInView403Response ¶
type ShowVehicleInView403Response struct{}
Not authenticated
func (*ShowVehicleInView403Response) StatusCode ¶
func (r *ShowVehicleInView403Response) StatusCode() int
type ShowVehicleInView404Response ¶
type ShowVehicleInView404Response struct{}
Not found
func (*ShowVehicleInView404Response) StatusCode ¶
func (r *ShowVehicleInView404Response) StatusCode() int
type ShowVehicleInViewHandler ¶
type ShowVehicleInViewHandler func(ctx context.Context, request *ShowVehicleInViewRequest) ShowVehicleInViewResponse
type ShowVehicleInViewResponse ¶
type ShowVehicleInViewResponse interface { StatusCode() int // contains filtered or unexported methods }
type TechnicalInformation ¶
type TechnicalInformation struct {
Transmission string `bson:"transmission,required" json:"transmission,required" xml:"transmission,required"`
}
type User ¶
type User struct { Address []Address `bson:"Address,omitempty" json:"Address,omitempty" validate:"omitempty,gt=0,dive" xml:"Address,omitempty"` Email *string `bson:"email,omitempty" json:"email,omitempty" validate:"omitempty,email,max=255" xml:"email,omitempty"` GrantedProtocolMappers map[string]string `bson:"grantedProtocolMappers,omitempty" json:"grantedProtocolMappers,omitempty" xml:"grantedProtocolMappers,omitempty"` Id string `bson:"id,required" json:"id,required" xml:"id,required"` Password string `bson:"password,required" json:"password,required" xml:"password,required"` Permissions []string `bson:"permissions,omitempty" json:"permissions,omitempty" xml:"permissions,omitempty"` }
type ValidationError ¶
type ValidationErrorObject ¶
type ValidationErrors ¶
type ValidationErrors struct { Errors []ValidationError `bson:"Errors,omitempty" json:"Errors,omitempty" validate:"omitempty,gt=0,dive" xml:"Errors,omitempty"` Message *string `bson:"Message,omitempty" json:"Message,omitempty" xml:"Message,omitempty"` }
type ValidationErrorsObject ¶
type ValidationErrorsObject struct { Message string `json:"message"` Errors []ValidationErrorObject `json:"errors"` }
type Validator ¶
func NewValidation ¶
func NewValidation() *Validator
func (*Validator) ValidateRequest ¶
func (v *Validator) ValidateRequest(request interface{}) (*ValidationErrorsObject, error)
type VersionInfo ¶
type VersionInfo struct { GoVersion string `json:"go_version"` GitTag string `json:"git_tag"` GitCommit string `json:"git_commit"` GitBranch string `json:"git_branch"` BuildTime string `json:"build_time"` }
func ApikitVersion ¶
func ApikitVersion() *VersionInfo
func (*VersionInfo) PrintTable ¶
func (vi *VersionInfo) PrintTable() error
type VisAdminClient ¶
type VisAdminClient interface { GetClients(request *GetClientsRequest) (GetClientsResponse, error) DeleteClient(request *DeleteClientRequest) (DeleteClientResponse, error) GetClient(request *GetClientRequest) (GetClientResponse, error) CreateOrUpdateClient(request *CreateOrUpdateClientRequest) (CreateOrUpdateClientResponse, error) GetViewsSets(request *GetViewsSetsRequest) (GetViewsSetsResponse, error) DeleteViewsSet(request *DeleteViewsSetRequest) (DeleteViewsSetResponse, error) GetViewsSet(request *GetViewsSetRequest) (GetViewsSetResponse, error) ActivateViewsSet(request *ActivateViewsSetRequest) (ActivateViewsSetResponse, error) CreateOrUpdateViewsSet(request *CreateOrUpdateViewsSetRequest) (CreateOrUpdateViewsSetResponse, error) ShowVehicleInView(request *ShowVehicleInViewRequest) (ShowVehicleInViewResponse, error) GetPermissions(request *GetPermissionsRequest) (GetPermissionsResponse, error) DestroySession(request *DestroySessionRequest) (DestroySessionResponse, error) GetUserInfo(request *GetUserInfoRequest) (GetUserInfoResponse, error) CreateSession(request *CreateSessionRequest) (CreateSessionResponse, error) GetUsers(request *GetUsersRequest) (GetUsersResponse, error) DeleteUser(request *DeleteUserRequest) (DeleteUserResponse, error) GetUser(request *GetUserRequest) (GetUserResponse, error) CreateOrUpdateUser(request *CreateOrUpdateUserRequest) (CreateOrUpdateUserResponse, error) GetBooking(request *GetBookingRequest) (GetBookingResponse, error) GetBookings(request *GetBookingsRequest) (GetBookingsResponse, error) ListModels(request *ListModelsRequest) (ListModelsResponse, error) GetClasses(request *GetClassesRequest) (GetClassesResponse, error) Code(request *CodeRequest) (CodeResponse, error) DeleteCustomerSession(request *DeleteCustomerSessionRequest) (DeleteCustomerSessionResponse, error) CreateCustomerSession(request *CreateCustomerSessionRequest) (CreateCustomerSessionResponse, error) DownloadNestedFile(request *DownloadNestedFileRequest) (DownloadNestedFileResponse, error) DownloadImage(request *DownloadImageRequest) (DownloadImageResponse, error) ListElements(request *ListElementsRequest) (ListElementsResponse, error) DownloadFile(request *DownloadFileRequest) (DownloadFileResponse, error) GenericFileDownload(request *GenericFileDownloadRequest) (GenericFileDownloadResponse, error) GetRental(request *GetRentalRequest) (GetRentalResponse, error) GetShoes(request *GetShoesRequest) (GetShoesResponse, error) PostUpload(request *PostUploadRequest) (PostUploadResponse, error) }
func NewVisAdminClient ¶
func NewVisAdminClient(httpClient *http.Client, baseUrl string, options Opts) VisAdminClient
type VisAdminServer ¶
type VisAdminServer struct { *Server Validator *Validator // contains filtered or unexported fields }
func NewVisAdminServer ¶
func NewVisAdminServer(options *ServerOpts) *VisAdminServer
func (*VisAdminServer) ActivateViewsSetHandler ¶
func (server *VisAdminServer) ActivateViewsSetHandler(c *routing.Context) error
func (*VisAdminServer) CodeHandler ¶
func (server *VisAdminServer) CodeHandler(c *routing.Context) error
func (*VisAdminServer) CreateCustomerSessionHandler ¶
func (server *VisAdminServer) CreateCustomerSessionHandler(c *routing.Context) error
func (*VisAdminServer) CreateOrUpdateClientHandler ¶
func (server *VisAdminServer) CreateOrUpdateClientHandler(c *routing.Context) error
func (*VisAdminServer) CreateOrUpdateUserHandler ¶
func (server *VisAdminServer) CreateOrUpdateUserHandler(c *routing.Context) error
func (*VisAdminServer) CreateOrUpdateViewsSetHandler ¶
func (server *VisAdminServer) CreateOrUpdateViewsSetHandler(c *routing.Context) error
func (*VisAdminServer) CreateSessionHandler ¶
func (server *VisAdminServer) CreateSessionHandler(c *routing.Context) error
func (*VisAdminServer) DeleteClientHandler ¶
func (server *VisAdminServer) DeleteClientHandler(c *routing.Context) error
func (*VisAdminServer) DeleteCustomerSessionHandler ¶
func (server *VisAdminServer) DeleteCustomerSessionHandler(c *routing.Context) error
func (*VisAdminServer) DeleteUserHandler ¶
func (server *VisAdminServer) DeleteUserHandler(c *routing.Context) error
func (*VisAdminServer) DeleteViewsSetHandler ¶
func (server *VisAdminServer) DeleteViewsSetHandler(c *routing.Context) error
func (*VisAdminServer) DestroySessionHandler ¶
func (server *VisAdminServer) DestroySessionHandler(c *routing.Context) error
func (*VisAdminServer) DownloadFileHandler ¶
func (server *VisAdminServer) DownloadFileHandler(c *routing.Context) error
func (*VisAdminServer) DownloadImageHandler ¶
func (server *VisAdminServer) DownloadImageHandler(c *routing.Context) error
func (*VisAdminServer) DownloadNestedFileHandler ¶
func (server *VisAdminServer) DownloadNestedFileHandler(c *routing.Context) error
func (*VisAdminServer) GenericFileDownloadHandler ¶
func (server *VisAdminServer) GenericFileDownloadHandler(c *routing.Context) error
func (*VisAdminServer) GetBookingHandler ¶
func (server *VisAdminServer) GetBookingHandler(c *routing.Context) error
func (*VisAdminServer) GetBookingsHandler ¶
func (server *VisAdminServer) GetBookingsHandler(c *routing.Context) error
func (*VisAdminServer) GetClassesHandler ¶
func (server *VisAdminServer) GetClassesHandler(c *routing.Context) error
func (*VisAdminServer) GetClientHandler ¶
func (server *VisAdminServer) GetClientHandler(c *routing.Context) error
func (*VisAdminServer) GetClientsHandler ¶
func (server *VisAdminServer) GetClientsHandler(c *routing.Context) error
func (*VisAdminServer) GetPermissionsHandler ¶
func (server *VisAdminServer) GetPermissionsHandler(c *routing.Context) error
func (*VisAdminServer) GetRentalHandler ¶
func (server *VisAdminServer) GetRentalHandler(c *routing.Context) error
func (*VisAdminServer) GetShoesHandler ¶
func (server *VisAdminServer) GetShoesHandler(c *routing.Context) error
func (*VisAdminServer) GetUserHandler ¶
func (server *VisAdminServer) GetUserHandler(c *routing.Context) error
func (*VisAdminServer) GetUserInfoHandler ¶
func (server *VisAdminServer) GetUserInfoHandler(c *routing.Context) error
func (*VisAdminServer) GetUsersHandler ¶
func (server *VisAdminServer) GetUsersHandler(c *routing.Context) error
func (*VisAdminServer) GetViewsSetHandler ¶
func (server *VisAdminServer) GetViewsSetHandler(c *routing.Context) error
func (*VisAdminServer) GetViewsSetsHandler ¶
func (server *VisAdminServer) GetViewsSetsHandler(c *routing.Context) error
func (*VisAdminServer) ListElementsHandler ¶
func (server *VisAdminServer) ListElementsHandler(c *routing.Context) error
func (*VisAdminServer) ListModelsHandler ¶
func (server *VisAdminServer) ListModelsHandler(c *routing.Context) error
func (*VisAdminServer) PostUploadHandler ¶
func (server *VisAdminServer) PostUploadHandler(c *routing.Context) error
func (*VisAdminServer) SetActivateViewsSetHandler ¶
func (server *VisAdminServer) SetActivateViewsSetHandler(handler ActivateViewsSetHandler, middleware ...Middleware)
func (*VisAdminServer) SetCodeHandler ¶
func (server *VisAdminServer) SetCodeHandler(handler CodeHandler, middleware ...Middleware)
func (*VisAdminServer) SetCreateCustomerSessionHandler ¶
func (server *VisAdminServer) SetCreateCustomerSessionHandler(handler CreateCustomerSessionHandler, middleware ...Middleware)
func (*VisAdminServer) SetCreateOrUpdateClientHandler ¶
func (server *VisAdminServer) SetCreateOrUpdateClientHandler(handler CreateOrUpdateClientHandler, middleware ...Middleware)
func (*VisAdminServer) SetCreateOrUpdateUserHandler ¶
func (server *VisAdminServer) SetCreateOrUpdateUserHandler(handler CreateOrUpdateUserHandler, middleware ...Middleware)
func (*VisAdminServer) SetCreateOrUpdateViewsSetHandler ¶
func (server *VisAdminServer) SetCreateOrUpdateViewsSetHandler(handler CreateOrUpdateViewsSetHandler, middleware ...Middleware)
func (*VisAdminServer) SetCreateSessionHandler ¶
func (server *VisAdminServer) SetCreateSessionHandler(handler CreateSessionHandler, middleware ...Middleware)
func (*VisAdminServer) SetDeleteClientHandler ¶
func (server *VisAdminServer) SetDeleteClientHandler(handler DeleteClientHandler, middleware ...Middleware)
func (*VisAdminServer) SetDeleteCustomerSessionHandler ¶
func (server *VisAdminServer) SetDeleteCustomerSessionHandler(handler DeleteCustomerSessionHandler, middleware ...Middleware)
func (*VisAdminServer) SetDeleteUserHandler ¶
func (server *VisAdminServer) SetDeleteUserHandler(handler DeleteUserHandler, middleware ...Middleware)
func (*VisAdminServer) SetDeleteViewsSetHandler ¶
func (server *VisAdminServer) SetDeleteViewsSetHandler(handler DeleteViewsSetHandler, middleware ...Middleware)
func (*VisAdminServer) SetDestroySessionHandler ¶
func (server *VisAdminServer) SetDestroySessionHandler(handler DestroySessionHandler, middleware ...Middleware)
func (*VisAdminServer) SetDownloadFileHandler ¶
func (server *VisAdminServer) SetDownloadFileHandler(handler DownloadFileHandler, middleware ...Middleware)
func (*VisAdminServer) SetDownloadImageHandler ¶
func (server *VisAdminServer) SetDownloadImageHandler(handler DownloadImageHandler, middleware ...Middleware)
func (*VisAdminServer) SetDownloadNestedFileHandler ¶
func (server *VisAdminServer) SetDownloadNestedFileHandler(handler DownloadNestedFileHandler, middleware ...Middleware)
func (*VisAdminServer) SetGenericFileDownloadHandler ¶
func (server *VisAdminServer) SetGenericFileDownloadHandler(handler GenericFileDownloadHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetBookingHandler ¶
func (server *VisAdminServer) SetGetBookingHandler(handler GetBookingHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetBookingsHandler ¶
func (server *VisAdminServer) SetGetBookingsHandler(handler GetBookingsHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetClassesHandler ¶
func (server *VisAdminServer) SetGetClassesHandler(handler GetClassesHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetClientHandler ¶
func (server *VisAdminServer) SetGetClientHandler(handler GetClientHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetClientsHandler ¶
func (server *VisAdminServer) SetGetClientsHandler(handler GetClientsHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetPermissionsHandler ¶
func (server *VisAdminServer) SetGetPermissionsHandler(handler GetPermissionsHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetRentalHandler ¶
func (server *VisAdminServer) SetGetRentalHandler(handler GetRentalHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetShoesHandler ¶
func (server *VisAdminServer) SetGetShoesHandler(handler GetShoesHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetUserHandler ¶
func (server *VisAdminServer) SetGetUserHandler(handler GetUserHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetUserInfoHandler ¶
func (server *VisAdminServer) SetGetUserInfoHandler(handler GetUserInfoHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetUsersHandler ¶
func (server *VisAdminServer) SetGetUsersHandler(handler GetUsersHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetViewsSetHandler ¶
func (server *VisAdminServer) SetGetViewsSetHandler(handler GetViewsSetHandler, middleware ...Middleware)
func (*VisAdminServer) SetGetViewsSetsHandler ¶
func (server *VisAdminServer) SetGetViewsSetsHandler(handler GetViewsSetsHandler, middleware ...Middleware)
func (*VisAdminServer) SetListElementsHandler ¶
func (server *VisAdminServer) SetListElementsHandler(handler ListElementsHandler, middleware ...Middleware)
func (*VisAdminServer) SetListModelsHandler ¶
func (server *VisAdminServer) SetListModelsHandler(handler ListModelsHandler, middleware ...Middleware)
func (*VisAdminServer) SetPostUploadHandler ¶
func (server *VisAdminServer) SetPostUploadHandler(handler PostUploadHandler, middleware ...Middleware)
func (*VisAdminServer) SetShowVehicleInViewHandler ¶
func (server *VisAdminServer) SetShowVehicleInViewHandler(handler ShowVehicleInViewHandler, middleware ...Middleware)
func (*VisAdminServer) ShowVehicleInViewHandler ¶
func (server *VisAdminServer) ShowVehicleInViewHandler(c *routing.Context) error
func (*VisAdminServer) Start ¶
func (server *VisAdminServer) Start(port int) error