Documentation ¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.0 DO NOT EDIT.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ChiServerOptions
- type GetGroupListParams
- type GetMacroListParams
- type GetTemplateListParams
- type GetUserLoginParams
- type Group
- type InvalidParamFormatError
- type Macro
- type MiddlewareFunc
- type PostGroupAddMacroParams
- type PostGroupAddTemplateParams
- type PostGroupAddUserParams
- type PostGroupChangeParentGroupParams
- type PostGroupCreateParams
- type PostGroupRemoveMacroParams
- type PostGroupRemoveTemplateParams
- type PostGroupRemoveUserParams
- type PostMacroCreateParams
- type PostMacroEditCheckinParams
- type PostMacroEditCheckoutParams
- type PostTemplateCreateParams
- type PostTemplateEditCheckinParams
- type PostTemplateEditCheckoutParams
- type PostUserCreateParams
- type PostUserModifyUserIdParams
- type RequiredHeaderError
- type RequiredParamError
- type SchabloneServer
- func (s *SchabloneServer) GetGroupGetGroupId(w http.ResponseWriter, r *http.Request, groupId int)
- func (s *SchabloneServer) GetGroupList(w http.ResponseWriter, r *http.Request, params GetGroupListParams)
- func (s *SchabloneServer) GetMacroGetMacroId(w http.ResponseWriter, r *http.Request, macroId int)
- func (s *SchabloneServer) GetMacroList(w http.ResponseWriter, r *http.Request, params GetMacroListParams)
- func (s *SchabloneServer) GetTemplateGetTemplateId(w http.ResponseWriter, r *http.Request, templateId int)
- func (s *SchabloneServer) GetTemplateList(w http.ResponseWriter, r *http.Request, params GetTemplateListParams)
- func (s *SchabloneServer) GetUserGetUserId(w http.ResponseWriter, r *http.Request, userId int)
- func (s *SchabloneServer) GetUserList(w http.ResponseWriter, r *http.Request)
- func (s *SchabloneServer) GetUserLogin(w http.ResponseWriter, r *http.Request, params GetUserLoginParams)
- func (s *SchabloneServer) PostGroupAddMacro(w http.ResponseWriter, r *http.Request, params PostGroupAddMacroParams)
- func (s *SchabloneServer) PostGroupAddTemplate(w http.ResponseWriter, r *http.Request, params PostGroupAddTemplateParams)
- func (s *SchabloneServer) PostGroupAddUser(w http.ResponseWriter, r *http.Request, params PostGroupAddUserParams)
- func (s *SchabloneServer) PostGroupChangeParentGroup(w http.ResponseWriter, r *http.Request, ...)
- func (s *SchabloneServer) PostGroupCreate(w http.ResponseWriter, r *http.Request, params PostGroupCreateParams)
- func (s *SchabloneServer) PostGroupRemoveMacro(w http.ResponseWriter, r *http.Request, params PostGroupRemoveMacroParams)
- func (s *SchabloneServer) PostGroupRemoveTemplate(w http.ResponseWriter, r *http.Request, params PostGroupRemoveTemplateParams)
- func (s *SchabloneServer) PostGroupRemoveUser(w http.ResponseWriter, r *http.Request, params PostGroupRemoveUserParams)
- func (s *SchabloneServer) PostMacroCreate(w http.ResponseWriter, r *http.Request, params PostMacroCreateParams)
- func (s *SchabloneServer) PostMacroEditCheckin(w http.ResponseWriter, r *http.Request, params PostMacroEditCheckinParams)
- func (s *SchabloneServer) PostMacroEditCheckout(w http.ResponseWriter, r *http.Request, params PostMacroEditCheckoutParams)
- func (s *SchabloneServer) PostTemplateCreate(w http.ResponseWriter, r *http.Request, params PostTemplateCreateParams)
- func (s *SchabloneServer) PostTemplateEditCheckin(w http.ResponseWriter, r *http.Request, params PostTemplateEditCheckinParams)
- func (s *SchabloneServer) PostTemplateEditCheckout(w http.ResponseWriter, r *http.Request, params PostTemplateEditCheckoutParams)
- func (s *SchabloneServer) PostUserCreate(w http.ResponseWriter, r *http.Request, params PostUserCreateParams)
- func (s *SchabloneServer) PostUserModifyUserId(w http.ResponseWriter, r *http.Request, userId int, ...)
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) GetGroupGetGroupId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroupList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMacroGetMacroId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMacroList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTemplateGetTemplateId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTemplateList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUserGetUserId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUserList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetUserLogin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupAddMacro(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupAddTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupAddUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupChangeParentGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupRemoveMacro(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupRemoveTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostGroupRemoveUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostMacroCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostMacroEditCheckin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostMacroEditCheckout(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostTemplateCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostTemplateEditCheckin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostTemplateEditCheckout(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostUserCreate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostUserModifyUserId(w http.ResponseWriter, r *http.Request)
- type Template
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type User
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type ChiServerOptions ¶
type ChiServerOptions struct { BaseURL string BaseRouter chi.Router Middlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
type GetGroupListParams ¶
type GetGroupListParams struct { // The group ID GroupId int `json:"groupId"` }
GetGroupListParams defines parameters for GetGroupList.
type GetMacroListParams ¶
type GetMacroListParams struct { // Group ID GroupId int `json:"groupId"` }
GetMacroListParams defines parameters for GetMacroList.
type GetTemplateListParams ¶
type GetTemplateListParams struct { // Group ID GroupId int `json:"groupId"` }
GetTemplateListParams defines parameters for GetTemplateList.
type GetUserLoginParams ¶
type GetUserLoginParams struct { // The user name Username string `json:"username"` // The user password Password string `json:"password"` }
GetUserLoginParams defines parameters for GetUserLogin.
type Group ¶
type Group struct { Id *int `json:"id,omitempty"` Name *string `json:"name,omitempty"` ParentId *int `json:"parentId,omitempty"` }
Group defines model for Group.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type Macro ¶
type Macro struct { Content *string `json:"content,omitempty"` Id *int `json:"id,omitempty"` IsBeingEditedBy *int `json:"isBeingEditedBy,omitempty"` Title *string `json:"title,omitempty"` }
Macro defines model for Macro.
type MiddlewareFunc ¶
type MiddlewareFunc func(http.HandlerFunc) http.HandlerFunc
type PostGroupAddMacroParams ¶
type PostGroupAddMacroParams struct { // Macro ID MacroId int `json:"macroId"` // Group ID GroupId int `json:"groupId"` }
PostGroupAddMacroParams defines parameters for PostGroupAddMacro.
type PostGroupAddTemplateParams ¶
type PostGroupAddTemplateParams struct { // Template ID TemplateId int `json:"templateId"` // Group ID GroupId int `json:"groupId"` }
PostGroupAddTemplateParams defines parameters for PostGroupAddTemplate.
type PostGroupAddUserParams ¶
type PostGroupAddUserParams struct { // User ID UserId int `json:"userId"` // Group ID GroupId int `json:"groupId"` }
PostGroupAddUserParams defines parameters for PostGroupAddUser.
type PostGroupChangeParentGroupParams ¶
type PostGroupChangeParentGroupParams struct { // Parent Group ID ParentGroupId int `json:"parentGroupId"` // Group ID GroupId int `json:"groupId"` }
PostGroupChangeParentGroupParams defines parameters for PostGroupChangeParentGroup.
type PostGroupCreateParams ¶
type PostGroupCreateParams struct { // Group title Name string `json:"name"` // Parent Group ID ParentGroupId int `json:"parentGroupId"` }
PostGroupCreateParams defines parameters for PostGroupCreate.
type PostGroupRemoveMacroParams ¶
type PostGroupRemoveMacroParams struct { // Macro ID MacroId int `json:"macroId"` // Group ID GroupId int `json:"groupId"` }
PostGroupRemoveMacroParams defines parameters for PostGroupRemoveMacro.
type PostGroupRemoveTemplateParams ¶
type PostGroupRemoveTemplateParams struct { // Template ID TemplateId int `json:"templateId"` // Group ID GroupId int `json:"groupId"` }
PostGroupRemoveTemplateParams defines parameters for PostGroupRemoveTemplate.
type PostGroupRemoveUserParams ¶
type PostGroupRemoveUserParams struct { // User ID UserId int `json:"userId"` // Group ID GroupId int `json:"groupId"` }
PostGroupRemoveUserParams defines parameters for PostGroupRemoveUser.
type PostMacroCreateParams ¶
type PostMacroCreateParams struct { // Macro title Name string `json:"name"` // Macro content Content string `json:"content"` // Group ID of the templates parent group InitialGroup int `json:"initialGroup"` }
PostMacroCreateParams defines parameters for PostMacroCreate.
type PostMacroEditCheckinParams ¶
type PostMacroEditCheckinParams struct { // Macro ID MacroId int `json:"macroId"` // Macro title Name string `json:"name"` // Macro content Content string `json:"content"` }
PostMacroEditCheckinParams defines parameters for PostMacroEditCheckin.
type PostMacroEditCheckoutParams ¶
type PostMacroEditCheckoutParams struct { // Macro ID MacroId int `json:"macroId"` }
PostMacroEditCheckoutParams defines parameters for PostMacroEditCheckout.
type PostTemplateCreateParams ¶
type PostTemplateCreateParams struct { // Template title Name string `json:"name"` // Template subject Subject string `json:"subject"` // Template content Content string `json:"content"` // Group ID of the templates parent group InitialGroup int `json:"initialGroup"` }
PostTemplateCreateParams defines parameters for PostTemplateCreate.
type PostTemplateEditCheckinParams ¶
type PostTemplateEditCheckinParams struct { // Template ID TemplateId int `json:"templateId"` // Template title Name string `json:"name"` // Template subject Subject string `json:"subject"` // Template content Content string `json:"content"` }
PostTemplateEditCheckinParams defines parameters for PostTemplateEditCheckin.
type PostTemplateEditCheckoutParams ¶
type PostTemplateEditCheckoutParams struct { // Template ID TemplateId int `json:"templateId"` }
PostTemplateEditCheckoutParams defines parameters for PostTemplateEditCheckout.
type PostUserCreateParams ¶
type PostUserCreateParams struct { // The user name Username string `json:"username"` // The first name of the user Firstname string `json:"firstname"` // The last name of the user Lastname string `json:"lastname"` // The password Password string `json:"password"` }
PostUserCreateParams defines parameters for PostUserCreate.
type PostUserModifyUserIdParams ¶
type PostUserModifyUserIdParams struct { // The user name Username string `json:"username"` // The first name of the user Firstname string `json:"firstname"` // The last name of the user Lastname string `json:"lastname"` // The password Password string `json:"password"` }
PostUserModifyUserIdParams defines parameters for PostUserModifyUserId.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type SchabloneServer ¶
type SchabloneServer struct {
// contains filtered or unexported fields
}
func NewSchabloneServer ¶
func NewSchabloneServer(mariadbUsername string, mariadbPassword string, mariadbHost string) *SchabloneServer
Create new server
func (*SchabloneServer) GetGroupGetGroupId ¶
func (s *SchabloneServer) GetGroupGetGroupId(w http.ResponseWriter, r *http.Request, groupId int)
(GET /group/get/{groupId})
func (*SchabloneServer) GetGroupList ¶
func (s *SchabloneServer) GetGroupList(w http.ResponseWriter, r *http.Request, params GetGroupListParams)
(GET /group/list)
func (*SchabloneServer) GetMacroGetMacroId ¶
func (s *SchabloneServer) GetMacroGetMacroId(w http.ResponseWriter, r *http.Request, macroId int)
(GET /macro/get/{macroId})
func (*SchabloneServer) GetMacroList ¶
func (s *SchabloneServer) GetMacroList(w http.ResponseWriter, r *http.Request, params GetMacroListParams)
(GET /macro/list)
func (*SchabloneServer) GetTemplateGetTemplateId ¶
func (s *SchabloneServer) GetTemplateGetTemplateId(w http.ResponseWriter, r *http.Request, templateId int)
(GET /template/get/{templateId})
func (*SchabloneServer) GetTemplateList ¶
func (s *SchabloneServer) GetTemplateList(w http.ResponseWriter, r *http.Request, params GetTemplateListParams)
(GET /template/list)
func (*SchabloneServer) GetUserGetUserId ¶
func (s *SchabloneServer) GetUserGetUserId(w http.ResponseWriter, r *http.Request, userId int)
(GET /user/get/{userId})
func (*SchabloneServer) GetUserList ¶
func (s *SchabloneServer) GetUserList(w http.ResponseWriter, r *http.Request)
(GET /user/list)
func (*SchabloneServer) GetUserLogin ¶
func (s *SchabloneServer) GetUserLogin(w http.ResponseWriter, r *http.Request, params GetUserLoginParams)
(GET /user/login)
func (*SchabloneServer) PostGroupAddMacro ¶
func (s *SchabloneServer) PostGroupAddMacro(w http.ResponseWriter, r *http.Request, params PostGroupAddMacroParams)
(POST /group/add_macro)
func (*SchabloneServer) PostGroupAddTemplate ¶
func (s *SchabloneServer) PostGroupAddTemplate(w http.ResponseWriter, r *http.Request, params PostGroupAddTemplateParams)
(POST /group/add_template)
func (*SchabloneServer) PostGroupAddUser ¶
func (s *SchabloneServer) PostGroupAddUser(w http.ResponseWriter, r *http.Request, params PostGroupAddUserParams)
(POST /group/add_user)
func (*SchabloneServer) PostGroupChangeParentGroup ¶
func (s *SchabloneServer) PostGroupChangeParentGroup(w http.ResponseWriter, r *http.Request, params PostGroupChangeParentGroupParams)
(POST /group/change_parent_group)
func (*SchabloneServer) PostGroupCreate ¶
func (s *SchabloneServer) PostGroupCreate(w http.ResponseWriter, r *http.Request, params PostGroupCreateParams)
(POST /group/create)
func (*SchabloneServer) PostGroupRemoveMacro ¶
func (s *SchabloneServer) PostGroupRemoveMacro(w http.ResponseWriter, r *http.Request, params PostGroupRemoveMacroParams)
(POST /group/remove_macro)
func (*SchabloneServer) PostGroupRemoveTemplate ¶
func (s *SchabloneServer) PostGroupRemoveTemplate(w http.ResponseWriter, r *http.Request, params PostGroupRemoveTemplateParams)
(POST /group/remove_template)
func (*SchabloneServer) PostGroupRemoveUser ¶
func (s *SchabloneServer) PostGroupRemoveUser(w http.ResponseWriter, r *http.Request, params PostGroupRemoveUserParams)
(POST /group/remove_user)
func (*SchabloneServer) PostMacroCreate ¶
func (s *SchabloneServer) PostMacroCreate(w http.ResponseWriter, r *http.Request, params PostMacroCreateParams)
(POST /macro/create)
func (*SchabloneServer) PostMacroEditCheckin ¶
func (s *SchabloneServer) PostMacroEditCheckin(w http.ResponseWriter, r *http.Request, params PostMacroEditCheckinParams)
(POST /macro/edit/checkin)
func (*SchabloneServer) PostMacroEditCheckout ¶
func (s *SchabloneServer) PostMacroEditCheckout(w http.ResponseWriter, r *http.Request, params PostMacroEditCheckoutParams)
(POST /macro/edit/checkout)
func (*SchabloneServer) PostTemplateCreate ¶
func (s *SchabloneServer) PostTemplateCreate(w http.ResponseWriter, r *http.Request, params PostTemplateCreateParams)
(POST /template/create)
func (*SchabloneServer) PostTemplateEditCheckin ¶
func (s *SchabloneServer) PostTemplateEditCheckin(w http.ResponseWriter, r *http.Request, params PostTemplateEditCheckinParams)
(POST /template/edit/checkin)
func (*SchabloneServer) PostTemplateEditCheckout ¶
func (s *SchabloneServer) PostTemplateEditCheckout(w http.ResponseWriter, r *http.Request, params PostTemplateEditCheckoutParams)
(POST /template/edit/checkout)
func (*SchabloneServer) PostUserCreate ¶
func (s *SchabloneServer) PostUserCreate(w http.ResponseWriter, r *http.Request, params PostUserCreateParams)
(POST /user/create)
func (*SchabloneServer) PostUserModifyUserId ¶
func (s *SchabloneServer) PostUserModifyUserId(w http.ResponseWriter, r *http.Request, userId int, params PostUserModifyUserIdParams)
(POST /user/modify/{userId})
type ServerInterface ¶
type ServerInterface interface { // (POST /group/add_macro) PostGroupAddMacro(w http.ResponseWriter, r *http.Request, params PostGroupAddMacroParams) // (POST /group/add_template) PostGroupAddTemplate(w http.ResponseWriter, r *http.Request, params PostGroupAddTemplateParams) // (POST /group/add_user) PostGroupAddUser(w http.ResponseWriter, r *http.Request, params PostGroupAddUserParams) // (POST /group/change_parent_group) PostGroupChangeParentGroup(w http.ResponseWriter, r *http.Request, params PostGroupChangeParentGroupParams) // (POST /group/create) PostGroupCreate(w http.ResponseWriter, r *http.Request, params PostGroupCreateParams) // (GET /group/get/{groupId}) GetGroupGetGroupId(w http.ResponseWriter, r *http.Request, groupId int) // (GET /group/list) GetGroupList(w http.ResponseWriter, r *http.Request, params GetGroupListParams) // (POST /group/remove_macro) PostGroupRemoveMacro(w http.ResponseWriter, r *http.Request, params PostGroupRemoveMacroParams) // (POST /group/remove_template) PostGroupRemoveTemplate(w http.ResponseWriter, r *http.Request, params PostGroupRemoveTemplateParams) // (POST /group/remove_user) PostGroupRemoveUser(w http.ResponseWriter, r *http.Request, params PostGroupRemoveUserParams) // (POST /macro/create) PostMacroCreate(w http.ResponseWriter, r *http.Request, params PostMacroCreateParams) // (POST /macro/edit/checkin) PostMacroEditCheckin(w http.ResponseWriter, r *http.Request, params PostMacroEditCheckinParams) // (POST /macro/edit/checkout) PostMacroEditCheckout(w http.ResponseWriter, r *http.Request, params PostMacroEditCheckoutParams) // (GET /macro/get/{macroId}) GetMacroGetMacroId(w http.ResponseWriter, r *http.Request, macroId int) // (GET /macro/list) GetMacroList(w http.ResponseWriter, r *http.Request, params GetMacroListParams) // (POST /template/create) PostTemplateCreate(w http.ResponseWriter, r *http.Request, params PostTemplateCreateParams) // (POST /template/edit/checkin) PostTemplateEditCheckin(w http.ResponseWriter, r *http.Request, params PostTemplateEditCheckinParams) // (POST /template/edit/checkout) PostTemplateEditCheckout(w http.ResponseWriter, r *http.Request, params PostTemplateEditCheckoutParams) // (GET /template/get/{templateId}) GetTemplateGetTemplateId(w http.ResponseWriter, r *http.Request, templateId int) // (GET /template/list) GetTemplateList(w http.ResponseWriter, r *http.Request, params GetTemplateListParams) // (POST /user/create) PostUserCreate(w http.ResponseWriter, r *http.Request, params PostUserCreateParams) // (GET /user/get/{userId}) GetUserGetUserId(w http.ResponseWriter, r *http.Request, userId int) // (GET /user/list) GetUserList(w http.ResponseWriter, r *http.Request) // (GET /user/login) GetUserLogin(w http.ResponseWriter, r *http.Request, params GetUserLoginParams) // (POST /user/modify/{userId}) PostUserModifyUserId(w http.ResponseWriter, r *http.Request, userId int, params PostUserModifyUserIdParams) }
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct { Handler ServerInterface HandlerMiddlewares []MiddlewareFunc ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) }
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) GetGroupGetGroupId ¶
func (siw *ServerInterfaceWrapper) GetGroupGetGroupId(w http.ResponseWriter, r *http.Request)
GetGroupGetGroupId operation middleware
func (*ServerInterfaceWrapper) GetGroupList ¶
func (siw *ServerInterfaceWrapper) GetGroupList(w http.ResponseWriter, r *http.Request)
GetGroupList operation middleware
func (*ServerInterfaceWrapper) GetMacroGetMacroId ¶
func (siw *ServerInterfaceWrapper) GetMacroGetMacroId(w http.ResponseWriter, r *http.Request)
GetMacroGetMacroId operation middleware
func (*ServerInterfaceWrapper) GetMacroList ¶
func (siw *ServerInterfaceWrapper) GetMacroList(w http.ResponseWriter, r *http.Request)
GetMacroList operation middleware
func (*ServerInterfaceWrapper) GetTemplateGetTemplateId ¶
func (siw *ServerInterfaceWrapper) GetTemplateGetTemplateId(w http.ResponseWriter, r *http.Request)
GetTemplateGetTemplateId operation middleware
func (*ServerInterfaceWrapper) GetTemplateList ¶
func (siw *ServerInterfaceWrapper) GetTemplateList(w http.ResponseWriter, r *http.Request)
GetTemplateList operation middleware
func (*ServerInterfaceWrapper) GetUserGetUserId ¶
func (siw *ServerInterfaceWrapper) GetUserGetUserId(w http.ResponseWriter, r *http.Request)
GetUserGetUserId operation middleware
func (*ServerInterfaceWrapper) GetUserList ¶
func (siw *ServerInterfaceWrapper) GetUserList(w http.ResponseWriter, r *http.Request)
GetUserList operation middleware
func (*ServerInterfaceWrapper) GetUserLogin ¶
func (siw *ServerInterfaceWrapper) GetUserLogin(w http.ResponseWriter, r *http.Request)
GetUserLogin operation middleware
func (*ServerInterfaceWrapper) PostGroupAddMacro ¶
func (siw *ServerInterfaceWrapper) PostGroupAddMacro(w http.ResponseWriter, r *http.Request)
PostGroupAddMacro operation middleware
func (*ServerInterfaceWrapper) PostGroupAddTemplate ¶
func (siw *ServerInterfaceWrapper) PostGroupAddTemplate(w http.ResponseWriter, r *http.Request)
PostGroupAddTemplate operation middleware
func (*ServerInterfaceWrapper) PostGroupAddUser ¶
func (siw *ServerInterfaceWrapper) PostGroupAddUser(w http.ResponseWriter, r *http.Request)
PostGroupAddUser operation middleware
func (*ServerInterfaceWrapper) PostGroupChangeParentGroup ¶
func (siw *ServerInterfaceWrapper) PostGroupChangeParentGroup(w http.ResponseWriter, r *http.Request)
PostGroupChangeParentGroup operation middleware
func (*ServerInterfaceWrapper) PostGroupCreate ¶
func (siw *ServerInterfaceWrapper) PostGroupCreate(w http.ResponseWriter, r *http.Request)
PostGroupCreate operation middleware
func (*ServerInterfaceWrapper) PostGroupRemoveMacro ¶
func (siw *ServerInterfaceWrapper) PostGroupRemoveMacro(w http.ResponseWriter, r *http.Request)
PostGroupRemoveMacro operation middleware
func (*ServerInterfaceWrapper) PostGroupRemoveTemplate ¶
func (siw *ServerInterfaceWrapper) PostGroupRemoveTemplate(w http.ResponseWriter, r *http.Request)
PostGroupRemoveTemplate operation middleware
func (*ServerInterfaceWrapper) PostGroupRemoveUser ¶
func (siw *ServerInterfaceWrapper) PostGroupRemoveUser(w http.ResponseWriter, r *http.Request)
PostGroupRemoveUser operation middleware
func (*ServerInterfaceWrapper) PostMacroCreate ¶
func (siw *ServerInterfaceWrapper) PostMacroCreate(w http.ResponseWriter, r *http.Request)
PostMacroCreate operation middleware
func (*ServerInterfaceWrapper) PostMacroEditCheckin ¶
func (siw *ServerInterfaceWrapper) PostMacroEditCheckin(w http.ResponseWriter, r *http.Request)
PostMacroEditCheckin operation middleware
func (*ServerInterfaceWrapper) PostMacroEditCheckout ¶
func (siw *ServerInterfaceWrapper) PostMacroEditCheckout(w http.ResponseWriter, r *http.Request)
PostMacroEditCheckout operation middleware
func (*ServerInterfaceWrapper) PostTemplateCreate ¶
func (siw *ServerInterfaceWrapper) PostTemplateCreate(w http.ResponseWriter, r *http.Request)
PostTemplateCreate operation middleware
func (*ServerInterfaceWrapper) PostTemplateEditCheckin ¶
func (siw *ServerInterfaceWrapper) PostTemplateEditCheckin(w http.ResponseWriter, r *http.Request)
PostTemplateEditCheckin operation middleware
func (*ServerInterfaceWrapper) PostTemplateEditCheckout ¶
func (siw *ServerInterfaceWrapper) PostTemplateEditCheckout(w http.ResponseWriter, r *http.Request)
PostTemplateEditCheckout operation middleware
func (*ServerInterfaceWrapper) PostUserCreate ¶
func (siw *ServerInterfaceWrapper) PostUserCreate(w http.ResponseWriter, r *http.Request)
PostUserCreate operation middleware
func (*ServerInterfaceWrapper) PostUserModifyUserId ¶
func (siw *ServerInterfaceWrapper) PostUserModifyUserId(w http.ResponseWriter, r *http.Request)
PostUserModifyUserId operation middleware
type Template ¶
type Template struct { AttachementIds *[]int `json:"attachementIds,omitempty"` Content *string `json:"content,omitempty"` Id *int `json:"id,omitempty"` IsBeingEditedBy *int `json:"isBeingEditedBy,omitempty"` Subject *string `json:"subject,omitempty"` Title *string `json:"title,omitempty"` }
Template defines model for Template.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error