v1

package
v0.0.0-...-aec5ea6 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package v1 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BasicScopes  contextKey = "Basic.Scopes"
	BearerScopes contextKey = "Bearer.Scopes"
	HeaderScopes contextKey = "Header.Scopes"
)

Variables

View Source
var (

	// ErrUnsupportedImageFormat defines the error for unsupported image formats.
	ErrUnsupportedImageFormat = fmt.Errorf("unsupported avatar file format")
)

Functions

func FromPtr

func FromPtr[T any](v *T) T

FromPtr transform input from pointer.

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

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

func Notify

func Notify(w http.ResponseWriter, notification Notification)

Notify simply processes a notification.

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func ToPtr

func ToPtr[T any](v T) *T

ToPtr transform input to a pointer.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API provides the http.Handler for the OpenAPI implementation.

func New

func New(
	cfg *config.Config,
	registry *metrics.Metrics,
	identity *authn.Authn,
	uploads upload.Upload,
	storage *store.Store,
) *API

New creates a new API that adds the handler implementations.

func (*API) AllowAdminAccessOnly

func (a *API) AllowAdminAccessOnly(next http.Handler) http.Handler

AllowAdminAccessOnly defines a middleware to check permissions.

func (*API) AllowCreateBuild

func (a *API) AllowCreateBuild(next http.Handler) http.Handler

AllowCreateBuild defines a middleware to check permissions.

func (*API) AllowCreateMod

func (a *API) AllowCreateMod(next http.Handler) http.Handler

AllowCreateMod defines a middleware to check permissions.

func (*API) AllowCreatePack

func (a *API) AllowCreatePack(next http.Handler) http.Handler

AllowCreatePack defines a middleware to check permissions.

func (*API) AllowCreateVersion

func (a *API) AllowCreateVersion(next http.Handler) http.Handler

AllowCreateVersion defines a middleware to check permissions.

func (*API) AllowManageBuild

func (a *API) AllowManageBuild(next http.Handler) http.Handler

AllowManageBuild defines a middleware to check permissions.

func (*API) AllowManageMod

func (a *API) AllowManageMod(next http.Handler) http.Handler

AllowManageMod defines a middleware to check permissions.

func (*API) AllowManagePack

func (a *API) AllowManagePack(next http.Handler) http.Handler

AllowManagePack defines a middleware to check permissions.

func (*API) AllowManageVersion

func (a *API) AllowManageVersion(next http.Handler) http.Handler

AllowManageVersion defines a middleware to check permissions.

func (*API) AllowShowBuild

func (a *API) AllowShowBuild(next http.Handler) http.Handler

AllowShowBuild defines a middleware to check permissions.

func (*API) AllowShowMod

func (a *API) AllowShowMod(next http.Handler) http.Handler

AllowShowMod defines a middleware to check permissions.

func (*API) AllowShowPack

func (a *API) AllowShowPack(next http.Handler) http.Handler

AllowShowPack defines a middleware to check permissions.

func (*API) AllowShowVersion

func (a *API) AllowShowVersion(next http.Handler) http.Handler

AllowShowVersion defines a middleware to check permissions.

func (*API) AttachBuildToVersion

func (a *API) AttachBuildToVersion(w http.ResponseWriter, r *http.Request, _ PackID, _ BuildID)

AttachBuildToVersion implements the v1.ServerInterface.

func (*API) AttachFabricToBuild

func (a *API) AttachFabricToBuild(w http.ResponseWriter, r *http.Request, _ FabricID)

AttachFabricToBuild implements the v1.ServerInterface.

func (*API) AttachForgeToBuild

func (a *API) AttachForgeToBuild(w http.ResponseWriter, r *http.Request, _ ForgeID)

AttachForgeToBuild implements the v1.ServerInterface.

func (*API) AttachGroupToMod

func (a *API) AttachGroupToMod(w http.ResponseWriter, r *http.Request, _ GroupID)

AttachGroupToMod implements the v1.ServerInterface.

func (*API) AttachGroupToPack

func (a *API) AttachGroupToPack(w http.ResponseWriter, r *http.Request, _ GroupID)

AttachGroupToPack implements the v1.ServerInterface.

func (*API) AttachGroupToUser

func (a *API) AttachGroupToUser(w http.ResponseWriter, r *http.Request, _ GroupID)

AttachGroupToUser implements the v1.ServerInterface.

func (*API) AttachMinecraftToBuild

func (a *API) AttachMinecraftToBuild(w http.ResponseWriter, r *http.Request, _ MinecraftID)

AttachMinecraftToBuild implements the v1.ServerInterface.

func (*API) AttachModToGroup

func (a *API) AttachModToGroup(w http.ResponseWriter, r *http.Request, _ ModID)

AttachModToGroup implements the v1.ServerInterface.

func (*API) AttachModToUser

func (a *API) AttachModToUser(w http.ResponseWriter, r *http.Request, _ ModID)

AttachModToUser implements the v1.ServerInterface.

func (*API) AttachNeoforgeToBuild

func (a *API) AttachNeoforgeToBuild(w http.ResponseWriter, r *http.Request, _ NeoforgeID)

AttachNeoforgeToBuild implements the v1.ServerInterface.

func (*API) AttachPackToGroup

func (a *API) AttachPackToGroup(w http.ResponseWriter, r *http.Request, _ PackID)

AttachPackToGroup implements the v1.ServerInterface.

func (*API) AttachPackToUser

func (a *API) AttachPackToUser(w http.ResponseWriter, r *http.Request, _ PackID)

AttachPackToUser implements the v1.ServerInterface.

func (*API) AttachQuiltToBuild

func (a *API) AttachQuiltToBuild(w http.ResponseWriter, r *http.Request, _ QuiltID)

AttachQuiltToBuild implements the v1.ServerInterface.

func (*API) AttachUserToGroup

func (a *API) AttachUserToGroup(w http.ResponseWriter, r *http.Request, _ UserID)

AttachUserToGroup implements the v1.ServerInterface.

func (*API) AttachUserToMod

func (a *API) AttachUserToMod(w http.ResponseWriter, r *http.Request, _ UserID)

AttachUserToMod implements the v1.ServerInterface.

func (*API) AttachUserToPack

func (a *API) AttachUserToPack(w http.ResponseWriter, r *http.Request, _ UserID)

AttachUserToPack implements the v1.ServerInterface.

func (*API) AttachVersionToBuild

func (a *API) AttachVersionToBuild(w http.ResponseWriter, r *http.Request, _ ModID, _ VersionID)

AttachVersionToBuild implements the v1.ServerInterface.

func (*API) Authentication

func (a *API) Authentication(ctx context.Context, input *openapi3filter.AuthenticationInput) error

Authentication provides the authentication for the OpenAPI filter.

func (*API) BuildFromContext

func (a *API) BuildFromContext(ctx context.Context) *model.Build

BuildFromContext is used to get the requested build from the context.

func (*API) BuildToContext

func (a *API) BuildToContext(next http.Handler) http.Handler

BuildToContext is used to put the requested build into the context.

func (*API) CallbackProvider

func (a *API) CallbackProvider(w http.ResponseWriter, r *http.Request, providerParam AuthProviderParam, params CallbackProviderParams)

CallbackProvider implements the v1.ServerInterface.

func (*API) CreateBuild

func (a *API) CreateBuild(w http.ResponseWriter, r *http.Request, _ PackID)

CreateBuild implements the v1.ServerInterface.

func (*API) CreateGroup

func (a *API) CreateGroup(w http.ResponseWriter, r *http.Request)

CreateGroup implements the v1.ServerInterface.

func (*API) CreateMod

func (a *API) CreateMod(w http.ResponseWriter, r *http.Request)

CreateMod implements the v1.ServerInterface.

func (*API) CreateModAvatar

func (a *API) CreateModAvatar(w http.ResponseWriter, r *http.Request, _ ModID)

CreateModAvatar implements the v1.ServerInterface.

func (*API) CreatePack

func (a *API) CreatePack(w http.ResponseWriter, r *http.Request)

CreatePack implements the v1.ServerInterface.

func (*API) CreatePackAvatar

func (a *API) CreatePackAvatar(w http.ResponseWriter, r *http.Request, _ PackID)

CreatePackAvatar implements the v1.ServerInterface.

func (*API) CreateUser

func (a *API) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser implements the v1.ServerInterface.

func (*API) CreateVersion

func (a *API) CreateVersion(w http.ResponseWriter, r *http.Request, _ ModID)

CreateVersion implements the v1.ServerInterface.

func (*API) DeleteBuild

func (a *API) DeleteBuild(w http.ResponseWriter, r *http.Request, _ PackID, _ BuildID)

DeleteBuild implements the v1.ServerInterface.

func (*API) DeleteBuildFromVersion

func (a *API) DeleteBuildFromVersion(w http.ResponseWriter, r *http.Request, _ PackID, _ BuildID)

DeleteBuildFromVersion implements the v1.ServerInterface.

func (*API) DeleteFabricFromBuild

func (a *API) DeleteFabricFromBuild(w http.ResponseWriter, r *http.Request, _ FabricID)

DeleteFabricFromBuild implements the v1.ServerInterface.

func (*API) DeleteForgeFromBuild

func (a *API) DeleteForgeFromBuild(w http.ResponseWriter, r *http.Request, _ ForgeID)

DeleteForgeFromBuild implements the v1.ServerInterface.

func (*API) DeleteGroup

func (a *API) DeleteGroup(w http.ResponseWriter, r *http.Request, _ GroupID)

DeleteGroup implements the v1.ServerInterface.

func (*API) DeleteGroupFromMod

func (a *API) DeleteGroupFromMod(w http.ResponseWriter, r *http.Request, _ GroupID)

DeleteGroupFromMod implements the v1.ServerInterface.

func (*API) DeleteGroupFromPack

func (a *API) DeleteGroupFromPack(w http.ResponseWriter, r *http.Request, _ GroupID)

DeleteGroupFromPack implements the v1.ServerInterface.

func (*API) DeleteGroupFromUser

func (a *API) DeleteGroupFromUser(w http.ResponseWriter, r *http.Request, _ GroupID)

DeleteGroupFromUser implements the v1.ServerInterface.

func (*API) DeleteMinecraftFromBuild

func (a *API) DeleteMinecraftFromBuild(w http.ResponseWriter, r *http.Request, _ MinecraftID)

DeleteMinecraftFromBuild implements the v1.ServerInterface.

func (*API) DeleteMod

func (a *API) DeleteMod(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteMod implements the v1.ServerInterface.

func (*API) DeleteModAvatar

func (a *API) DeleteModAvatar(w http.ResponseWriter, r *http.Request, _ ModID)

DeleteModAvatar implements the v1.ServerInterface.

func (*API) DeleteModFromGroup

func (a *API) DeleteModFromGroup(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteModFromGroup implements the v1.ServerInterface.

func (*API) DeleteModFromUser

func (a *API) DeleteModFromUser(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteModFromUser implements the v1.ServerInterface.

func (*API) DeleteNeoforgeFromBuild

func (a *API) DeleteNeoforgeFromBuild(w http.ResponseWriter, r *http.Request, _ NeoforgeID)

DeleteNeoforgeFromBuild implements the v1.ServerInterface.

func (*API) DeletePack

func (a *API) DeletePack(w http.ResponseWriter, r *http.Request, _ PackID)

DeletePack implements the v1.ServerInterface.

func (*API) DeletePackAvatar

func (a *API) DeletePackAvatar(w http.ResponseWriter, r *http.Request, _ PackID)

DeletePackAvatar implements the v1.ServerInterface.

func (*API) DeletePackFromGroup

func (a *API) DeletePackFromGroup(w http.ResponseWriter, r *http.Request, _ UserID)

DeletePackFromGroup implements the v1.ServerInterface.

func (*API) DeletePackFromUser

func (a *API) DeletePackFromUser(w http.ResponseWriter, r *http.Request, _ UserID)

DeletePackFromUser implements the v1.ServerInterface.

func (*API) DeleteQuiltFromBuild

func (a *API) DeleteQuiltFromBuild(w http.ResponseWriter, r *http.Request, _ QuiltID)

DeleteQuiltFromBuild implements the v1.ServerInterface.

func (*API) DeleteUser

func (a *API) DeleteUser(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteUser implements the v1.ServerInterface.

func (*API) DeleteUserFromGroup

func (a *API) DeleteUserFromGroup(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteUserFromGroup implements the v1.ServerInterface.

func (*API) DeleteUserFromMod

func (a *API) DeleteUserFromMod(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteUserFromMod implements the v1.ServerInterface.

func (*API) DeleteUserFromPack

func (a *API) DeleteUserFromPack(w http.ResponseWriter, r *http.Request, _ UserID)

DeleteUserFromPack implements the v1.ServerInterface.

func (*API) DeleteVersion

func (a *API) DeleteVersion(w http.ResponseWriter, r *http.Request, _ ModID, _ VersionID)

DeleteVersion implements the v1.ServerInterface.

func (*API) DeleteVersionFromBuild

func (a *API) DeleteVersionFromBuild(w http.ResponseWriter, r *http.Request, _ ModID, _ VersionID)

DeleteVersionFromBuild implements the v1.ServerInterface.

func (*API) FabricFromContext

func (a *API) FabricFromContext(ctx context.Context) *model.Fabric

FabricFromContext is used to get the requested fabric from the context.

func (*API) FabricToContext

func (a *API) FabricToContext(next http.Handler) http.Handler

FabricToContext is used to put the requested fabric into the context.

func (*API) ForgeFromContext

func (a *API) ForgeFromContext(ctx context.Context) *model.Forge

ForgeFromContext is used to get the requested forge from the context.

func (*API) ForgeToContext

func (a *API) ForgeToContext(next http.Handler) http.Handler

ForgeToContext is used to put the requested forge into the context.

func (*API) GroupFromContext

func (a *API) GroupFromContext(ctx context.Context) *model.Group

GroupFromContext is used to get the requested group from the context.

func (*API) GroupToContext

func (a *API) GroupToContext(next http.Handler) http.Handler

GroupToContext is used to put the requested group into the context.

func (*API) ListBuildVersions

func (a *API) ListBuildVersions(w http.ResponseWriter, r *http.Request, _ PackID, _ BuildID, params ListBuildVersionsParams)

ListBuildVersions implements the v1.ServerInterface.

func (*API) ListBuilds

func (a *API) ListBuilds(w http.ResponseWriter, r *http.Request, _ PackID, params ListBuildsParams)

ListBuilds implements the v1.ServerInterface.

func (*API) ListFabricBuilds

func (a *API) ListFabricBuilds(w http.ResponseWriter, r *http.Request, _ FabricID, params ListFabricBuildsParams)

ListFabricBuilds implements the v1.ServerInterface.

func (*API) ListFabrics

func (a *API) ListFabrics(w http.ResponseWriter, r *http.Request, params ListFabricsParams)

ListFabrics implements the v1.ServerInterface.

func (*API) ListForgeBuilds

func (a *API) ListForgeBuilds(w http.ResponseWriter, r *http.Request, _ ForgeID, params ListForgeBuildsParams)

ListForgeBuilds implements the v1.ServerInterface.

func (*API) ListForges

func (a *API) ListForges(w http.ResponseWriter, r *http.Request, params ListForgesParams)

ListForges implements the v1.ServerInterface.

func (*API) ListGroupMods

func (a *API) ListGroupMods(w http.ResponseWriter, r *http.Request, _ GroupID, params ListGroupModsParams)

ListGroupMods implements the v1.ServerInterface.

func (*API) ListGroupPacks

func (a *API) ListGroupPacks(w http.ResponseWriter, r *http.Request, _ GroupID, params ListGroupPacksParams)

ListGroupPacks implements the v1.ServerInterface.

func (*API) ListGroupUsers

func (a *API) ListGroupUsers(w http.ResponseWriter, r *http.Request, _ GroupID, params ListGroupUsersParams)

ListGroupUsers implements the v1.ServerInterface.

func (*API) ListGroups

func (a *API) ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)

ListGroups implements the v1.ServerInterface.

func (*API) ListMinecraftBuilds

func (a *API) ListMinecraftBuilds(w http.ResponseWriter, r *http.Request, _ MinecraftID, params ListMinecraftBuildsParams)

ListMinecraftBuilds implements the v1.ServerInterface.

func (*API) ListMinecrafts

func (a *API) ListMinecrafts(w http.ResponseWriter, r *http.Request, params ListMinecraftsParams)

ListMinecrafts implements the v1.ServerInterface.

func (*API) ListModGroups

func (a *API) ListModGroups(w http.ResponseWriter, r *http.Request, _ UserID, params ListModGroupsParams)

ListModGroups implements the v1.ServerInterface.

func (*API) ListModUsers

func (a *API) ListModUsers(w http.ResponseWriter, r *http.Request, _ UserID, params ListModUsersParams)

ListModUsers implements the v1.ServerInterface.

func (*API) ListMods

func (a *API) ListMods(w http.ResponseWriter, r *http.Request, params ListModsParams)

ListMods implements the v1.ServerInterface.

func (*API) ListNeoforgeBuilds

func (a *API) ListNeoforgeBuilds(w http.ResponseWriter, r *http.Request, _ NeoforgeID, params ListNeoforgeBuildsParams)

ListNeoforgeBuilds implements the v1.ServerInterface.

func (*API) ListNeoforges

func (a *API) ListNeoforges(w http.ResponseWriter, r *http.Request, params ListNeoforgesParams)

ListNeoforges implements the v1.ServerInterface.

func (*API) ListPackGroups

func (a *API) ListPackGroups(w http.ResponseWriter, r *http.Request, _ UserID, params ListPackGroupsParams)

ListPackGroups implements the v1.ServerInterface.

func (*API) ListPackUsers

func (a *API) ListPackUsers(w http.ResponseWriter, r *http.Request, _ UserID, params ListPackUsersParams)

ListPackUsers implements the v1.ServerInterface.

func (*API) ListPacks

func (a *API) ListPacks(w http.ResponseWriter, r *http.Request, params ListPacksParams)

ListPacks implements the v1.ServerInterface.

func (*API) ListProviders

func (a *API) ListProviders(w http.ResponseWriter, r *http.Request)

ListProviders implements the v1.ServerInterface.

func (*API) ListQuiltBuilds

func (a *API) ListQuiltBuilds(w http.ResponseWriter, r *http.Request, _ QuiltID, params ListQuiltBuildsParams)

ListQuiltBuilds implements the v1.ServerInterface.

func (*API) ListQuilts

func (a *API) ListQuilts(w http.ResponseWriter, r *http.Request, params ListQuiltsParams)

ListQuilts implements the v1.ServerInterface.

func (*API) ListUserGroups

func (a *API) ListUserGroups(w http.ResponseWriter, r *http.Request, _ UserID, params ListUserGroupsParams)

ListUserGroups implements the v1.ServerInterface.

func (*API) ListUserMods

func (a *API) ListUserMods(w http.ResponseWriter, r *http.Request, _ UserID, params ListUserModsParams)

ListUserMods implements the v1.ServerInterface.

func (*API) ListUserPacks

func (a *API) ListUserPacks(w http.ResponseWriter, r *http.Request, _ UserID, params ListUserPacksParams)

ListUserPacks implements the v1.ServerInterface.

func (*API) ListUsers

func (a *API) ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)

ListUsers implements the v1.ServerInterface.

func (*API) ListVersionBuilds

func (a *API) ListVersionBuilds(w http.ResponseWriter, r *http.Request, _ ModID, _ VersionID, params ListVersionBuildsParams)

ListVersionBuilds implements the v1.ServerInterface.

func (*API) ListVersions

func (a *API) ListVersions(w http.ResponseWriter, r *http.Request, _ ModID, params ListVersionsParams)

ListVersions implements the v1.ServerInterface.

func (*API) LoginAuth

func (a *API) LoginAuth(w http.ResponseWriter, r *http.Request)

LoginAuth implements the v1.ServerInterface.

func (*API) MinecraftFromContext

func (a *API) MinecraftFromContext(ctx context.Context) *model.Minecraft

MinecraftFromContext is used to get the requested minecraft from the context.

func (*API) MinecraftToContext

func (a *API) MinecraftToContext(next http.Handler) http.Handler

MinecraftToContext is used to put the requested minecraft into the context.

func (*API) ModFromContext

func (a *API) ModFromContext(ctx context.Context) *model.Mod

ModFromContext is used to get the requested mod from the context.

func (*API) ModToContext

func (a *API) ModToContext(next http.Handler) http.Handler

ModToContext is used to put the requested mod into the context.

func (*API) NeoforgeFromContext

func (a *API) NeoforgeFromContext(ctx context.Context) *model.Neoforge

NeoforgeFromContext is used to get the requested neoforge from the context.

func (*API) NeoforgeToContext

func (a *API) NeoforgeToContext(next http.Handler) http.Handler

NeoforgeToContext is used to put the requested neoforge into the context.

func (*API) PackFromContext

func (a *API) PackFromContext(ctx context.Context) *model.Pack

PackFromContext is used to get the requested pack from the context.

func (*API) PackToContext

func (a *API) PackToContext(next http.Handler) http.Handler

PackToContext is used to put the requested pack into the context.

func (*API) PermitGroupMod

func (a *API) PermitGroupMod(w http.ResponseWriter, r *http.Request, _ GroupID)

PermitGroupMod implements the v1.ServerInterface.

func (*API) PermitGroupPack

func (a *API) PermitGroupPack(w http.ResponseWriter, r *http.Request, _ GroupID)

PermitGroupPack implements the v1.ServerInterface.

func (*API) PermitGroupUser

func (a *API) PermitGroupUser(w http.ResponseWriter, r *http.Request, _ GroupID)

PermitGroupUser implements the v1.ServerInterface.

func (*API) PermitModGroup

func (a *API) PermitModGroup(w http.ResponseWriter, r *http.Request, _ UserID)

PermitModGroup implements the v1.ServerInterface.

func (*API) PermitModUser

func (a *API) PermitModUser(w http.ResponseWriter, r *http.Request, _ UserID)

PermitModUser implements the v1.ServerInterface.

func (*API) PermitPackGroup

func (a *API) PermitPackGroup(w http.ResponseWriter, r *http.Request, _ UserID)

PermitPackGroup implements the v1.ServerInterface.

func (*API) PermitPackUser

func (a *API) PermitPackUser(w http.ResponseWriter, r *http.Request, _ UserID)

PermitPackUser implements the v1.ServerInterface.

func (*API) PermitUserGroup

func (a *API) PermitUserGroup(w http.ResponseWriter, r *http.Request, _ UserID)

PermitUserGroup implements the v1.ServerInterface.

func (*API) PermitUserMod

func (a *API) PermitUserMod(w http.ResponseWriter, r *http.Request, _ UserID)

PermitUserMod implements the v1.ServerInterface.

func (*API) PermitUserPack

func (a *API) PermitUserPack(w http.ResponseWriter, r *http.Request, _ UserID)

PermitUserPack implements the v1.ServerInterface.

func (*API) QuiltFromContext

func (a *API) QuiltFromContext(ctx context.Context) *model.Quilt

QuiltFromContext is used to get the requested quilt from the context.

func (*API) QuiltToContext

func (a *API) QuiltToContext(next http.Handler) http.Handler

QuiltToContext is used to put the requested quilt into the context.

func (*API) RedirectAuth

func (a *API) RedirectAuth(w http.ResponseWriter, r *http.Request)

RedirectAuth implements the v1.ServerInterface.

func (*API) RefreshAuth

func (a *API) RefreshAuth(w http.ResponseWriter, r *http.Request)

RefreshAuth implements the v1.ServerInterface.

func (*API) RenderNotify

func (a *API) RenderNotify(w http.ResponseWriter, r *http.Request, notify Notification)

RenderNotify is a helper to set a correct status for notifications.

func (*API) RequestProvider

func (a *API) RequestProvider(w http.ResponseWriter, r *http.Request, providerParam AuthProviderParam)

RequestProvider implements the v1.ServerInterface.

func (*API) ShowBuild

func (a *API) ShowBuild(w http.ResponseWriter, r *http.Request, _ PackID, _ BuildID)

ShowBuild implements the v1.ServerInterface.

func (*API) ShowGroup

func (a *API) ShowGroup(w http.ResponseWriter, r *http.Request, _ GroupID)

ShowGroup implements the v1.ServerInterface.

func (*API) ShowMod

func (a *API) ShowMod(w http.ResponseWriter, r *http.Request, _ ModID)

ShowMod implements the v1.ServerInterface.

func (*API) ShowPack

func (a *API) ShowPack(w http.ResponseWriter, r *http.Request, _ PackID)

ShowPack implements the v1.ServerInterface.

func (*API) ShowProfile

func (a *API) ShowProfile(w http.ResponseWriter, r *http.Request)

ShowProfile implements the v1.ServerInterface.

func (*API) ShowUser

func (a *API) ShowUser(w http.ResponseWriter, r *http.Request, _ UserID)

ShowUser implements the v1.ServerInterface.

func (*API) ShowVersion

func (a *API) ShowVersion(w http.ResponseWriter, r *http.Request, _ ModID, _ VersionID)

ShowVersion implements the v1.ServerInterface.

func (*API) TokenProfile

func (a *API) TokenProfile(w http.ResponseWriter, r *http.Request)

TokenProfile implements the v1.ServerInterface.

func (*API) UpdateBuild

func (a *API) UpdateBuild(w http.ResponseWriter, r *http.Request, _ PackID, _ BuildID)

UpdateBuild implements the v1.ServerInterface.

func (*API) UpdateFabric

func (a *API) UpdateFabric(w http.ResponseWriter, r *http.Request)

UpdateFabric implements the v1.ServerInterface.

func (*API) UpdateForge

func (a *API) UpdateForge(w http.ResponseWriter, r *http.Request)

UpdateForge implements the v1.ServerInterface.

func (*API) UpdateGroup

func (a *API) UpdateGroup(w http.ResponseWriter, r *http.Request, _ GroupID)

UpdateGroup implements the v1.ServerInterface.

func (*API) UpdateMinecraft

func (a *API) UpdateMinecraft(w http.ResponseWriter, r *http.Request)

UpdateMinecraft implements the v1.ServerInterface.

func (*API) UpdateMod

func (a *API) UpdateMod(w http.ResponseWriter, r *http.Request, _ UserID)

UpdateMod implements the v1.ServerInterface.

func (*API) UpdateNeoforge

func (a *API) UpdateNeoforge(w http.ResponseWriter, r *http.Request)

UpdateNeoforge implements the v1.ServerInterface.

func (*API) UpdatePack

func (a *API) UpdatePack(w http.ResponseWriter, r *http.Request, _ PackID)

UpdatePack implements the v1.ServerInterface.

func (*API) UpdateProfile

func (a *API) UpdateProfile(w http.ResponseWriter, r *http.Request)

UpdateProfile implements the v1.ServerInterface.

func (*API) UpdateQuilt

func (a *API) UpdateQuilt(w http.ResponseWriter, r *http.Request)

UpdateQuilt implements the v1.ServerInterface.

func (*API) UpdateUser

func (a *API) UpdateUser(w http.ResponseWriter, r *http.Request, _ UserID)

UpdateUser implements the v1.ServerInterface.

func (*API) UpdateVersion

func (a *API) UpdateVersion(w http.ResponseWriter, r *http.Request, _ ModID, _ VersionID)

UpdateVersion implements the v1.ServerInterface.

func (*API) UserFromContext

func (a *API) UserFromContext(ctx context.Context) *model.User

UserFromContext is used to get the requested user from the context.

func (*API) UserToContext

func (a *API) UserToContext(next http.Handler) http.Handler

UserToContext is used to put the requested user into the context.

func (*API) VerifyAuth

func (a *API) VerifyAuth(w http.ResponseWriter, r *http.Request)

VerifyAuth implements the v1.ServerInterface.

func (*API) VersionFromContext

func (a *API) VersionFromContext(ctx context.Context) *model.Version

VersionFromContext is used to get the requested version from the context.

func (*API) VersionToContext

func (a *API) VersionToContext(next http.Handler) http.Handler

VersionToContext is used to put the requested version into the context.

type ActionFailedError

type ActionFailedError = Notification

ActionFailedError Generic response for errors and validations

type AlreadyAttachedError

type AlreadyAttachedError = Notification

AlreadyAttachedError Generic response for errors and validations

type AttachBuildToVersionJSONBody

type AttachBuildToVersionJSONBody struct {
	Mod     string `json:"mod,omitempty"`
	Version string `json:"version,omitempty"`
}

AttachBuildToVersionJSONBody defines parameters for AttachBuildToVersion.

type AttachBuildToVersionJSONRequestBody

type AttachBuildToVersionJSONRequestBody AttachBuildToVersionJSONBody

AttachBuildToVersionJSONRequestBody defines body for AttachBuildToVersion for application/json ContentType.

type AttachFabricToBuildJSONBody

type AttachFabricToBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

AttachFabricToBuildJSONBody defines parameters for AttachFabricToBuild.

type AttachFabricToBuildJSONRequestBody

type AttachFabricToBuildJSONRequestBody AttachFabricToBuildJSONBody

AttachFabricToBuildJSONRequestBody defines body for AttachFabricToBuild for application/json ContentType.

type AttachForgeToBuildJSONBody

type AttachForgeToBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

AttachForgeToBuildJSONBody defines parameters for AttachForgeToBuild.

type AttachForgeToBuildJSONRequestBody

type AttachForgeToBuildJSONRequestBody AttachForgeToBuildJSONBody

AttachForgeToBuildJSONRequestBody defines body for AttachForgeToBuild for application/json ContentType.

type AttachGroupToModJSONBody

type AttachGroupToModJSONBody struct {
	Mod  string `json:"mod"`
	Perm string `json:"perm"`
}

AttachGroupToModJSONBody defines parameters for AttachGroupToMod.

type AttachGroupToModJSONRequestBody

type AttachGroupToModJSONRequestBody AttachGroupToModJSONBody

AttachGroupToModJSONRequestBody defines body for AttachGroupToMod for application/json ContentType.

type AttachGroupToPackJSONBody

type AttachGroupToPackJSONBody struct {
	Pack string `json:"pack"`
	Perm string `json:"perm"`
}

AttachGroupToPackJSONBody defines parameters for AttachGroupToPack.

type AttachGroupToPackJSONRequestBody

type AttachGroupToPackJSONRequestBody AttachGroupToPackJSONBody

AttachGroupToPackJSONRequestBody defines body for AttachGroupToPack for application/json ContentType.

type AttachGroupToUserJSONBody

type AttachGroupToUserJSONBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

AttachGroupToUserJSONBody defines parameters for AttachGroupToUser.

type AttachGroupToUserJSONRequestBody

type AttachGroupToUserJSONRequestBody AttachGroupToUserJSONBody

AttachGroupToUserJSONRequestBody defines body for AttachGroupToUser for application/json ContentType.

type AttachMinecraftToBuildJSONBody

type AttachMinecraftToBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

AttachMinecraftToBuildJSONBody defines parameters for AttachMinecraftToBuild.

type AttachMinecraftToBuildJSONRequestBody

type AttachMinecraftToBuildJSONRequestBody AttachMinecraftToBuildJSONBody

AttachMinecraftToBuildJSONRequestBody defines body for AttachMinecraftToBuild for application/json ContentType.

type AttachModToGroupJSONBody

type AttachModToGroupJSONBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

AttachModToGroupJSONBody defines parameters for AttachModToGroup.

type AttachModToGroupJSONRequestBody

type AttachModToGroupJSONRequestBody AttachModToGroupJSONBody

AttachModToGroupJSONRequestBody defines body for AttachModToGroup for application/json ContentType.

type AttachModToUserJSONBody

type AttachModToUserJSONBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

AttachModToUserJSONBody defines parameters for AttachModToUser.

type AttachModToUserJSONRequestBody

type AttachModToUserJSONRequestBody AttachModToUserJSONBody

AttachModToUserJSONRequestBody defines body for AttachModToUser for application/json ContentType.

type AttachNeoforgeToBuildJSONBody

type AttachNeoforgeToBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

AttachNeoforgeToBuildJSONBody defines parameters for AttachNeoforgeToBuild.

type AttachNeoforgeToBuildJSONRequestBody

type AttachNeoforgeToBuildJSONRequestBody AttachNeoforgeToBuildJSONBody

AttachNeoforgeToBuildJSONRequestBody defines body for AttachNeoforgeToBuild for application/json ContentType.

type AttachPackToGroupJSONBody

type AttachPackToGroupJSONBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

AttachPackToGroupJSONBody defines parameters for AttachPackToGroup.

type AttachPackToGroupJSONRequestBody

type AttachPackToGroupJSONRequestBody AttachPackToGroupJSONBody

AttachPackToGroupJSONRequestBody defines body for AttachPackToGroup for application/json ContentType.

type AttachPackToUserJSONBody

type AttachPackToUserJSONBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

AttachPackToUserJSONBody defines parameters for AttachPackToUser.

type AttachPackToUserJSONRequestBody

type AttachPackToUserJSONRequestBody AttachPackToUserJSONBody

AttachPackToUserJSONRequestBody defines body for AttachPackToUser for application/json ContentType.

type AttachQuiltToBuildJSONBody

type AttachQuiltToBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

AttachQuiltToBuildJSONBody defines parameters for AttachQuiltToBuild.

type AttachQuiltToBuildJSONRequestBody

type AttachQuiltToBuildJSONRequestBody AttachQuiltToBuildJSONBody

AttachQuiltToBuildJSONRequestBody defines body for AttachQuiltToBuild for application/json ContentType.

type AttachUserToGroupJSONBody

type AttachUserToGroupJSONBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

AttachUserToGroupJSONBody defines parameters for AttachUserToGroup.

type AttachUserToGroupJSONRequestBody

type AttachUserToGroupJSONRequestBody AttachUserToGroupJSONBody

AttachUserToGroupJSONRequestBody defines body for AttachUserToGroup for application/json ContentType.

type AttachUserToModJSONBody

type AttachUserToModJSONBody struct {
	Mod  string `json:"mod"`
	Perm string `json:"perm"`
}

AttachUserToModJSONBody defines parameters for AttachUserToMod.

type AttachUserToModJSONRequestBody

type AttachUserToModJSONRequestBody AttachUserToModJSONBody

AttachUserToModJSONRequestBody defines body for AttachUserToMod for application/json ContentType.

type AttachUserToPackJSONBody

type AttachUserToPackJSONBody struct {
	Pack string `json:"pack"`
	Perm string `json:"perm"`
}

AttachUserToPackJSONBody defines parameters for AttachUserToPack.

type AttachUserToPackJSONRequestBody

type AttachUserToPackJSONRequestBody AttachUserToPackJSONBody

AttachUserToPackJSONRequestBody defines body for AttachUserToPack for application/json ContentType.

type AttachVersionToBuildJSONBody

type AttachVersionToBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

AttachVersionToBuildJSONBody defines parameters for AttachVersionToBuild.

type AttachVersionToBuildJSONRequestBody

type AttachVersionToBuildJSONRequestBody AttachVersionToBuildJSONBody

AttachVersionToBuildJSONRequestBody defines body for AttachVersionToBuild for application/json ContentType.

type AuthCodeParam

type AuthCodeParam = string

AuthCodeParam defines model for AuthCodeParam.

type AuthProviderParam

type AuthProviderParam = string

AuthProviderParam defines model for AuthProviderParam.

type AuthStateParam

type AuthStateParam = string

AuthStateParam defines model for AuthStateParam.

type AuthToken

type AuthToken struct {
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	Token     *string    `json:"token,omitempty"`
}

AuthToken defines model for AuthToken.

type AuthVerify

type AuthVerify struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Username  *string    `json:"username,omitempty"`
}

AuthVerify defines model for AuthVerify.

type BadCredentialsError

type BadCredentialsError = Notification

BadCredentialsError Generic response for errors and validations

type BadRequestError

type BadRequestError = Notification

BadRequestError Generic response for errors and validations

type Build

type Build struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Fabric Model to represent fabric
	Fabric   *Fabric `json:"fabric,omitempty"`
	FabricID *string `json:"fabric_id,omitempty"`

	// Forge Model to represent forge
	Forge   *Forge  `json:"forge,omitempty"`
	ForgeID *string `json:"forge_id,omitempty"`
	ID      *string `json:"id,omitempty"`
	Java    *string `json:"java,omitempty"`
	Latest  *bool   `json:"latest,omitempty"`
	Memory  *string `json:"memory,omitempty"`

	// Minecraft Model to represent minecraft
	Minecraft   *Minecraft `json:"minecraft,omitempty"`
	MinecraftID *string    `json:"minecraft_id,omitempty"`
	Name        *string    `json:"name,omitempty"`

	// Neoforge Model to represent neoforge
	Neoforge   *Neoforge `json:"neoforge,omitempty"`
	NeoforgeID *string   `json:"neoforge_id,omitempty"`

	// Pack Model to represent pack
	Pack   *Pack `json:"pack,omitempty"`
	Public *bool `json:"public,omitempty"`

	// Quilt Model to represent quilt
	Quilt       *Quilt     `json:"quilt,omitempty"`
	QuiltID     *string    `json:"quilt_id,omitempty"`
	Recommended *bool      `json:"recommended,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
}

Build Model to represent build

type BuildID

type BuildID = string

BuildID defines model for BuildParam.

type BuildResponse

type BuildResponse = Build

BuildResponse Model to represent build

type BuildVersion

type BuildVersion struct {
	// Build Model to represent build
	Build     *Build     `json:"build,omitempty"`
	BuildID   string     `json:"build_id"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Version Model to represent version
	Version   *Version `json:"version,omitempty"`
	VersionID string   `json:"version_id"`
}

BuildVersion Model to represent build version

type BuildVersionBody

type BuildVersionBody struct {
	Mod     string `json:"mod,omitempty"`
	Version string `json:"version,omitempty"`
}

BuildVersionBody defines model for BuildVersionBody.

type BuildVersionsResponse

type BuildVersionsResponse struct {
	// Build Model to represent build
	Build  *Build `json:"build,omitempty"`
	Limit  int64  `json:"limit"`
	Offset int64  `json:"offset"`

	// Pack Model to represent pack
	Pack     *Pack          `json:"pack,omitempty"`
	Total    int64          `json:"total"`
	Versions []BuildVersion `json:"versions"`
}

BuildVersionsResponse defines model for BuildVersionsResponse.

type BuildsResponse

type BuildsResponse struct {
	Builds []Build `json:"builds"`
	Limit  int64   `json:"limit"`
	Offset int64   `json:"offset"`

	// Pack Model to represent pack
	Pack  *Pack `json:"pack,omitempty"`
	Total int64 `json:"total"`
}

BuildsResponse defines model for BuildsResponse.

type CallbackProviderParams

type CallbackProviderParams struct {
	// State Auth state
	State *AuthStateParam `form:"state,omitempty" json:"state,omitempty"`

	// Code Auth code
	Code *AuthCodeParam `form:"code,omitempty" json:"code,omitempty"`
}

CallbackProviderParams defines parameters for CallbackProvider.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type CreateBuildBody

type CreateBuildBody struct {
	FabricID    *string `json:"fabric_id,omitempty"`
	ForgeID     *string `json:"forge_id,omitempty"`
	Java        *string `json:"java,omitempty"`
	Latest      *bool   `json:"latest,omitempty"`
	Memory      *string `json:"memory,omitempty"`
	MinecraftID *string `json:"minecraft_id,omitempty"`
	Name        *string `json:"name,omitempty"`
	NeoforgeID  *string `json:"neoforge_id,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	QuiltID     *string `json:"quilt_id,omitempty"`
	Recommended *bool   `json:"recommended,omitempty"`
}

CreateBuildBody defines model for CreateBuildBody.

type CreateBuildJSONBody

type CreateBuildJSONBody struct {
	FabricID    *string `json:"fabric_id,omitempty"`
	ForgeID     *string `json:"forge_id,omitempty"`
	Java        *string `json:"java,omitempty"`
	Latest      *bool   `json:"latest,omitempty"`
	Memory      *string `json:"memory,omitempty"`
	MinecraftID *string `json:"minecraft_id,omitempty"`
	Name        *string `json:"name,omitempty"`
	NeoforgeID  *string `json:"neoforge_id,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	QuiltID     *string `json:"quilt_id,omitempty"`
	Recommended *bool   `json:"recommended,omitempty"`
}

CreateBuildJSONBody defines parameters for CreateBuild.

type CreateBuildJSONRequestBody

type CreateBuildJSONRequestBody CreateBuildJSONBody

CreateBuildJSONRequestBody defines body for CreateBuild for application/json ContentType.

type CreateGroupBody

type CreateGroupBody struct {
	Name *string `json:"name,omitempty"`
	Slug *string `json:"slug,omitempty"`
}

CreateGroupBody defines model for CreateGroupBody.

type CreateGroupJSONBody

type CreateGroupJSONBody struct {
	Name *string `json:"name,omitempty"`
	Slug *string `json:"slug,omitempty"`
}

CreateGroupJSONBody defines parameters for CreateGroup.

type CreateGroupJSONRequestBody

type CreateGroupJSONRequestBody CreateGroupJSONBody

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateModAvatarMultipartBody

type CreateModAvatarMultipartBody struct {
	File *openapi_types.File `json:"file,omitempty"`
}

CreateModAvatarMultipartBody defines parameters for CreateModAvatar.

type CreateModAvatarMultipartRequestBody

type CreateModAvatarMultipartRequestBody CreateModAvatarMultipartBody

CreateModAvatarMultipartRequestBody defines body for CreateModAvatar for multipart/form-data ContentType.

type CreateModBody

type CreateModBody struct {
	Author      *string `json:"author,omitempty"`
	Description *string `json:"description,omitempty"`
	Donate      *string `json:"donate,omitempty"`
	Name        *string `json:"name,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	Side        *string `json:"side,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	Website     *string `json:"website,omitempty"`
}

CreateModBody defines model for CreateModBody.

type CreateModJSONBody

type CreateModJSONBody struct {
	Author      *string `json:"author,omitempty"`
	Description *string `json:"description,omitempty"`
	Donate      *string `json:"donate,omitempty"`
	Name        *string `json:"name,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	Side        *string `json:"side,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	Website     *string `json:"website,omitempty"`
}

CreateModJSONBody defines parameters for CreateMod.

type CreateModJSONRequestBody

type CreateModJSONRequestBody CreateModJSONBody

CreateModJSONRequestBody defines body for CreateMod for application/json ContentType.

type CreatePackAvatarMultipartBody

type CreatePackAvatarMultipartBody struct {
	File *openapi_types.File `json:"file,omitempty"`
}

CreatePackAvatarMultipartBody defines parameters for CreatePackAvatar.

type CreatePackAvatarMultipartRequestBody

type CreatePackAvatarMultipartRequestBody CreatePackAvatarMultipartBody

CreatePackAvatarMultipartRequestBody defines body for CreatePackAvatar for multipart/form-data ContentType.

type CreatePackBody

type CreatePackBody struct {
	Name    *string `json:"name,omitempty"`
	Public  *bool   `json:"public,omitempty"`
	Slug    *string `json:"slug,omitempty"`
	Website *string `json:"website,omitempty"`
}

CreatePackBody defines model for CreatePackBody.

type CreatePackJSONBody

type CreatePackJSONBody struct {
	Name    *string `json:"name,omitempty"`
	Public  *bool   `json:"public,omitempty"`
	Slug    *string `json:"slug,omitempty"`
	Website *string `json:"website,omitempty"`
}

CreatePackJSONBody defines parameters for CreatePack.

type CreatePackJSONRequestBody

type CreatePackJSONRequestBody CreatePackJSONBody

CreatePackJSONRequestBody defines body for CreatePack for application/json ContentType.

type CreateUserBody

type CreateUserBody struct {
	Active   *bool   `json:"active,omitempty"`
	Admin    *bool   `json:"admin,omitempty"`
	Email    *string `json:"email,omitempty"`
	Fullname *string `json:"fullname,omitempty"`
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`
}

CreateUserBody defines model for CreateUserBody.

type CreateUserJSONBody

type CreateUserJSONBody struct {
	Active   *bool   `json:"active,omitempty"`
	Admin    *bool   `json:"admin,omitempty"`
	Email    *string `json:"email,omitempty"`
	Fullname *string `json:"fullname,omitempty"`
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`
}

CreateUserJSONBody defines parameters for CreateUser.

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody CreateUserJSONBody

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateVersionBody

type CreateVersionBody struct {
	Name   *string `json:"name,omitempty"`
	Public *bool   `json:"public,omitempty"`
	Upload *string `json:"upload,omitempty"`
}

CreateVersionBody defines model for CreateVersionBody.

type CreateVersionJSONBody

type CreateVersionJSONBody struct {
	Name   *string `json:"name,omitempty"`
	Public *bool   `json:"public,omitempty"`
	Upload *string `json:"upload,omitempty"`
}

CreateVersionJSONBody defines parameters for CreateVersion.

type CreateVersionJSONRequestBody

type CreateVersionJSONRequestBody CreateVersionJSONBody

CreateVersionJSONRequestBody defines body for CreateVersion for application/json ContentType.

type DeleteBuildFromVersionJSONBody

type DeleteBuildFromVersionJSONBody struct {
	Mod     string `json:"mod,omitempty"`
	Version string `json:"version,omitempty"`
}

DeleteBuildFromVersionJSONBody defines parameters for DeleteBuildFromVersion.

type DeleteBuildFromVersionJSONRequestBody

type DeleteBuildFromVersionJSONRequestBody DeleteBuildFromVersionJSONBody

DeleteBuildFromVersionJSONRequestBody defines body for DeleteBuildFromVersion for application/json ContentType.

type DeleteFabricFromBuildJSONBody

type DeleteFabricFromBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

DeleteFabricFromBuildJSONBody defines parameters for DeleteFabricFromBuild.

type DeleteFabricFromBuildJSONRequestBody

type DeleteFabricFromBuildJSONRequestBody DeleteFabricFromBuildJSONBody

DeleteFabricFromBuildJSONRequestBody defines body for DeleteFabricFromBuild for application/json ContentType.

type DeleteForgeFromBuildJSONBody

type DeleteForgeFromBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

DeleteForgeFromBuildJSONBody defines parameters for DeleteForgeFromBuild.

type DeleteForgeFromBuildJSONRequestBody

type DeleteForgeFromBuildJSONRequestBody DeleteForgeFromBuildJSONBody

DeleteForgeFromBuildJSONRequestBody defines body for DeleteForgeFromBuild for application/json ContentType.

type DeleteGroupFromModJSONBody

type DeleteGroupFromModJSONBody struct {
	Mod string `json:"mod"`
}

DeleteGroupFromModJSONBody defines parameters for DeleteGroupFromMod.

type DeleteGroupFromModJSONRequestBody

type DeleteGroupFromModJSONRequestBody DeleteGroupFromModJSONBody

DeleteGroupFromModJSONRequestBody defines body for DeleteGroupFromMod for application/json ContentType.

type DeleteGroupFromPackJSONBody

type DeleteGroupFromPackJSONBody struct {
	Pack string `json:"pack"`
}

DeleteGroupFromPackJSONBody defines parameters for DeleteGroupFromPack.

type DeleteGroupFromPackJSONRequestBody

type DeleteGroupFromPackJSONRequestBody DeleteGroupFromPackJSONBody

DeleteGroupFromPackJSONRequestBody defines body for DeleteGroupFromPack for application/json ContentType.

type DeleteGroupFromUserJSONBody

type DeleteGroupFromUserJSONBody struct {
	User string `json:"user"`
}

DeleteGroupFromUserJSONBody defines parameters for DeleteGroupFromUser.

type DeleteGroupFromUserJSONRequestBody

type DeleteGroupFromUserJSONRequestBody DeleteGroupFromUserJSONBody

DeleteGroupFromUserJSONRequestBody defines body for DeleteGroupFromUser for application/json ContentType.

type DeleteMinecraftFromBuildJSONBody

type DeleteMinecraftFromBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

DeleteMinecraftFromBuildJSONBody defines parameters for DeleteMinecraftFromBuild.

type DeleteMinecraftFromBuildJSONRequestBody

type DeleteMinecraftFromBuildJSONRequestBody DeleteMinecraftFromBuildJSONBody

DeleteMinecraftFromBuildJSONRequestBody defines body for DeleteMinecraftFromBuild for application/json ContentType.

type DeleteModFromGroupJSONBody

type DeleteModFromGroupJSONBody struct {
	Group string `json:"group"`
}

DeleteModFromGroupJSONBody defines parameters for DeleteModFromGroup.

type DeleteModFromGroupJSONRequestBody

type DeleteModFromGroupJSONRequestBody DeleteModFromGroupJSONBody

DeleteModFromGroupJSONRequestBody defines body for DeleteModFromGroup for application/json ContentType.

type DeleteModFromUserJSONBody

type DeleteModFromUserJSONBody struct {
	User string `json:"user"`
}

DeleteModFromUserJSONBody defines parameters for DeleteModFromUser.

type DeleteModFromUserJSONRequestBody

type DeleteModFromUserJSONRequestBody DeleteModFromUserJSONBody

DeleteModFromUserJSONRequestBody defines body for DeleteModFromUser for application/json ContentType.

type DeleteNeoforgeFromBuildJSONBody

type DeleteNeoforgeFromBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

DeleteNeoforgeFromBuildJSONBody defines parameters for DeleteNeoforgeFromBuild.

type DeleteNeoforgeFromBuildJSONRequestBody

type DeleteNeoforgeFromBuildJSONRequestBody DeleteNeoforgeFromBuildJSONBody

DeleteNeoforgeFromBuildJSONRequestBody defines body for DeleteNeoforgeFromBuild for application/json ContentType.

type DeletePackFromGroupJSONBody

type DeletePackFromGroupJSONBody struct {
	Group string `json:"group"`
}

DeletePackFromGroupJSONBody defines parameters for DeletePackFromGroup.

type DeletePackFromGroupJSONRequestBody

type DeletePackFromGroupJSONRequestBody DeletePackFromGroupJSONBody

DeletePackFromGroupJSONRequestBody defines body for DeletePackFromGroup for application/json ContentType.

type DeletePackFromUserJSONBody

type DeletePackFromUserJSONBody struct {
	User string `json:"user"`
}

DeletePackFromUserJSONBody defines parameters for DeletePackFromUser.

type DeletePackFromUserJSONRequestBody

type DeletePackFromUserJSONRequestBody DeletePackFromUserJSONBody

DeletePackFromUserJSONRequestBody defines body for DeletePackFromUser for application/json ContentType.

type DeleteQuiltFromBuildJSONBody

type DeleteQuiltFromBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

DeleteQuiltFromBuildJSONBody defines parameters for DeleteQuiltFromBuild.

type DeleteQuiltFromBuildJSONRequestBody

type DeleteQuiltFromBuildJSONRequestBody DeleteQuiltFromBuildJSONBody

DeleteQuiltFromBuildJSONRequestBody defines body for DeleteQuiltFromBuild for application/json ContentType.

type DeleteUserFromGroupJSONBody

type DeleteUserFromGroupJSONBody struct {
	Group string `json:"group"`
}

DeleteUserFromGroupJSONBody defines parameters for DeleteUserFromGroup.

type DeleteUserFromGroupJSONRequestBody

type DeleteUserFromGroupJSONRequestBody DeleteUserFromGroupJSONBody

DeleteUserFromGroupJSONRequestBody defines body for DeleteUserFromGroup for application/json ContentType.

type DeleteUserFromModJSONBody

type DeleteUserFromModJSONBody struct {
	Mod string `json:"mod"`
}

DeleteUserFromModJSONBody defines parameters for DeleteUserFromMod.

type DeleteUserFromModJSONRequestBody

type DeleteUserFromModJSONRequestBody DeleteUserFromModJSONBody

DeleteUserFromModJSONRequestBody defines body for DeleteUserFromMod for application/json ContentType.

type DeleteUserFromPackJSONBody

type DeleteUserFromPackJSONBody struct {
	Pack string `json:"pack"`
}

DeleteUserFromPackJSONBody defines parameters for DeleteUserFromPack.

type DeleteUserFromPackJSONRequestBody

type DeleteUserFromPackJSONRequestBody DeleteUserFromPackJSONBody

DeleteUserFromPackJSONRequestBody defines body for DeleteUserFromPack for application/json ContentType.

type DeleteVersionFromBuildJSONBody

type DeleteVersionFromBuildJSONBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

DeleteVersionFromBuildJSONBody defines parameters for DeleteVersionFromBuild.

type DeleteVersionFromBuildJSONRequestBody

type DeleteVersionFromBuildJSONRequestBody DeleteVersionFromBuildJSONBody

DeleteVersionFromBuildJSONRequestBody defines body for DeleteVersionFromBuild for application/json ContentType.

type Fabric

type Fabric struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Fabric Model to represent fabric

type FabricBuildBody

type FabricBuildBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

FabricBuildBody defines model for FabricBuildBody.

type FabricBuildsResponse

type FabricBuildsResponse struct {
	Builds []Build `json:"builds"`

	// Fabric Model to represent fabric
	Fabric *Fabric `json:"fabric,omitempty"`
	Limit  int64   `json:"limit"`
	Offset int64   `json:"offset"`
	Total  int64   `json:"total"`
}

FabricBuildsResponse defines model for FabricBuildsResponse.

type FabricID

type FabricID = string

FabricID defines model for FabricParam.

type FabricsResponse

type FabricsResponse struct {
	Limit    int64    `json:"limit"`
	Offset   int64    `json:"offset"`
	Total    int64    `json:"total"`
	Versions []Fabric `json:"versions"`
}

FabricsResponse defines model for FabricsResponse.

type Forge

type Forge struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	ID        *string    `json:"id,omitempty"`
	Minecraft *string    `json:"minecraft,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Forge Model to represent forge

type ForgeBuildBody

type ForgeBuildBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

ForgeBuildBody defines model for ForgeBuildBody.

type ForgeBuildsResponse

type ForgeBuildsResponse struct {
	Builds []Build `json:"builds"`

	// Forge Model to represent forge
	Forge  *Forge `json:"forge,omitempty"`
	Limit  int64  `json:"limit"`
	Offset int64  `json:"offset"`
	Total  int64  `json:"total"`
}

ForgeBuildsResponse defines model for ForgeBuildsResponse.

type ForgeID

type ForgeID = string

ForgeID defines model for ForgeParam.

type ForgesResponse

type ForgesResponse struct {
	Limit    int64   `json:"limit"`
	Offset   int64   `json:"offset"`
	Total    int64   `json:"total"`
	Versions []Forge `json:"versions"`
}

ForgesResponse defines model for ForgesResponse.

type Group

type Group struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Slug      *string    `json:"slug,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Group Model to represent group

type GroupID

type GroupID = string

GroupID defines model for GroupParam.

type GroupMod

type GroupMod struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Group Model to represent group
	Group   *Group `json:"group,omitempty"`
	GroupID string `json:"group_id"`

	// Mod Model to represent mod
	Mod       *Mod          `json:"mod,omitempty"`
	ModID     string        `json:"mod_id"`
	Perm      *GroupModPerm `json:"perm,omitempty"`
	UpdatedAt *time.Time    `json:"updated_at,omitempty"`
}

GroupMod Model to represent group mod

type GroupModDropBody

type GroupModDropBody struct {
	Mod string `json:"mod"`
}

GroupModDropBody defines model for GroupModDropBody.

type GroupModPerm

type GroupModPerm string

GroupModPerm defines model for GroupMod.Perm.

const (
	GroupModPermAdmin GroupModPerm = "admin"
	GroupModPermOwner GroupModPerm = "owner"
	GroupModPermUser  GroupModPerm = "user"
)

Defines values for GroupModPerm.

type GroupModPermBody

type GroupModPermBody struct {
	Mod  string `json:"mod"`
	Perm string `json:"perm"`
}

GroupModPermBody defines model for GroupModPermBody.

type GroupModsResponse

type GroupModsResponse struct {
	// Group Model to represent group
	Group  *Group     `json:"group,omitempty"`
	Limit  int64      `json:"limit"`
	Mods   []GroupMod `json:"mods"`
	Offset int64      `json:"offset"`
	Total  int64      `json:"total"`
}

GroupModsResponse defines model for GroupModsResponse.

type GroupPack

type GroupPack struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Group Model to represent group
	Group   *Group `json:"group,omitempty"`
	GroupID string `json:"group_id"`

	// Pack Model to represent pack
	Pack      *Pack          `json:"pack,omitempty"`
	PackID    string         `json:"pack_id"`
	Perm      *GroupPackPerm `json:"perm,omitempty"`
	UpdatedAt *time.Time     `json:"updated_at,omitempty"`
}

GroupPack Model to represent group pack

type GroupPackDropBody

type GroupPackDropBody struct {
	Pack string `json:"pack"`
}

GroupPackDropBody defines model for GroupPackDropBody.

type GroupPackPerm

type GroupPackPerm string

GroupPackPerm defines model for GroupPack.Perm.

const (
	GroupPackPermAdmin GroupPackPerm = "admin"
	GroupPackPermOwner GroupPackPerm = "owner"
	GroupPackPermUser  GroupPackPerm = "user"
)

Defines values for GroupPackPerm.

type GroupPackPermBody

type GroupPackPermBody struct {
	Pack string `json:"pack"`
	Perm string `json:"perm"`
}

GroupPackPermBody defines model for GroupPackPermBody.

type GroupPacksResponse

type GroupPacksResponse struct {
	// Group Model to represent group
	Group  *Group      `json:"group,omitempty"`
	Limit  int64       `json:"limit"`
	Offset int64       `json:"offset"`
	Packs  []GroupPack `json:"packs"`
	Total  int64       `json:"total"`
}

GroupPacksResponse defines model for GroupPacksResponse.

type GroupResponse

type GroupResponse = Group

GroupResponse Model to represent group

type GroupUserDropBody

type GroupUserDropBody struct {
	User string `json:"user"`
}

GroupUserDropBody defines model for GroupUserDropBody.

type GroupUserPermBody

type GroupUserPermBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

GroupUserPermBody defines model for GroupUserPermBody.

type GroupUsersResponse

type GroupUsersResponse struct {
	// Group Model to represent group
	Group  *Group      `json:"group,omitempty"`
	Limit  int64       `json:"limit"`
	Offset int64       `json:"offset"`
	Total  int64       `json:"total"`
	Users  []UserGroup `json:"users"`
}

GroupUsersResponse defines model for GroupUsersResponse.

type GroupsResponse

type GroupsResponse struct {
	Groups []Group `json:"groups"`
	Limit  int64   `json:"limit"`
	Offset int64   `json:"offset"`
	Total  int64   `json:"total"`
}

GroupsResponse defines model for GroupsResponse.

type InternalServerError

type InternalServerError = Notification

InternalServerError Generic response for errors and validations

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type InvalidTokenError

type InvalidTokenError = Notification

InvalidTokenError Generic response for errors and validations

type ListBuildVersionsParams

type ListBuildVersionsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListBuildVersionsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListBuildVersionsParams defines parameters for ListBuildVersions.

type ListBuildVersionsParamsOrder

type ListBuildVersionsParamsOrder string

ListBuildVersionsParamsOrder defines parameters for ListBuildVersions.

const (
	ListBuildVersionsParamsOrderAsc  ListBuildVersionsParamsOrder = "asc"
	ListBuildVersionsParamsOrderDesc ListBuildVersionsParamsOrder = "desc"
)

Defines values for ListBuildVersionsParamsOrder.

type ListBuildsParams

type ListBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListBuildsParams defines parameters for ListBuilds.

type ListBuildsParamsOrder

type ListBuildsParamsOrder string

ListBuildsParamsOrder defines parameters for ListBuilds.

const (
	ListBuildsParamsOrderAsc  ListBuildsParamsOrder = "asc"
	ListBuildsParamsOrderDesc ListBuildsParamsOrder = "desc"
)

Defines values for ListBuildsParamsOrder.

type ListFabricBuildsParams

type ListFabricBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListFabricBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListFabricBuildsParams defines parameters for ListFabricBuilds.

type ListFabricBuildsParamsOrder

type ListFabricBuildsParamsOrder string

ListFabricBuildsParamsOrder defines parameters for ListFabricBuilds.

const (
	ListFabricBuildsParamsOrderAsc  ListFabricBuildsParamsOrder = "asc"
	ListFabricBuildsParamsOrderDesc ListFabricBuildsParamsOrder = "desc"
)

Defines values for ListFabricBuildsParamsOrder.

type ListFabricsParams

type ListFabricsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`
}

ListFabricsParams defines parameters for ListFabrics.

type ListForgeBuildsParams

type ListForgeBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListForgeBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListForgeBuildsParams defines parameters for ListForgeBuilds.

type ListForgeBuildsParamsOrder

type ListForgeBuildsParamsOrder string

ListForgeBuildsParamsOrder defines parameters for ListForgeBuilds.

const (
	ListForgeBuildsParamsOrderAsc  ListForgeBuildsParamsOrder = "asc"
	ListForgeBuildsParamsOrderDesc ListForgeBuildsParamsOrder = "desc"
)

Defines values for ListForgeBuildsParamsOrder.

type ListForgesParams

type ListForgesParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`
}

ListForgesParams defines parameters for ListForges.

type ListGroupModsParams

type ListGroupModsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListGroupModsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListGroupModsParams defines parameters for ListGroupMods.

type ListGroupModsParamsOrder

type ListGroupModsParamsOrder string

ListGroupModsParamsOrder defines parameters for ListGroupMods.

const (
	ListGroupModsParamsOrderAsc  ListGroupModsParamsOrder = "asc"
	ListGroupModsParamsOrderDesc ListGroupModsParamsOrder = "desc"
)

Defines values for ListGroupModsParamsOrder.

type ListGroupPacksParams

type ListGroupPacksParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListGroupPacksParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListGroupPacksParams defines parameters for ListGroupPacks.

type ListGroupPacksParamsOrder

type ListGroupPacksParamsOrder string

ListGroupPacksParamsOrder defines parameters for ListGroupPacks.

const (
	ListGroupPacksParamsOrderAsc  ListGroupPacksParamsOrder = "asc"
	ListGroupPacksParamsOrderDesc ListGroupPacksParamsOrder = "desc"
)

Defines values for ListGroupPacksParamsOrder.

type ListGroupUsersParams

type ListGroupUsersParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListGroupUsersParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListGroupUsersParams defines parameters for ListGroupUsers.

type ListGroupUsersParamsOrder

type ListGroupUsersParamsOrder string

ListGroupUsersParamsOrder defines parameters for ListGroupUsers.

const (
	ListGroupUsersParamsOrderAsc  ListGroupUsersParamsOrder = "asc"
	ListGroupUsersParamsOrderDesc ListGroupUsersParamsOrder = "desc"
)

Defines values for ListGroupUsersParamsOrder.

type ListGroupsParams

type ListGroupsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListGroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListGroupsParams defines parameters for ListGroups.

type ListGroupsParamsOrder

type ListGroupsParamsOrder string

ListGroupsParamsOrder defines parameters for ListGroups.

const (
	ListGroupsParamsOrderAsc  ListGroupsParamsOrder = "asc"
	ListGroupsParamsOrderDesc ListGroupsParamsOrder = "desc"
)

Defines values for ListGroupsParamsOrder.

type ListMinecraftBuildsParams

type ListMinecraftBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListMinecraftBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListMinecraftBuildsParams defines parameters for ListMinecraftBuilds.

type ListMinecraftBuildsParamsOrder

type ListMinecraftBuildsParamsOrder string

ListMinecraftBuildsParamsOrder defines parameters for ListMinecraftBuilds.

const (
	ListMinecraftBuildsParamsOrderAsc  ListMinecraftBuildsParamsOrder = "asc"
	ListMinecraftBuildsParamsOrderDesc ListMinecraftBuildsParamsOrder = "desc"
)

Defines values for ListMinecraftBuildsParamsOrder.

type ListMinecraftsParams

type ListMinecraftsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`
}

ListMinecraftsParams defines parameters for ListMinecrafts.

type ListModGroupsParams

type ListModGroupsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListModGroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListModGroupsParams defines parameters for ListModGroups.

type ListModGroupsParamsOrder

type ListModGroupsParamsOrder string

ListModGroupsParamsOrder defines parameters for ListModGroups.

const (
	ListModGroupsParamsOrderAsc  ListModGroupsParamsOrder = "asc"
	ListModGroupsParamsOrderDesc ListModGroupsParamsOrder = "desc"
)

Defines values for ListModGroupsParamsOrder.

type ListModUsersParams

type ListModUsersParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListModUsersParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListModUsersParams defines parameters for ListModUsers.

type ListModUsersParamsOrder

type ListModUsersParamsOrder string

ListModUsersParamsOrder defines parameters for ListModUsers.

const (
	ListModUsersParamsOrderAsc  ListModUsersParamsOrder = "asc"
	ListModUsersParamsOrderDesc ListModUsersParamsOrder = "desc"
)

Defines values for ListModUsersParamsOrder.

type ListModsParams

type ListModsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListModsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListModsParams defines parameters for ListMods.

type ListModsParamsOrder

type ListModsParamsOrder string

ListModsParamsOrder defines parameters for ListMods.

const (
	ListModsParamsOrderAsc  ListModsParamsOrder = "asc"
	ListModsParamsOrderDesc ListModsParamsOrder = "desc"
)

Defines values for ListModsParamsOrder.

type ListNeoforgeBuildsParams

type ListNeoforgeBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListNeoforgeBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListNeoforgeBuildsParams defines parameters for ListNeoforgeBuilds.

type ListNeoforgeBuildsParamsOrder

type ListNeoforgeBuildsParamsOrder string

ListNeoforgeBuildsParamsOrder defines parameters for ListNeoforgeBuilds.

const (
	ListNeoforgeBuildsParamsOrderAsc  ListNeoforgeBuildsParamsOrder = "asc"
	ListNeoforgeBuildsParamsOrderDesc ListNeoforgeBuildsParamsOrder = "desc"
)

Defines values for ListNeoforgeBuildsParamsOrder.

type ListNeoforgesParams

type ListNeoforgesParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`
}

ListNeoforgesParams defines parameters for ListNeoforges.

type ListPackGroupsParams

type ListPackGroupsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListPackGroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListPackGroupsParams defines parameters for ListPackGroups.

type ListPackGroupsParamsOrder

type ListPackGroupsParamsOrder string

ListPackGroupsParamsOrder defines parameters for ListPackGroups.

const (
	ListPackGroupsParamsOrderAsc  ListPackGroupsParamsOrder = "asc"
	ListPackGroupsParamsOrderDesc ListPackGroupsParamsOrder = "desc"
)

Defines values for ListPackGroupsParamsOrder.

type ListPackUsersParams

type ListPackUsersParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListPackUsersParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListPackUsersParams defines parameters for ListPackUsers.

type ListPackUsersParamsOrder

type ListPackUsersParamsOrder string

ListPackUsersParamsOrder defines parameters for ListPackUsers.

const (
	ListPackUsersParamsOrderAsc  ListPackUsersParamsOrder = "asc"
	ListPackUsersParamsOrderDesc ListPackUsersParamsOrder = "desc"
)

Defines values for ListPackUsersParamsOrder.

type ListPacksParams

type ListPacksParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListPacksParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListPacksParams defines parameters for ListPacks.

type ListPacksParamsOrder

type ListPacksParamsOrder string

ListPacksParamsOrder defines parameters for ListPacks.

const (
	ListPacksParamsOrderAsc  ListPacksParamsOrder = "asc"
	ListPacksParamsOrderDesc ListPacksParamsOrder = "desc"
)

Defines values for ListPacksParamsOrder.

type ListQuiltBuildsParams

type ListQuiltBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListQuiltBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListQuiltBuildsParams defines parameters for ListQuiltBuilds.

type ListQuiltBuildsParamsOrder

type ListQuiltBuildsParamsOrder string

ListQuiltBuildsParamsOrder defines parameters for ListQuiltBuilds.

const (
	ListQuiltBuildsParamsOrderAsc  ListQuiltBuildsParamsOrder = "asc"
	ListQuiltBuildsParamsOrderDesc ListQuiltBuildsParamsOrder = "desc"
)

Defines values for ListQuiltBuildsParamsOrder.

type ListQuiltsParams

type ListQuiltsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`
}

ListQuiltsParams defines parameters for ListQuilts.

type ListUserGroupsParams

type ListUserGroupsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListUserGroupsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListUserGroupsParams defines parameters for ListUserGroups.

type ListUserGroupsParamsOrder

type ListUserGroupsParamsOrder string

ListUserGroupsParamsOrder defines parameters for ListUserGroups.

const (
	ListUserGroupsParamsOrderAsc  ListUserGroupsParamsOrder = "asc"
	ListUserGroupsParamsOrderDesc ListUserGroupsParamsOrder = "desc"
)

Defines values for ListUserGroupsParamsOrder.

type ListUserModsParams

type ListUserModsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListUserModsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListUserModsParams defines parameters for ListUserMods.

type ListUserModsParamsOrder

type ListUserModsParamsOrder string

ListUserModsParamsOrder defines parameters for ListUserMods.

const (
	ListUserModsParamsOrderAsc  ListUserModsParamsOrder = "asc"
	ListUserModsParamsOrderDesc ListUserModsParamsOrder = "desc"
)

Defines values for ListUserModsParamsOrder.

type ListUserPacksParams

type ListUserPacksParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListUserPacksParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListUserPacksParams defines parameters for ListUserPacks.

type ListUserPacksParamsOrder

type ListUserPacksParamsOrder string

ListUserPacksParamsOrder defines parameters for ListUserPacks.

const (
	ListUserPacksParamsOrderAsc  ListUserPacksParamsOrder = "asc"
	ListUserPacksParamsOrderDesc ListUserPacksParamsOrder = "desc"
)

Defines values for ListUserPacksParamsOrder.

type ListUsersParams

type ListUsersParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListUsersParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListUsersParams defines parameters for ListUsers.

type ListUsersParamsOrder

type ListUsersParamsOrder string

ListUsersParamsOrder defines parameters for ListUsers.

const (
	ListUsersParamsOrderAsc  ListUsersParamsOrder = "asc"
	ListUsersParamsOrderDesc ListUsersParamsOrder = "desc"
)

Defines values for ListUsersParamsOrder.

type ListVersionBuildsParams

type ListVersionBuildsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListVersionBuildsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListVersionBuildsParams defines parameters for ListVersionBuilds.

type ListVersionBuildsParamsOrder

type ListVersionBuildsParamsOrder string

ListVersionBuildsParamsOrder defines parameters for ListVersionBuilds.

const (
	ListVersionBuildsParamsOrderAsc  ListVersionBuildsParamsOrder = "asc"
	ListVersionBuildsParamsOrderDesc ListVersionBuildsParamsOrder = "desc"
)

Defines values for ListVersionBuildsParamsOrder.

type ListVersionsParams

type ListVersionsParams struct {
	// Search Search query
	Search *SearchQueryParam `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sorting column
	Sort *SortColumnParam `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sorting order
	Order *ListVersionsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Paging limit
	Limit *PagingLimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Paging offset
	Offset *PagingOffsetParam `form:"offset,omitempty" json:"offset,omitempty"`
}

ListVersionsParams defines parameters for ListVersions.

type ListVersionsParamsOrder

type ListVersionsParamsOrder string

ListVersionsParamsOrder defines parameters for ListVersions.

const (
	ListVersionsParamsOrderAsc  ListVersionsParamsOrder = "asc"
	ListVersionsParamsOrderDesc ListVersionsParamsOrder = "desc"
)

Defines values for ListVersionsParamsOrder.

type LoginAuthBody

type LoginAuthBody struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginAuthBody defines model for LoginAuthBody.

type LoginAuthJSONBody

type LoginAuthJSONBody struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginAuthJSONBody defines parameters for LoginAuth.

type LoginAuthJSONRequestBody

type LoginAuthJSONRequestBody LoginAuthJSONBody

LoginAuthJSONRequestBody defines body for LoginAuth for application/json ContentType.

type LoginResponse

type LoginResponse = AuthToken

LoginResponse defines model for LoginResponse.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Minecraft

type Minecraft struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Type      *string    `json:"type,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Minecraft Model to represent minecraft

type MinecraftBuildBody

type MinecraftBuildBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

MinecraftBuildBody defines model for MinecraftBuildBody.

type MinecraftBuildsResponse

type MinecraftBuildsResponse struct {
	Builds []Build `json:"builds"`
	Limit  int64   `json:"limit"`

	// Minecraft Model to represent minecraft
	Minecraft *Minecraft `json:"minecraft,omitempty"`
	Offset    int64      `json:"offset"`
	Total     int64      `json:"total"`
}

MinecraftBuildsResponse defines model for MinecraftBuildsResponse.

type MinecraftID

type MinecraftID = string

MinecraftID defines model for MinecraftParam.

type MinecraftsResponse

type MinecraftsResponse struct {
	Limit    int64       `json:"limit"`
	Offset   int64       `json:"offset"`
	Total    int64       `json:"total"`
	Versions []Minecraft `json:"versions"`
}

MinecraftsResponse defines model for MinecraftsResponse.

type Mod

type Mod struct {
	Author *string `json:"author,omitempty"`

	// Avatar Model to represent mod avatar
	Avatar      *ModAvatar `json:"avatar,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	Description *string    `json:"description,omitempty"`
	Donate      *string    `json:"donate,omitempty"`
	ID          *string    `json:"id,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Public      *bool      `json:"public,omitempty"`
	Side        *string    `json:"side,omitempty"`
	Slug        *string    `json:"slug,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	Website     *string    `json:"website,omitempty"`
}

Mod Model to represent mod

type ModAvatar

type ModAvatar struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Slug      *string    `json:"slug,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	URL       *string    `json:"url,omitempty"`
}

ModAvatar Model to represent mod avatar

type ModAvatarResponse

type ModAvatarResponse = ModAvatar

ModAvatarResponse Model to represent mod avatar

type ModGroupDropBody

type ModGroupDropBody struct {
	Group string `json:"group"`
}

ModGroupDropBody defines model for ModGroupDropBody.

type ModGroupPermBody

type ModGroupPermBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

ModGroupPermBody defines model for ModGroupPermBody.

type ModGroupsResponse

type ModGroupsResponse struct {
	Groups []GroupMod `json:"groups"`
	Limit  int64      `json:"limit"`

	// Mod Model to represent mod
	Mod    *Mod  `json:"mod,omitempty"`
	Offset int64 `json:"offset"`
	Total  int64 `json:"total"`
}

ModGroupsResponse defines model for ModGroupsResponse.

type ModID

type ModID = string

ModID defines model for ModParam.

type ModResponse

type ModResponse = Mod

ModResponse Model to represent mod

type ModUserDropBody

type ModUserDropBody struct {
	User string `json:"user"`
}

ModUserDropBody defines model for ModUserDropBody.

type ModUserPermBody

type ModUserPermBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

ModUserPermBody defines model for ModUserPermBody.

type ModUsersResponse

type ModUsersResponse struct {
	Limit int64 `json:"limit"`

	// Mod Model to represent mod
	Mod    *Mod      `json:"mod,omitempty"`
	Offset int64     `json:"offset"`
	Total  int64     `json:"total"`
	Users  []UserMod `json:"users"`
}

ModUsersResponse defines model for ModUsersResponse.

type ModsResponse

type ModsResponse struct {
	Limit  int64 `json:"limit"`
	Mods   []Mod `json:"mods"`
	Offset int64 `json:"offset"`
	Total  int64 `json:"total"`
}

ModsResponse defines model for ModsResponse.

type Neoforge

type Neoforge struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Neoforge Model to represent neoforge

type NeoforgeBuildBody

type NeoforgeBuildBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

NeoforgeBuildBody defines model for NeoforgeBuildBody.

type NeoforgeBuildsResponse

type NeoforgeBuildsResponse struct {
	Builds []Build `json:"builds"`
	Limit  int64   `json:"limit"`

	// Neoforge Model to represent neoforge
	Neoforge *Neoforge `json:"neoforge,omitempty"`
	Offset   int64     `json:"offset"`
	Total    int64     `json:"total"`
}

NeoforgeBuildsResponse defines model for NeoforgeBuildsResponse.

type NeoforgeID

type NeoforgeID = string

NeoforgeID defines model for NeoforgeParam.

type NeoforgesResponse

type NeoforgesResponse struct {
	Limit    int64      `json:"limit"`
	Offset   int64      `json:"offset"`
	Total    int64      `json:"total"`
	Versions []Neoforge `json:"versions"`
}

NeoforgesResponse defines model for NeoforgesResponse.

type NotAttachedError

type NotAttachedError = Notification

NotAttachedError Generic response for errors and validations

type NotAuthorizedError

type NotAuthorizedError = Notification

NotAuthorizedError Generic response for errors and validations

type NotFoundError

type NotFoundError = Notification

NotFoundError Generic response for errors and validations

type Notification

type Notification struct {
	Errors  *[]Validation `json:"errors,omitempty"`
	Message *string       `json:"message,omitempty"`
	Status  *int          `json:"status,omitempty"`
}

Notification Generic response for errors and validations

type Pack

type Pack struct {
	// Avatar Model to represent pack avatar
	Avatar    *PackAvatar `json:"avatar,omitempty"`
	CreatedAt *time.Time  `json:"created_at,omitempty"`
	ID        *string     `json:"id,omitempty"`
	Name      *string     `json:"name,omitempty"`
	Public    *bool       `json:"public,omitempty"`
	Slug      *string     `json:"slug,omitempty"`
	UpdatedAt *time.Time  `json:"updated_at,omitempty"`
	Website   *string     `json:"website,omitempty"`
}

Pack Model to represent pack

type PackAvatar

type PackAvatar struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Slug      *string    `json:"slug,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	URL       *string    `json:"url,omitempty"`
}

PackAvatar Model to represent pack avatar

type PackAvatarResponse

type PackAvatarResponse = PackAvatar

PackAvatarResponse Model to represent pack avatar

type PackGroupDropBody

type PackGroupDropBody struct {
	Group string `json:"group"`
}

PackGroupDropBody defines model for PackGroupDropBody.

type PackGroupPermBody

type PackGroupPermBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

PackGroupPermBody defines model for PackGroupPermBody.

type PackGroupsResponse

type PackGroupsResponse struct {
	Groups []GroupPack `json:"groups"`
	Limit  int64       `json:"limit"`
	Offset int64       `json:"offset"`

	// Pack Model to represent pack
	Pack  *Pack `json:"pack,omitempty"`
	Total int64 `json:"total"`
}

PackGroupsResponse defines model for PackGroupsResponse.

type PackID

type PackID = string

PackID defines model for PackParam.

type PackResponse

type PackResponse = Pack

PackResponse Model to represent pack

type PackUserDropBody

type PackUserDropBody struct {
	User string `json:"user"`
}

PackUserDropBody defines model for PackUserDropBody.

type PackUserPermBody

type PackUserPermBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

PackUserPermBody defines model for PackUserPermBody.

type PackUsersResponse

type PackUsersResponse struct {
	Limit  int64 `json:"limit"`
	Offset int64 `json:"offset"`

	// Pack Model to represent pack
	Pack  *Pack      `json:"pack,omitempty"`
	Total int64      `json:"total"`
	Users []UserPack `json:"users"`
}

PackUsersResponse defines model for PackUsersResponse.

type PacksResponse

type PacksResponse struct {
	Limit  int64  `json:"limit"`
	Offset int64  `json:"offset"`
	Packs  []Pack `json:"packs"`
	Total  int64  `json:"total"`
}

PacksResponse defines model for PacksResponse.

type PagingLimitParam

type PagingLimitParam = int

PagingLimitParam defines model for PagingLimitParam.

type PagingOffsetParam

type PagingOffsetParam = int

PagingOffsetParam defines model for PagingOffsetParam.

type PermitGroupModJSONBody

type PermitGroupModJSONBody struct {
	Mod  string `json:"mod"`
	Perm string `json:"perm"`
}

PermitGroupModJSONBody defines parameters for PermitGroupMod.

type PermitGroupModJSONRequestBody

type PermitGroupModJSONRequestBody PermitGroupModJSONBody

PermitGroupModJSONRequestBody defines body for PermitGroupMod for application/json ContentType.

type PermitGroupPackJSONBody

type PermitGroupPackJSONBody struct {
	Pack string `json:"pack"`
	Perm string `json:"perm"`
}

PermitGroupPackJSONBody defines parameters for PermitGroupPack.

type PermitGroupPackJSONRequestBody

type PermitGroupPackJSONRequestBody PermitGroupPackJSONBody

PermitGroupPackJSONRequestBody defines body for PermitGroupPack for application/json ContentType.

type PermitGroupUserJSONBody

type PermitGroupUserJSONBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

PermitGroupUserJSONBody defines parameters for PermitGroupUser.

type PermitGroupUserJSONRequestBody

type PermitGroupUserJSONRequestBody PermitGroupUserJSONBody

PermitGroupUserJSONRequestBody defines body for PermitGroupUser for application/json ContentType.

type PermitModGroupJSONBody

type PermitModGroupJSONBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

PermitModGroupJSONBody defines parameters for PermitModGroup.

type PermitModGroupJSONRequestBody

type PermitModGroupJSONRequestBody PermitModGroupJSONBody

PermitModGroupJSONRequestBody defines body for PermitModGroup for application/json ContentType.

type PermitModUserJSONBody

type PermitModUserJSONBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

PermitModUserJSONBody defines parameters for PermitModUser.

type PermitModUserJSONRequestBody

type PermitModUserJSONRequestBody PermitModUserJSONBody

PermitModUserJSONRequestBody defines body for PermitModUser for application/json ContentType.

type PermitPackGroupJSONBody

type PermitPackGroupJSONBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

PermitPackGroupJSONBody defines parameters for PermitPackGroup.

type PermitPackGroupJSONRequestBody

type PermitPackGroupJSONRequestBody PermitPackGroupJSONBody

PermitPackGroupJSONRequestBody defines body for PermitPackGroup for application/json ContentType.

type PermitPackUserJSONBody

type PermitPackUserJSONBody struct {
	Perm string `json:"perm"`
	User string `json:"user"`
}

PermitPackUserJSONBody defines parameters for PermitPackUser.

type PermitPackUserJSONRequestBody

type PermitPackUserJSONRequestBody PermitPackUserJSONBody

PermitPackUserJSONRequestBody defines body for PermitPackUser for application/json ContentType.

type PermitUserGroupJSONBody

type PermitUserGroupJSONBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

PermitUserGroupJSONBody defines parameters for PermitUserGroup.

type PermitUserGroupJSONRequestBody

type PermitUserGroupJSONRequestBody PermitUserGroupJSONBody

PermitUserGroupJSONRequestBody defines body for PermitUserGroup for application/json ContentType.

type PermitUserModJSONBody

type PermitUserModJSONBody struct {
	Mod  string `json:"mod"`
	Perm string `json:"perm"`
}

PermitUserModJSONBody defines parameters for PermitUserMod.

type PermitUserModJSONRequestBody

type PermitUserModJSONRequestBody PermitUserModJSONBody

PermitUserModJSONRequestBody defines body for PermitUserMod for application/json ContentType.

type PermitUserPackJSONBody

type PermitUserPackJSONBody struct {
	Pack string `json:"pack"`
	Perm string `json:"perm"`
}

PermitUserPackJSONBody defines parameters for PermitUserPack.

type PermitUserPackJSONRequestBody

type PermitUserPackJSONRequestBody PermitUserPackJSONBody

PermitUserPackJSONRequestBody defines body for PermitUserPack for application/json ContentType.

type Profile

type Profile struct {
	Active    *bool        `json:"active,omitempty"`
	Admin     *bool        `json:"admin,omitempty"`
	Auths     *[]UserAuth  `json:"auths,omitempty"`
	CreatedAt *time.Time   `json:"created_at,omitempty"`
	Email     *string      `json:"email,omitempty"`
	Fullname  *string      `json:"fullname,omitempty"`
	Groups    *[]UserGroup `json:"groups,omitempty"`
	ID        *string      `json:"id,omitempty"`
	Mods      *[]UserMod   `json:"mods,omitempty"`
	Packs     *[]UserPack  `json:"packs,omitempty"`
	Password  *string      `json:"password,omitempty"`
	Profile   *string      `json:"profile,omitempty"`
	UpdatedAt *time.Time   `json:"updated_at,omitempty"`
	Username  *string      `json:"username,omitempty"`
}

Profile Model to represent profile

type ProfileResponse

type ProfileResponse = Profile

ProfileResponse Model to represent profile

type Provider

type Provider struct {
	Display *string `json:"display,omitempty"`
	Driver  *string `json:"driver,omitempty"`
	Icon    *string `json:"icon,omitempty"`
	Name    *string `json:"name,omitempty"`
}

Provider Model to represent auth provider

type ProvidersResponse

type ProvidersResponse struct {
	Providers []Provider `json:"providers"`
	Total     int64      `json:"total"`
}

ProvidersResponse defines model for ProvidersResponse.

type Quilt

type Quilt struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Quilt Model to represent quilt

type QuiltBuildBody

type QuiltBuildBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

QuiltBuildBody defines model for QuiltBuildBody.

type QuiltBuildsResponse

type QuiltBuildsResponse struct {
	Builds []Build `json:"builds"`
	Limit  int64   `json:"limit"`
	Offset int64   `json:"offset"`

	// Quilt Model to represent quilt
	Quilt *Quilt `json:"quilt,omitempty"`
	Total int64  `json:"total"`
}

QuiltBuildsResponse defines model for QuiltBuildsResponse.

type QuiltID

type QuiltID = string

QuiltID defines model for QuiltParam.

type QuiltsResponse

type QuiltsResponse struct {
	Limit    int64   `json:"limit"`
	Offset   int64   `json:"offset"`
	Total    int64   `json:"total"`
	Versions []Quilt `json:"versions"`
}

QuiltsResponse defines model for QuiltsResponse.

type RedirectAuthBody

type RedirectAuthBody struct {
	Token string `json:"token"`
}

RedirectAuthBody defines model for RedirectAuthBody.

type RedirectAuthJSONBody

type RedirectAuthJSONBody struct {
	Token string `json:"token"`
}

RedirectAuthJSONBody defines parameters for RedirectAuth.

type RedirectAuthJSONRequestBody

type RedirectAuthJSONRequestBody RedirectAuthJSONBody

RedirectAuthJSONRequestBody defines body for RedirectAuth for application/json ContentType.

type RefreshResponse

type RefreshResponse = AuthToken

RefreshResponse defines model for RefreshResponse.

type RemoteUnavailableError

type RemoteUnavailableError = Notification

RemoteUnavailableError Generic response for errors and validations

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 SearchQueryParam

type SearchQueryParam = string

SearchQueryParam defines model for SearchQueryParam.

type ServerInterface

type ServerInterface interface {
	// Authenticate an user by credentials
	// (POST /auth/login)
	LoginAuth(w http.ResponseWriter, r *http.Request)
	// Fetch the available auth providers
	// (GET /auth/providers)
	ListProviders(w http.ResponseWriter, r *http.Request)
	// Retrieve real token after redirect
	// (POST /auth/redirect)
	RedirectAuth(w http.ResponseWriter, r *http.Request)
	// Refresh an auth token before it expires
	// (GET /auth/refresh)
	RefreshAuth(w http.ResponseWriter, r *http.Request)
	// Verify validity for an authentication token
	// (GET /auth/verify)
	VerifyAuth(w http.ResponseWriter, r *http.Request)
	// Callback to parse the defined provider
	// (GET /auth/{provider}/callback)
	CallbackProvider(w http.ResponseWriter, r *http.Request, provider AuthProviderParam, params CallbackProviderParams)
	// Request the redirect to defined provider
	// (GET /auth/{provider}/request)
	RequestProvider(w http.ResponseWriter, r *http.Request, provider AuthProviderParam)
	// Fetch the available Fabric versions
	// (GET /fabric)
	ListFabrics(w http.ResponseWriter, r *http.Request, params ListFabricsParams)
	// Update the available Fabric versions
	// (PUT /fabric)
	UpdateFabric(w http.ResponseWriter, r *http.Request)
	// Unlink a build from a Fabric version
	// (DELETE /fabric/{fabric_id}/builds)
	DeleteFabricFromBuild(w http.ResponseWriter, r *http.Request, fabricID FabricID)
	// Fetch the builds attached to a Fabric version
	// (GET /fabric/{fabric_id}/builds)
	ListFabricBuilds(w http.ResponseWriter, r *http.Request, fabricID FabricID, params ListFabricBuildsParams)
	// Attach a build to a Fabric version
	// (POST /fabric/{fabric_id}/builds)
	AttachFabricToBuild(w http.ResponseWriter, r *http.Request, fabricID FabricID)
	// Fetch the available Forge versions
	// (GET /forge)
	ListForges(w http.ResponseWriter, r *http.Request, params ListForgesParams)
	// Update the available Forge versions
	// (PUT /forge)
	UpdateForge(w http.ResponseWriter, r *http.Request)
	// Unlink a build from a Forge version
	// (DELETE /forge/{forge_id}/builds)
	DeleteForgeFromBuild(w http.ResponseWriter, r *http.Request, forgeID ForgeID)
	// Fetch the builds attached to a Forge version
	// (GET /forge/{forge_id}/builds)
	ListForgeBuilds(w http.ResponseWriter, r *http.Request, forgeID ForgeID, params ListForgeBuildsParams)
	// Attach a build to a Forge version
	// (POST /forge/{forge_id}/builds)
	AttachForgeToBuild(w http.ResponseWriter, r *http.Request, forgeID ForgeID)
	// Fetch all available groups
	// (GET /groups)
	ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)
	// Create a new group
	// (POST /groups)
	CreateGroup(w http.ResponseWriter, r *http.Request)
	// Delete a specific group
	// (DELETE /groups/{group_id})
	DeleteGroup(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Fetch a specific group
	// (GET /groups/{group_id})
	ShowGroup(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Update a specific group
	// (PUT /groups/{group_id})
	UpdateGroup(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Unlink a mod from group
	// (DELETE /groups/{group_id}/mods)
	DeleteGroupFromMod(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Fetch all mods attached to group
	// (GET /groups/{group_id}/mods)
	ListGroupMods(w http.ResponseWriter, r *http.Request, groupID GroupID, params ListGroupModsParams)
	// Attach a mod to group
	// (POST /groups/{group_id}/mods)
	AttachGroupToMod(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Update mod perms for group
	// (PUT /groups/{group_id}/mods)
	PermitGroupMod(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Unlink a pack from group
	// (DELETE /groups/{group_id}/packs)
	DeleteGroupFromPack(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Fetch all packs attached to group
	// (GET /groups/{group_id}/packs)
	ListGroupPacks(w http.ResponseWriter, r *http.Request, groupID GroupID, params ListGroupPacksParams)
	// Attach a pack to group
	// (POST /groups/{group_id}/packs)
	AttachGroupToPack(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Update pack perms for group
	// (PUT /groups/{group_id}/packs)
	PermitGroupPack(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Unlink a user from group
	// (DELETE /groups/{group_id}/users)
	DeleteGroupFromUser(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Fetch all users attached to group
	// (GET /groups/{group_id}/users)
	ListGroupUsers(w http.ResponseWriter, r *http.Request, groupID GroupID, params ListGroupUsersParams)
	// Attach a user to group
	// (POST /groups/{group_id}/users)
	AttachGroupToUser(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Update user perms for group
	// (PUT /groups/{group_id}/users)
	PermitGroupUser(w http.ResponseWriter, r *http.Request, groupID GroupID)
	// Fetch the available Minecraft versions
	// (GET /minecraft)
	ListMinecrafts(w http.ResponseWriter, r *http.Request, params ListMinecraftsParams)
	// Update the available Minecraft versions
	// (PUT /minecraft)
	UpdateMinecraft(w http.ResponseWriter, r *http.Request)
	// Unlink a build from a Minecraft version
	// (DELETE /minecraft/{minecraft_id}/builds)
	DeleteMinecraftFromBuild(w http.ResponseWriter, r *http.Request, minecraftID MinecraftID)
	// Fetch the builds attached to a Minecraft version
	// (GET /minecraft/{minecraft_id}/builds)
	ListMinecraftBuilds(w http.ResponseWriter, r *http.Request, minecraftID MinecraftID, params ListMinecraftBuildsParams)
	// Attach a build to a Minecraft version
	// (POST /minecraft/{minecraft_id}/builds)
	AttachMinecraftToBuild(w http.ResponseWriter, r *http.Request, minecraftID MinecraftID)
	// Fetch all available mods
	// (GET /mods)
	ListMods(w http.ResponseWriter, r *http.Request, params ListModsParams)
	// Create a new mod
	// (POST /mods)
	CreateMod(w http.ResponseWriter, r *http.Request)
	// Delete a specific mod
	// (DELETE /mods/{mod_id})
	DeleteMod(w http.ResponseWriter, r *http.Request, modID ModID)
	// Fetch a specific mod
	// (GET /mods/{mod_id})
	ShowMod(w http.ResponseWriter, r *http.Request, modID ModID)
	// Update a specific mod
	// (PUT /mods/{mod_id})
	UpdateMod(w http.ResponseWriter, r *http.Request, modID ModID)
	// Delete the avatar for the defined mod
	// (DELETE /mods/{mod_id}/avatar)
	DeleteModAvatar(w http.ResponseWriter, r *http.Request, modID ModID)
	// Upload an avatar for the defined mod
	// (POST /mods/{mod_id}/avatar)
	CreateModAvatar(w http.ResponseWriter, r *http.Request, modID ModID)
	// Unlink a group from mod
	// (DELETE /mods/{mod_id}/groups)
	DeleteModFromGroup(w http.ResponseWriter, r *http.Request, modID ModID)
	// Fetch all groups attached to mod
	// (GET /mods/{mod_id}/groups)
	ListModGroups(w http.ResponseWriter, r *http.Request, modID ModID, params ListModGroupsParams)
	// Attach a group to mod
	// (POST /mods/{mod_id}/groups)
	AttachModToGroup(w http.ResponseWriter, r *http.Request, modID ModID)
	// Update group perms for mod
	// (PUT /mods/{mod_id}/groups)
	PermitModGroup(w http.ResponseWriter, r *http.Request, modID ModID)
	// Unlink a user from mod
	// (DELETE /mods/{mod_id}/users)
	DeleteModFromUser(w http.ResponseWriter, r *http.Request, modID ModID)
	// Fetch all users attached to mod
	// (GET /mods/{mod_id}/users)
	ListModUsers(w http.ResponseWriter, r *http.Request, modID ModID, params ListModUsersParams)
	// Attach a user to mod
	// (POST /mods/{mod_id}/users)
	AttachModToUser(w http.ResponseWriter, r *http.Request, modID ModID)
	// Update user perms for mod
	// (PUT /mods/{mod_id}/users)
	PermitModUser(w http.ResponseWriter, r *http.Request, modID ModID)
	// Fetch all available versions for a mod
	// (GET /mods/{mod_id}/versions)
	ListVersions(w http.ResponseWriter, r *http.Request, modID ModID, params ListVersionsParams)
	// Create a new version for a mod
	// (POST /mods/{mod_id}/versions)
	CreateVersion(w http.ResponseWriter, r *http.Request, modID ModID)
	// Delete a specific version for a mod
	// (DELETE /mods/{mod_id}/versions/{version_id})
	DeleteVersion(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)
	// Fetch a specific version for a mod
	// (GET /mods/{mod_id}/versions/{version_id})
	ShowVersion(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)
	// Update a specific version for a mod
	// (PUT /mods/{mod_id}/versions/{version_id})
	UpdateVersion(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)
	// Unlink a build from a version
	// (DELETE /mods/{mod_id}/versions/{version_id}/builds)
	DeleteVersionFromBuild(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)
	// Fetch all builds attached to version
	// (GET /mods/{mod_id}/versions/{version_id}/builds)
	ListVersionBuilds(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID, params ListVersionBuildsParams)
	// Attach a build to a version
	// (POST /mods/{mod_id}/versions/{version_id}/builds)
	AttachVersionToBuild(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)
	// Fetch the available Neoforge versions
	// (GET /neoforge)
	ListNeoforges(w http.ResponseWriter, r *http.Request, params ListNeoforgesParams)
	// Update the available Neoforge versions
	// (PUT /neoforge)
	UpdateNeoforge(w http.ResponseWriter, r *http.Request)
	// Unlink a build from a Neoforge version
	// (DELETE /neoforge/{neoforge_id}/builds)
	DeleteNeoforgeFromBuild(w http.ResponseWriter, r *http.Request, neoforgeID NeoforgeID)
	// Fetch the builds attached to a Neoforge version
	// (GET /neoforge/{neoforge_id}/builds)
	ListNeoforgeBuilds(w http.ResponseWriter, r *http.Request, neoforgeID NeoforgeID, params ListNeoforgeBuildsParams)
	// Attach a build to a Neoforge version
	// (POST /neoforge/{neoforge_id}/builds)
	AttachNeoforgeToBuild(w http.ResponseWriter, r *http.Request, neoforgeID NeoforgeID)
	// Fetch all available packs
	// (GET /packs)
	ListPacks(w http.ResponseWriter, r *http.Request, params ListPacksParams)
	// Create a new pack
	// (POST /packs)
	CreatePack(w http.ResponseWriter, r *http.Request)
	// Delete a specific pack
	// (DELETE /packs/{pack_id})
	DeletePack(w http.ResponseWriter, r *http.Request, packID PackID)
	// Fetch a specific pack
	// (GET /packs/{pack_id})
	ShowPack(w http.ResponseWriter, r *http.Request, packID PackID)
	// Update a specific pack
	// (PUT /packs/{pack_id})
	UpdatePack(w http.ResponseWriter, r *http.Request, packID PackID)
	// Delete the avatar for the defined pack
	// (DELETE /packs/{pack_id}/avatar)
	DeletePackAvatar(w http.ResponseWriter, r *http.Request, packID PackID)
	// Upload an avatar for the defined pack
	// (POST /packs/{pack_id}/avatar)
	CreatePackAvatar(w http.ResponseWriter, r *http.Request, packID PackID)
	// Fetch all available builds for a pack
	// (GET /packs/{pack_id}/builds)
	ListBuilds(w http.ResponseWriter, r *http.Request, packID PackID, params ListBuildsParams)
	// Create a new build for a pack
	// (POST /packs/{pack_id}/builds)
	CreateBuild(w http.ResponseWriter, r *http.Request, packID PackID)
	// Delete a specific build for a pack
	// (DELETE /packs/{pack_id}/builds/{build_id})
	DeleteBuild(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)
	// Fetch a specific build for a pack
	// (GET /packs/{pack_id}/builds/{build_id})
	ShowBuild(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)
	// Update a specific build for a pack
	// (PUT /packs/{pack_id}/builds/{build_id})
	UpdateBuild(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)
	// Unlink a version from a build
	// (DELETE /packs/{pack_id}/builds/{build_id}/versions)
	DeleteBuildFromVersion(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)
	// Fetch all versions attached to build
	// (GET /packs/{pack_id}/builds/{build_id}/versions)
	ListBuildVersions(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID, params ListBuildVersionsParams)
	// Attach a version to a build
	// (POST /packs/{pack_id}/builds/{build_id}/versions)
	AttachBuildToVersion(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)
	// Unlink a group from pack
	// (DELETE /packs/{pack_id}/groups)
	DeletePackFromGroup(w http.ResponseWriter, r *http.Request, packID PackID)
	// Fetch all groups attached to pack
	// (GET /packs/{pack_id}/groups)
	ListPackGroups(w http.ResponseWriter, r *http.Request, packID PackID, params ListPackGroupsParams)
	// Attach a group to pack
	// (POST /packs/{pack_id}/groups)
	AttachPackToGroup(w http.ResponseWriter, r *http.Request, packID PackID)
	// Update group perms for pack
	// (PUT /packs/{pack_id}/groups)
	PermitPackGroup(w http.ResponseWriter, r *http.Request, packID PackID)
	// Unlink a user from pack
	// (DELETE /packs/{pack_id}/users)
	DeletePackFromUser(w http.ResponseWriter, r *http.Request, packID PackID)
	// Fetch all users attached to pack
	// (GET /packs/{pack_id}/users)
	ListPackUsers(w http.ResponseWriter, r *http.Request, packID PackID, params ListPackUsersParams)
	// Attach a user to pack
	// (POST /packs/{pack_id}/users)
	AttachPackToUser(w http.ResponseWriter, r *http.Request, packID PackID)
	// Update user perms for pack
	// (PUT /packs/{pack_id}/users)
	PermitPackUser(w http.ResponseWriter, r *http.Request, packID PackID)
	// Fetch profile details of the personal account
	// (GET /profile/self)
	ShowProfile(w http.ResponseWriter, r *http.Request)
	// Update your own profile information
	// (PUT /profile/self)
	UpdateProfile(w http.ResponseWriter, r *http.Request)
	// Retrieve an unlimited auth token
	// (GET /profile/token)
	TokenProfile(w http.ResponseWriter, r *http.Request)
	// Fetch the available Quilt versions
	// (GET /quilt)
	ListQuilts(w http.ResponseWriter, r *http.Request, params ListQuiltsParams)
	// Update the available Quilt versions
	// (PUT /quilt)
	UpdateQuilt(w http.ResponseWriter, r *http.Request)
	// Unlink a build from a Quilt version
	// (DELETE /quilt/{quilt_id}/builds)
	DeleteQuiltFromBuild(w http.ResponseWriter, r *http.Request, quiltID QuiltID)
	// Fetch the builds attached to a Quilt version
	// (GET /quilt/{quilt_id}/builds)
	ListQuiltBuilds(w http.ResponseWriter, r *http.Request, quiltID QuiltID, params ListQuiltBuildsParams)
	// Attach a build to a Quilt version
	// (POST /quilt/{quilt_id}/builds)
	AttachQuiltToBuild(w http.ResponseWriter, r *http.Request, quiltID QuiltID)
	// Fetch all available users
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)
	// Create a new user
	// (POST /users)
	CreateUser(w http.ResponseWriter, r *http.Request)
	// Delete a specific user
	// (DELETE /users/{user_id})
	DeleteUser(w http.ResponseWriter, r *http.Request, userID UserID)
	// Fetch a specific user
	// (GET /users/{user_id})
	ShowUser(w http.ResponseWriter, r *http.Request, userID UserID)
	// Update a specific user
	// (PUT /users/{user_id})
	UpdateUser(w http.ResponseWriter, r *http.Request, userID UserID)
	// Unlink a group from user
	// (DELETE /users/{user_id}/groups)
	DeleteUserFromGroup(w http.ResponseWriter, r *http.Request, userID UserID)
	// Fetch all groups attached to user
	// (GET /users/{user_id}/groups)
	ListUserGroups(w http.ResponseWriter, r *http.Request, userID UserID, params ListUserGroupsParams)
	// Attach a group to user
	// (POST /users/{user_id}/groups)
	AttachUserToGroup(w http.ResponseWriter, r *http.Request, userID UserID)
	// Update group perms for user
	// (PUT /users/{user_id}/groups)
	PermitUserGroup(w http.ResponseWriter, r *http.Request, userID UserID)
	// Unlink a mod from user
	// (DELETE /users/{user_id}/mods)
	DeleteUserFromMod(w http.ResponseWriter, r *http.Request, userID UserID)
	// Fetch all mods attached to user
	// (GET /users/{user_id}/mods)
	ListUserMods(w http.ResponseWriter, r *http.Request, userID UserID, params ListUserModsParams)
	// Attach a mod to user
	// (POST /users/{user_id}/mods)
	AttachUserToMod(w http.ResponseWriter, r *http.Request, userID UserID)
	// Update mod perms for user
	// (PUT /users/{user_id}/mods)
	PermitUserMod(w http.ResponseWriter, r *http.Request, userID UserID)
	// Unlink a pack from user
	// (DELETE /users/{user_id}/packs)
	DeleteUserFromPack(w http.ResponseWriter, r *http.Request, userID UserID)
	// Fetch all packs attached to user
	// (GET /users/{user_id}/packs)
	ListUserPacks(w http.ResponseWriter, r *http.Request, userID UserID, params ListUserPacksParams)
	// Attach a pack to user
	// (POST /users/{user_id}/packs)
	AttachUserToPack(w http.ResponseWriter, r *http.Request, userID UserID)
	// Update pack perms for user
	// (PUT /users/{user_id}/packs)
	PermitUserPack(w http.ResponseWriter, r *http.Request, userID UserID)
}

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) AttachBuildToVersion

func (siw *ServerInterfaceWrapper) AttachBuildToVersion(w http.ResponseWriter, r *http.Request)

AttachBuildToVersion operation middleware

func (*ServerInterfaceWrapper) AttachFabricToBuild

func (siw *ServerInterfaceWrapper) AttachFabricToBuild(w http.ResponseWriter, r *http.Request)

AttachFabricToBuild operation middleware

func (*ServerInterfaceWrapper) AttachForgeToBuild

func (siw *ServerInterfaceWrapper) AttachForgeToBuild(w http.ResponseWriter, r *http.Request)

AttachForgeToBuild operation middleware

func (*ServerInterfaceWrapper) AttachGroupToMod

func (siw *ServerInterfaceWrapper) AttachGroupToMod(w http.ResponseWriter, r *http.Request)

AttachGroupToMod operation middleware

func (*ServerInterfaceWrapper) AttachGroupToPack

func (siw *ServerInterfaceWrapper) AttachGroupToPack(w http.ResponseWriter, r *http.Request)

AttachGroupToPack operation middleware

func (*ServerInterfaceWrapper) AttachGroupToUser

func (siw *ServerInterfaceWrapper) AttachGroupToUser(w http.ResponseWriter, r *http.Request)

AttachGroupToUser operation middleware

func (*ServerInterfaceWrapper) AttachMinecraftToBuild

func (siw *ServerInterfaceWrapper) AttachMinecraftToBuild(w http.ResponseWriter, r *http.Request)

AttachMinecraftToBuild operation middleware

func (*ServerInterfaceWrapper) AttachModToGroup

func (siw *ServerInterfaceWrapper) AttachModToGroup(w http.ResponseWriter, r *http.Request)

AttachModToGroup operation middleware

func (*ServerInterfaceWrapper) AttachModToUser

func (siw *ServerInterfaceWrapper) AttachModToUser(w http.ResponseWriter, r *http.Request)

AttachModToUser operation middleware

func (*ServerInterfaceWrapper) AttachNeoforgeToBuild

func (siw *ServerInterfaceWrapper) AttachNeoforgeToBuild(w http.ResponseWriter, r *http.Request)

AttachNeoforgeToBuild operation middleware

func (*ServerInterfaceWrapper) AttachPackToGroup

func (siw *ServerInterfaceWrapper) AttachPackToGroup(w http.ResponseWriter, r *http.Request)

AttachPackToGroup operation middleware

func (*ServerInterfaceWrapper) AttachPackToUser

func (siw *ServerInterfaceWrapper) AttachPackToUser(w http.ResponseWriter, r *http.Request)

AttachPackToUser operation middleware

func (*ServerInterfaceWrapper) AttachQuiltToBuild

func (siw *ServerInterfaceWrapper) AttachQuiltToBuild(w http.ResponseWriter, r *http.Request)

AttachQuiltToBuild operation middleware

func (*ServerInterfaceWrapper) AttachUserToGroup

func (siw *ServerInterfaceWrapper) AttachUserToGroup(w http.ResponseWriter, r *http.Request)

AttachUserToGroup operation middleware

func (*ServerInterfaceWrapper) AttachUserToMod

func (siw *ServerInterfaceWrapper) AttachUserToMod(w http.ResponseWriter, r *http.Request)

AttachUserToMod operation middleware

func (*ServerInterfaceWrapper) AttachUserToPack

func (siw *ServerInterfaceWrapper) AttachUserToPack(w http.ResponseWriter, r *http.Request)

AttachUserToPack operation middleware

func (*ServerInterfaceWrapper) AttachVersionToBuild

func (siw *ServerInterfaceWrapper) AttachVersionToBuild(w http.ResponseWriter, r *http.Request)

AttachVersionToBuild operation middleware

func (*ServerInterfaceWrapper) CallbackProvider

func (siw *ServerInterfaceWrapper) CallbackProvider(w http.ResponseWriter, r *http.Request)

CallbackProvider operation middleware

func (*ServerInterfaceWrapper) CreateBuild

func (siw *ServerInterfaceWrapper) CreateBuild(w http.ResponseWriter, r *http.Request)

CreateBuild operation middleware

func (*ServerInterfaceWrapper) CreateGroup

func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)

CreateGroup operation middleware

func (*ServerInterfaceWrapper) CreateMod

func (siw *ServerInterfaceWrapper) CreateMod(w http.ResponseWriter, r *http.Request)

CreateMod operation middleware

func (*ServerInterfaceWrapper) CreateModAvatar

func (siw *ServerInterfaceWrapper) CreateModAvatar(w http.ResponseWriter, r *http.Request)

CreateModAvatar operation middleware

func (*ServerInterfaceWrapper) CreatePack

func (siw *ServerInterfaceWrapper) CreatePack(w http.ResponseWriter, r *http.Request)

CreatePack operation middleware

func (*ServerInterfaceWrapper) CreatePackAvatar

func (siw *ServerInterfaceWrapper) CreatePackAvatar(w http.ResponseWriter, r *http.Request)

CreatePackAvatar operation middleware

func (*ServerInterfaceWrapper) CreateUser

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) CreateVersion

func (siw *ServerInterfaceWrapper) CreateVersion(w http.ResponseWriter, r *http.Request)

CreateVersion operation middleware

func (*ServerInterfaceWrapper) DeleteBuild

func (siw *ServerInterfaceWrapper) DeleteBuild(w http.ResponseWriter, r *http.Request)

DeleteBuild operation middleware

func (*ServerInterfaceWrapper) DeleteBuildFromVersion

func (siw *ServerInterfaceWrapper) DeleteBuildFromVersion(w http.ResponseWriter, r *http.Request)

DeleteBuildFromVersion operation middleware

func (*ServerInterfaceWrapper) DeleteFabricFromBuild

func (siw *ServerInterfaceWrapper) DeleteFabricFromBuild(w http.ResponseWriter, r *http.Request)

DeleteFabricFromBuild operation middleware

func (*ServerInterfaceWrapper) DeleteForgeFromBuild

func (siw *ServerInterfaceWrapper) DeleteForgeFromBuild(w http.ResponseWriter, r *http.Request)

DeleteForgeFromBuild operation middleware

func (*ServerInterfaceWrapper) DeleteGroup

func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)

DeleteGroup operation middleware

func (*ServerInterfaceWrapper) DeleteGroupFromMod

func (siw *ServerInterfaceWrapper) DeleteGroupFromMod(w http.ResponseWriter, r *http.Request)

DeleteGroupFromMod operation middleware

func (*ServerInterfaceWrapper) DeleteGroupFromPack

func (siw *ServerInterfaceWrapper) DeleteGroupFromPack(w http.ResponseWriter, r *http.Request)

DeleteGroupFromPack operation middleware

func (*ServerInterfaceWrapper) DeleteGroupFromUser

func (siw *ServerInterfaceWrapper) DeleteGroupFromUser(w http.ResponseWriter, r *http.Request)

DeleteGroupFromUser operation middleware

func (*ServerInterfaceWrapper) DeleteMinecraftFromBuild

func (siw *ServerInterfaceWrapper) DeleteMinecraftFromBuild(w http.ResponseWriter, r *http.Request)

DeleteMinecraftFromBuild operation middleware

func (*ServerInterfaceWrapper) DeleteMod

func (siw *ServerInterfaceWrapper) DeleteMod(w http.ResponseWriter, r *http.Request)

DeleteMod operation middleware

func (*ServerInterfaceWrapper) DeleteModAvatar

func (siw *ServerInterfaceWrapper) DeleteModAvatar(w http.ResponseWriter, r *http.Request)

DeleteModAvatar operation middleware

func (*ServerInterfaceWrapper) DeleteModFromGroup

func (siw *ServerInterfaceWrapper) DeleteModFromGroup(w http.ResponseWriter, r *http.Request)

DeleteModFromGroup operation middleware

func (*ServerInterfaceWrapper) DeleteModFromUser

func (siw *ServerInterfaceWrapper) DeleteModFromUser(w http.ResponseWriter, r *http.Request)

DeleteModFromUser operation middleware

func (*ServerInterfaceWrapper) DeleteNeoforgeFromBuild

func (siw *ServerInterfaceWrapper) DeleteNeoforgeFromBuild(w http.ResponseWriter, r *http.Request)

DeleteNeoforgeFromBuild operation middleware

func (*ServerInterfaceWrapper) DeletePack

func (siw *ServerInterfaceWrapper) DeletePack(w http.ResponseWriter, r *http.Request)

DeletePack operation middleware

func (*ServerInterfaceWrapper) DeletePackAvatar

func (siw *ServerInterfaceWrapper) DeletePackAvatar(w http.ResponseWriter, r *http.Request)

DeletePackAvatar operation middleware

func (*ServerInterfaceWrapper) DeletePackFromGroup

func (siw *ServerInterfaceWrapper) DeletePackFromGroup(w http.ResponseWriter, r *http.Request)

DeletePackFromGroup operation middleware

func (*ServerInterfaceWrapper) DeletePackFromUser

func (siw *ServerInterfaceWrapper) DeletePackFromUser(w http.ResponseWriter, r *http.Request)

DeletePackFromUser operation middleware

func (*ServerInterfaceWrapper) DeleteQuiltFromBuild

func (siw *ServerInterfaceWrapper) DeleteQuiltFromBuild(w http.ResponseWriter, r *http.Request)

DeleteQuiltFromBuild operation middleware

func (*ServerInterfaceWrapper) DeleteUser

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (*ServerInterfaceWrapper) DeleteUserFromGroup

func (siw *ServerInterfaceWrapper) DeleteUserFromGroup(w http.ResponseWriter, r *http.Request)

DeleteUserFromGroup operation middleware

func (*ServerInterfaceWrapper) DeleteUserFromMod

func (siw *ServerInterfaceWrapper) DeleteUserFromMod(w http.ResponseWriter, r *http.Request)

DeleteUserFromMod operation middleware

func (*ServerInterfaceWrapper) DeleteUserFromPack

func (siw *ServerInterfaceWrapper) DeleteUserFromPack(w http.ResponseWriter, r *http.Request)

DeleteUserFromPack operation middleware

func (*ServerInterfaceWrapper) DeleteVersion

func (siw *ServerInterfaceWrapper) DeleteVersion(w http.ResponseWriter, r *http.Request)

DeleteVersion operation middleware

func (*ServerInterfaceWrapper) DeleteVersionFromBuild

func (siw *ServerInterfaceWrapper) DeleteVersionFromBuild(w http.ResponseWriter, r *http.Request)

DeleteVersionFromBuild operation middleware

func (*ServerInterfaceWrapper) ListBuildVersions

func (siw *ServerInterfaceWrapper) ListBuildVersions(w http.ResponseWriter, r *http.Request)

ListBuildVersions operation middleware

func (*ServerInterfaceWrapper) ListBuilds

func (siw *ServerInterfaceWrapper) ListBuilds(w http.ResponseWriter, r *http.Request)

ListBuilds operation middleware

func (*ServerInterfaceWrapper) ListFabricBuilds

func (siw *ServerInterfaceWrapper) ListFabricBuilds(w http.ResponseWriter, r *http.Request)

ListFabricBuilds operation middleware

func (*ServerInterfaceWrapper) ListFabrics

func (siw *ServerInterfaceWrapper) ListFabrics(w http.ResponseWriter, r *http.Request)

ListFabrics operation middleware

func (*ServerInterfaceWrapper) ListForgeBuilds

func (siw *ServerInterfaceWrapper) ListForgeBuilds(w http.ResponseWriter, r *http.Request)

ListForgeBuilds operation middleware

func (*ServerInterfaceWrapper) ListForges

func (siw *ServerInterfaceWrapper) ListForges(w http.ResponseWriter, r *http.Request)

ListForges operation middleware

func (*ServerInterfaceWrapper) ListGroupMods

func (siw *ServerInterfaceWrapper) ListGroupMods(w http.ResponseWriter, r *http.Request)

ListGroupMods operation middleware

func (*ServerInterfaceWrapper) ListGroupPacks

func (siw *ServerInterfaceWrapper) ListGroupPacks(w http.ResponseWriter, r *http.Request)

ListGroupPacks operation middleware

func (*ServerInterfaceWrapper) ListGroupUsers

func (siw *ServerInterfaceWrapper) ListGroupUsers(w http.ResponseWriter, r *http.Request)

ListGroupUsers operation middleware

func (*ServerInterfaceWrapper) ListGroups

func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)

ListGroups operation middleware

func (*ServerInterfaceWrapper) ListMinecraftBuilds

func (siw *ServerInterfaceWrapper) ListMinecraftBuilds(w http.ResponseWriter, r *http.Request)

ListMinecraftBuilds operation middleware

func (*ServerInterfaceWrapper) ListMinecrafts

func (siw *ServerInterfaceWrapper) ListMinecrafts(w http.ResponseWriter, r *http.Request)

ListMinecrafts operation middleware

func (*ServerInterfaceWrapper) ListModGroups

func (siw *ServerInterfaceWrapper) ListModGroups(w http.ResponseWriter, r *http.Request)

ListModGroups operation middleware

func (*ServerInterfaceWrapper) ListModUsers

func (siw *ServerInterfaceWrapper) ListModUsers(w http.ResponseWriter, r *http.Request)

ListModUsers operation middleware

func (*ServerInterfaceWrapper) ListMods

func (siw *ServerInterfaceWrapper) ListMods(w http.ResponseWriter, r *http.Request)

ListMods operation middleware

func (*ServerInterfaceWrapper) ListNeoforgeBuilds

func (siw *ServerInterfaceWrapper) ListNeoforgeBuilds(w http.ResponseWriter, r *http.Request)

ListNeoforgeBuilds operation middleware

func (*ServerInterfaceWrapper) ListNeoforges

func (siw *ServerInterfaceWrapper) ListNeoforges(w http.ResponseWriter, r *http.Request)

ListNeoforges operation middleware

func (*ServerInterfaceWrapper) ListPackGroups

func (siw *ServerInterfaceWrapper) ListPackGroups(w http.ResponseWriter, r *http.Request)

ListPackGroups operation middleware

func (*ServerInterfaceWrapper) ListPackUsers

func (siw *ServerInterfaceWrapper) ListPackUsers(w http.ResponseWriter, r *http.Request)

ListPackUsers operation middleware

func (*ServerInterfaceWrapper) ListPacks

func (siw *ServerInterfaceWrapper) ListPacks(w http.ResponseWriter, r *http.Request)

ListPacks operation middleware

func (*ServerInterfaceWrapper) ListProviders

func (siw *ServerInterfaceWrapper) ListProviders(w http.ResponseWriter, r *http.Request)

ListProviders operation middleware

func (*ServerInterfaceWrapper) ListQuiltBuilds

func (siw *ServerInterfaceWrapper) ListQuiltBuilds(w http.ResponseWriter, r *http.Request)

ListQuiltBuilds operation middleware

func (*ServerInterfaceWrapper) ListQuilts

func (siw *ServerInterfaceWrapper) ListQuilts(w http.ResponseWriter, r *http.Request)

ListQuilts operation middleware

func (*ServerInterfaceWrapper) ListUserGroups

func (siw *ServerInterfaceWrapper) ListUserGroups(w http.ResponseWriter, r *http.Request)

ListUserGroups operation middleware

func (*ServerInterfaceWrapper) ListUserMods

func (siw *ServerInterfaceWrapper) ListUserMods(w http.ResponseWriter, r *http.Request)

ListUserMods operation middleware

func (*ServerInterfaceWrapper) ListUserPacks

func (siw *ServerInterfaceWrapper) ListUserPacks(w http.ResponseWriter, r *http.Request)

ListUserPacks operation middleware

func (*ServerInterfaceWrapper) ListUsers

func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)

ListUsers operation middleware

func (*ServerInterfaceWrapper) ListVersionBuilds

func (siw *ServerInterfaceWrapper) ListVersionBuilds(w http.ResponseWriter, r *http.Request)

ListVersionBuilds operation middleware

func (*ServerInterfaceWrapper) ListVersions

func (siw *ServerInterfaceWrapper) ListVersions(w http.ResponseWriter, r *http.Request)

ListVersions operation middleware

func (*ServerInterfaceWrapper) LoginAuth

func (siw *ServerInterfaceWrapper) LoginAuth(w http.ResponseWriter, r *http.Request)

LoginAuth operation middleware

func (*ServerInterfaceWrapper) PermitGroupMod

func (siw *ServerInterfaceWrapper) PermitGroupMod(w http.ResponseWriter, r *http.Request)

PermitGroupMod operation middleware

func (*ServerInterfaceWrapper) PermitGroupPack

func (siw *ServerInterfaceWrapper) PermitGroupPack(w http.ResponseWriter, r *http.Request)

PermitGroupPack operation middleware

func (*ServerInterfaceWrapper) PermitGroupUser

func (siw *ServerInterfaceWrapper) PermitGroupUser(w http.ResponseWriter, r *http.Request)

PermitGroupUser operation middleware

func (*ServerInterfaceWrapper) PermitModGroup

func (siw *ServerInterfaceWrapper) PermitModGroup(w http.ResponseWriter, r *http.Request)

PermitModGroup operation middleware

func (*ServerInterfaceWrapper) PermitModUser

func (siw *ServerInterfaceWrapper) PermitModUser(w http.ResponseWriter, r *http.Request)

PermitModUser operation middleware

func (*ServerInterfaceWrapper) PermitPackGroup

func (siw *ServerInterfaceWrapper) PermitPackGroup(w http.ResponseWriter, r *http.Request)

PermitPackGroup operation middleware

func (*ServerInterfaceWrapper) PermitPackUser

func (siw *ServerInterfaceWrapper) PermitPackUser(w http.ResponseWriter, r *http.Request)

PermitPackUser operation middleware

func (*ServerInterfaceWrapper) PermitUserGroup

func (siw *ServerInterfaceWrapper) PermitUserGroup(w http.ResponseWriter, r *http.Request)

PermitUserGroup operation middleware

func (*ServerInterfaceWrapper) PermitUserMod

func (siw *ServerInterfaceWrapper) PermitUserMod(w http.ResponseWriter, r *http.Request)

PermitUserMod operation middleware

func (*ServerInterfaceWrapper) PermitUserPack

func (siw *ServerInterfaceWrapper) PermitUserPack(w http.ResponseWriter, r *http.Request)

PermitUserPack operation middleware

func (*ServerInterfaceWrapper) RedirectAuth

func (siw *ServerInterfaceWrapper) RedirectAuth(w http.ResponseWriter, r *http.Request)

RedirectAuth operation middleware

func (*ServerInterfaceWrapper) RefreshAuth

func (siw *ServerInterfaceWrapper) RefreshAuth(w http.ResponseWriter, r *http.Request)

RefreshAuth operation middleware

func (*ServerInterfaceWrapper) RequestProvider

func (siw *ServerInterfaceWrapper) RequestProvider(w http.ResponseWriter, r *http.Request)

RequestProvider operation middleware

func (*ServerInterfaceWrapper) ShowBuild

func (siw *ServerInterfaceWrapper) ShowBuild(w http.ResponseWriter, r *http.Request)

ShowBuild operation middleware

func (*ServerInterfaceWrapper) ShowGroup

func (siw *ServerInterfaceWrapper) ShowGroup(w http.ResponseWriter, r *http.Request)

ShowGroup operation middleware

func (*ServerInterfaceWrapper) ShowMod

ShowMod operation middleware

func (*ServerInterfaceWrapper) ShowPack

func (siw *ServerInterfaceWrapper) ShowPack(w http.ResponseWriter, r *http.Request)

ShowPack operation middleware

func (*ServerInterfaceWrapper) ShowProfile

func (siw *ServerInterfaceWrapper) ShowProfile(w http.ResponseWriter, r *http.Request)

ShowProfile operation middleware

func (*ServerInterfaceWrapper) ShowUser

func (siw *ServerInterfaceWrapper) ShowUser(w http.ResponseWriter, r *http.Request)

ShowUser operation middleware

func (*ServerInterfaceWrapper) ShowVersion

func (siw *ServerInterfaceWrapper) ShowVersion(w http.ResponseWriter, r *http.Request)

ShowVersion operation middleware

func (*ServerInterfaceWrapper) TokenProfile

func (siw *ServerInterfaceWrapper) TokenProfile(w http.ResponseWriter, r *http.Request)

TokenProfile operation middleware

func (*ServerInterfaceWrapper) UpdateBuild

func (siw *ServerInterfaceWrapper) UpdateBuild(w http.ResponseWriter, r *http.Request)

UpdateBuild operation middleware

func (*ServerInterfaceWrapper) UpdateFabric

func (siw *ServerInterfaceWrapper) UpdateFabric(w http.ResponseWriter, r *http.Request)

UpdateFabric operation middleware

func (*ServerInterfaceWrapper) UpdateForge

func (siw *ServerInterfaceWrapper) UpdateForge(w http.ResponseWriter, r *http.Request)

UpdateForge operation middleware

func (*ServerInterfaceWrapper) UpdateGroup

func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)

UpdateGroup operation middleware

func (*ServerInterfaceWrapper) UpdateMinecraft

func (siw *ServerInterfaceWrapper) UpdateMinecraft(w http.ResponseWriter, r *http.Request)

UpdateMinecraft operation middleware

func (*ServerInterfaceWrapper) UpdateMod

func (siw *ServerInterfaceWrapper) UpdateMod(w http.ResponseWriter, r *http.Request)

UpdateMod operation middleware

func (*ServerInterfaceWrapper) UpdateNeoforge

func (siw *ServerInterfaceWrapper) UpdateNeoforge(w http.ResponseWriter, r *http.Request)

UpdateNeoforge operation middleware

func (*ServerInterfaceWrapper) UpdatePack

func (siw *ServerInterfaceWrapper) UpdatePack(w http.ResponseWriter, r *http.Request)

UpdatePack operation middleware

func (*ServerInterfaceWrapper) UpdateProfile

func (siw *ServerInterfaceWrapper) UpdateProfile(w http.ResponseWriter, r *http.Request)

UpdateProfile operation middleware

func (*ServerInterfaceWrapper) UpdateQuilt

func (siw *ServerInterfaceWrapper) UpdateQuilt(w http.ResponseWriter, r *http.Request)

UpdateQuilt operation middleware

func (*ServerInterfaceWrapper) UpdateUser

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

func (*ServerInterfaceWrapper) UpdateVersion

func (siw *ServerInterfaceWrapper) UpdateVersion(w http.ResponseWriter, r *http.Request)

UpdateVersion operation middleware

func (*ServerInterfaceWrapper) VerifyAuth

func (siw *ServerInterfaceWrapper) VerifyAuth(w http.ResponseWriter, r *http.Request)

VerifyAuth operation middleware

type SortColumnParam

type SortColumnParam = string

SortColumnParam defines model for SortColumnParam.

type SortOrderParam

type SortOrderParam string

SortOrderParam defines model for SortOrderParam.

const (
	SortOrderParamAsc  SortOrderParam = "asc"
	SortOrderParamDesc SortOrderParam = "desc"
)

Defines values for SortOrderParam.

type SuccessMessage

type SuccessMessage = Notification

SuccessMessage Generic response for errors and validations

type TokenResponse

type TokenResponse = AuthToken

TokenResponse defines model for TokenResponse.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) AttachBuildToVersion

func (_ Unimplemented) AttachBuildToVersion(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)

Attach a version to a build (POST /packs/{pack_id}/builds/{build_id}/versions)

func (Unimplemented) AttachFabricToBuild

func (_ Unimplemented) AttachFabricToBuild(w http.ResponseWriter, r *http.Request, fabricID FabricID)

Attach a build to a Fabric version (POST /fabric/{fabric_id}/builds)

func (Unimplemented) AttachForgeToBuild

func (_ Unimplemented) AttachForgeToBuild(w http.ResponseWriter, r *http.Request, forgeID ForgeID)

Attach a build to a Forge version (POST /forge/{forge_id}/builds)

func (Unimplemented) AttachGroupToMod

func (_ Unimplemented) AttachGroupToMod(w http.ResponseWriter, r *http.Request, groupID GroupID)

Attach a mod to group (POST /groups/{group_id}/mods)

func (Unimplemented) AttachGroupToPack

func (_ Unimplemented) AttachGroupToPack(w http.ResponseWriter, r *http.Request, groupID GroupID)

Attach a pack to group (POST /groups/{group_id}/packs)

func (Unimplemented) AttachGroupToUser

func (_ Unimplemented) AttachGroupToUser(w http.ResponseWriter, r *http.Request, groupID GroupID)

Attach a user to group (POST /groups/{group_id}/users)

func (Unimplemented) AttachMinecraftToBuild

func (_ Unimplemented) AttachMinecraftToBuild(w http.ResponseWriter, r *http.Request, minecraftID MinecraftID)

Attach a build to a Minecraft version (POST /minecraft/{minecraft_id}/builds)

func (Unimplemented) AttachModToGroup

func (_ Unimplemented) AttachModToGroup(w http.ResponseWriter, r *http.Request, modID ModID)

Attach a group to mod (POST /mods/{mod_id}/groups)

func (Unimplemented) AttachModToUser

func (_ Unimplemented) AttachModToUser(w http.ResponseWriter, r *http.Request, modID ModID)

Attach a user to mod (POST /mods/{mod_id}/users)

func (Unimplemented) AttachNeoforgeToBuild

func (_ Unimplemented) AttachNeoforgeToBuild(w http.ResponseWriter, r *http.Request, neoforgeID NeoforgeID)

Attach a build to a Neoforge version (POST /neoforge/{neoforge_id}/builds)

func (Unimplemented) AttachPackToGroup

func (_ Unimplemented) AttachPackToGroup(w http.ResponseWriter, r *http.Request, packID PackID)

Attach a group to pack (POST /packs/{pack_id}/groups)

func (Unimplemented) AttachPackToUser

func (_ Unimplemented) AttachPackToUser(w http.ResponseWriter, r *http.Request, packID PackID)

Attach a user to pack (POST /packs/{pack_id}/users)

func (Unimplemented) AttachQuiltToBuild

func (_ Unimplemented) AttachQuiltToBuild(w http.ResponseWriter, r *http.Request, quiltID QuiltID)

Attach a build to a Quilt version (POST /quilt/{quilt_id}/builds)

func (Unimplemented) AttachUserToGroup

func (_ Unimplemented) AttachUserToGroup(w http.ResponseWriter, r *http.Request, userID UserID)

Attach a group to user (POST /users/{user_id}/groups)

func (Unimplemented) AttachUserToMod

func (_ Unimplemented) AttachUserToMod(w http.ResponseWriter, r *http.Request, userID UserID)

Attach a mod to user (POST /users/{user_id}/mods)

func (Unimplemented) AttachUserToPack

func (_ Unimplemented) AttachUserToPack(w http.ResponseWriter, r *http.Request, userID UserID)

Attach a pack to user (POST /users/{user_id}/packs)

func (Unimplemented) AttachVersionToBuild

func (_ Unimplemented) AttachVersionToBuild(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)

Attach a build to a version (POST /mods/{mod_id}/versions/{version_id}/builds)

func (Unimplemented) CallbackProvider

func (_ Unimplemented) CallbackProvider(w http.ResponseWriter, r *http.Request, provider AuthProviderParam, params CallbackProviderParams)

Callback to parse the defined provider (GET /auth/{provider}/callback)

func (Unimplemented) CreateBuild

func (_ Unimplemented) CreateBuild(w http.ResponseWriter, r *http.Request, packID PackID)

Create a new build for a pack (POST /packs/{pack_id}/builds)

func (Unimplemented) CreateGroup

func (_ Unimplemented) CreateGroup(w http.ResponseWriter, r *http.Request)

Create a new group (POST /groups)

func (Unimplemented) CreateMod

func (_ Unimplemented) CreateMod(w http.ResponseWriter, r *http.Request)

Create a new mod (POST /mods)

func (Unimplemented) CreateModAvatar

func (_ Unimplemented) CreateModAvatar(w http.ResponseWriter, r *http.Request, modID ModID)

Upload an avatar for the defined mod (POST /mods/{mod_id}/avatar)

func (Unimplemented) CreatePack

func (_ Unimplemented) CreatePack(w http.ResponseWriter, r *http.Request)

Create a new pack (POST /packs)

func (Unimplemented) CreatePackAvatar

func (_ Unimplemented) CreatePackAvatar(w http.ResponseWriter, r *http.Request, packID PackID)

Upload an avatar for the defined pack (POST /packs/{pack_id}/avatar)

func (Unimplemented) CreateUser

func (_ Unimplemented) CreateUser(w http.ResponseWriter, r *http.Request)

Create a new user (POST /users)

func (Unimplemented) CreateVersion

func (_ Unimplemented) CreateVersion(w http.ResponseWriter, r *http.Request, modID ModID)

Create a new version for a mod (POST /mods/{mod_id}/versions)

func (Unimplemented) DeleteBuild

func (_ Unimplemented) DeleteBuild(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)

Delete a specific build for a pack (DELETE /packs/{pack_id}/builds/{build_id})

func (Unimplemented) DeleteBuildFromVersion

func (_ Unimplemented) DeleteBuildFromVersion(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)

Unlink a version from a build (DELETE /packs/{pack_id}/builds/{build_id}/versions)

func (Unimplemented) DeleteFabricFromBuild

func (_ Unimplemented) DeleteFabricFromBuild(w http.ResponseWriter, r *http.Request, fabricID FabricID)

Unlink a build from a Fabric version (DELETE /fabric/{fabric_id}/builds)

func (Unimplemented) DeleteForgeFromBuild

func (_ Unimplemented) DeleteForgeFromBuild(w http.ResponseWriter, r *http.Request, forgeID ForgeID)

Unlink a build from a Forge version (DELETE /forge/{forge_id}/builds)

func (Unimplemented) DeleteGroup

func (_ Unimplemented) DeleteGroup(w http.ResponseWriter, r *http.Request, groupID GroupID)

Delete a specific group (DELETE /groups/{group_id})

func (Unimplemented) DeleteGroupFromMod

func (_ Unimplemented) DeleteGroupFromMod(w http.ResponseWriter, r *http.Request, groupID GroupID)

Unlink a mod from group (DELETE /groups/{group_id}/mods)

func (Unimplemented) DeleteGroupFromPack

func (_ Unimplemented) DeleteGroupFromPack(w http.ResponseWriter, r *http.Request, groupID GroupID)

Unlink a pack from group (DELETE /groups/{group_id}/packs)

func (Unimplemented) DeleteGroupFromUser

func (_ Unimplemented) DeleteGroupFromUser(w http.ResponseWriter, r *http.Request, groupID GroupID)

Unlink a user from group (DELETE /groups/{group_id}/users)

func (Unimplemented) DeleteMinecraftFromBuild

func (_ Unimplemented) DeleteMinecraftFromBuild(w http.ResponseWriter, r *http.Request, minecraftID MinecraftID)

Unlink a build from a Minecraft version (DELETE /minecraft/{minecraft_id}/builds)

func (Unimplemented) DeleteMod

func (_ Unimplemented) DeleteMod(w http.ResponseWriter, r *http.Request, modID ModID)

Delete a specific mod (DELETE /mods/{mod_id})

func (Unimplemented) DeleteModAvatar

func (_ Unimplemented) DeleteModAvatar(w http.ResponseWriter, r *http.Request, modID ModID)

Delete the avatar for the defined mod (DELETE /mods/{mod_id}/avatar)

func (Unimplemented) DeleteModFromGroup

func (_ Unimplemented) DeleteModFromGroup(w http.ResponseWriter, r *http.Request, modID ModID)

Unlink a group from mod (DELETE /mods/{mod_id}/groups)

func (Unimplemented) DeleteModFromUser

func (_ Unimplemented) DeleteModFromUser(w http.ResponseWriter, r *http.Request, modID ModID)

Unlink a user from mod (DELETE /mods/{mod_id}/users)

func (Unimplemented) DeleteNeoforgeFromBuild

func (_ Unimplemented) DeleteNeoforgeFromBuild(w http.ResponseWriter, r *http.Request, neoforgeID NeoforgeID)

Unlink a build from a Neoforge version (DELETE /neoforge/{neoforge_id}/builds)

func (Unimplemented) DeletePack

func (_ Unimplemented) DeletePack(w http.ResponseWriter, r *http.Request, packID PackID)

Delete a specific pack (DELETE /packs/{pack_id})

func (Unimplemented) DeletePackAvatar

func (_ Unimplemented) DeletePackAvatar(w http.ResponseWriter, r *http.Request, packID PackID)

Delete the avatar for the defined pack (DELETE /packs/{pack_id}/avatar)

func (Unimplemented) DeletePackFromGroup

func (_ Unimplemented) DeletePackFromGroup(w http.ResponseWriter, r *http.Request, packID PackID)

Unlink a group from pack (DELETE /packs/{pack_id}/groups)

func (Unimplemented) DeletePackFromUser

func (_ Unimplemented) DeletePackFromUser(w http.ResponseWriter, r *http.Request, packID PackID)

Unlink a user from pack (DELETE /packs/{pack_id}/users)

func (Unimplemented) DeleteQuiltFromBuild

func (_ Unimplemented) DeleteQuiltFromBuild(w http.ResponseWriter, r *http.Request, quiltID QuiltID)

Unlink a build from a Quilt version (DELETE /quilt/{quilt_id}/builds)

func (Unimplemented) DeleteUser

func (_ Unimplemented) DeleteUser(w http.ResponseWriter, r *http.Request, userID UserID)

Delete a specific user (DELETE /users/{user_id})

func (Unimplemented) DeleteUserFromGroup

func (_ Unimplemented) DeleteUserFromGroup(w http.ResponseWriter, r *http.Request, userID UserID)

Unlink a group from user (DELETE /users/{user_id}/groups)

func (Unimplemented) DeleteUserFromMod

func (_ Unimplemented) DeleteUserFromMod(w http.ResponseWriter, r *http.Request, userID UserID)

Unlink a mod from user (DELETE /users/{user_id}/mods)

func (Unimplemented) DeleteUserFromPack

func (_ Unimplemented) DeleteUserFromPack(w http.ResponseWriter, r *http.Request, userID UserID)

Unlink a pack from user (DELETE /users/{user_id}/packs)

func (Unimplemented) DeleteVersion

func (_ Unimplemented) DeleteVersion(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)

Delete a specific version for a mod (DELETE /mods/{mod_id}/versions/{version_id})

func (Unimplemented) DeleteVersionFromBuild

func (_ Unimplemented) DeleteVersionFromBuild(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)

Unlink a build from a version (DELETE /mods/{mod_id}/versions/{version_id}/builds)

func (Unimplemented) ListBuildVersions

func (_ Unimplemented) ListBuildVersions(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID, params ListBuildVersionsParams)

Fetch all versions attached to build (GET /packs/{pack_id}/builds/{build_id}/versions)

func (Unimplemented) ListBuilds

func (_ Unimplemented) ListBuilds(w http.ResponseWriter, r *http.Request, packID PackID, params ListBuildsParams)

Fetch all available builds for a pack (GET /packs/{pack_id}/builds)

func (Unimplemented) ListFabricBuilds

func (_ Unimplemented) ListFabricBuilds(w http.ResponseWriter, r *http.Request, fabricID FabricID, params ListFabricBuildsParams)

Fetch the builds attached to a Fabric version (GET /fabric/{fabric_id}/builds)

func (Unimplemented) ListFabrics

func (_ Unimplemented) ListFabrics(w http.ResponseWriter, r *http.Request, params ListFabricsParams)

Fetch the available Fabric versions (GET /fabric)

func (Unimplemented) ListForgeBuilds

func (_ Unimplemented) ListForgeBuilds(w http.ResponseWriter, r *http.Request, forgeID ForgeID, params ListForgeBuildsParams)

Fetch the builds attached to a Forge version (GET /forge/{forge_id}/builds)

func (Unimplemented) ListForges

func (_ Unimplemented) ListForges(w http.ResponseWriter, r *http.Request, params ListForgesParams)

Fetch the available Forge versions (GET /forge)

func (Unimplemented) ListGroupMods

func (_ Unimplemented) ListGroupMods(w http.ResponseWriter, r *http.Request, groupID GroupID, params ListGroupModsParams)

Fetch all mods attached to group (GET /groups/{group_id}/mods)

func (Unimplemented) ListGroupPacks

func (_ Unimplemented) ListGroupPacks(w http.ResponseWriter, r *http.Request, groupID GroupID, params ListGroupPacksParams)

Fetch all packs attached to group (GET /groups/{group_id}/packs)

func (Unimplemented) ListGroupUsers

func (_ Unimplemented) ListGroupUsers(w http.ResponseWriter, r *http.Request, groupID GroupID, params ListGroupUsersParams)

Fetch all users attached to group (GET /groups/{group_id}/users)

func (Unimplemented) ListGroups

func (_ Unimplemented) ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)

Fetch all available groups (GET /groups)

func (Unimplemented) ListMinecraftBuilds

func (_ Unimplemented) ListMinecraftBuilds(w http.ResponseWriter, r *http.Request, minecraftID MinecraftID, params ListMinecraftBuildsParams)

Fetch the builds attached to a Minecraft version (GET /minecraft/{minecraft_id}/builds)

func (Unimplemented) ListMinecrafts

func (_ Unimplemented) ListMinecrafts(w http.ResponseWriter, r *http.Request, params ListMinecraftsParams)

Fetch the available Minecraft versions (GET /minecraft)

func (Unimplemented) ListModGroups

func (_ Unimplemented) ListModGroups(w http.ResponseWriter, r *http.Request, modID ModID, params ListModGroupsParams)

Fetch all groups attached to mod (GET /mods/{mod_id}/groups)

func (Unimplemented) ListModUsers

func (_ Unimplemented) ListModUsers(w http.ResponseWriter, r *http.Request, modID ModID, params ListModUsersParams)

Fetch all users attached to mod (GET /mods/{mod_id}/users)

func (Unimplemented) ListMods

func (_ Unimplemented) ListMods(w http.ResponseWriter, r *http.Request, params ListModsParams)

Fetch all available mods (GET /mods)

func (Unimplemented) ListNeoforgeBuilds

func (_ Unimplemented) ListNeoforgeBuilds(w http.ResponseWriter, r *http.Request, neoforgeID NeoforgeID, params ListNeoforgeBuildsParams)

Fetch the builds attached to a Neoforge version (GET /neoforge/{neoforge_id}/builds)

func (Unimplemented) ListNeoforges

func (_ Unimplemented) ListNeoforges(w http.ResponseWriter, r *http.Request, params ListNeoforgesParams)

Fetch the available Neoforge versions (GET /neoforge)

func (Unimplemented) ListPackGroups

func (_ Unimplemented) ListPackGroups(w http.ResponseWriter, r *http.Request, packID PackID, params ListPackGroupsParams)

Fetch all groups attached to pack (GET /packs/{pack_id}/groups)

func (Unimplemented) ListPackUsers

func (_ Unimplemented) ListPackUsers(w http.ResponseWriter, r *http.Request, packID PackID, params ListPackUsersParams)

Fetch all users attached to pack (GET /packs/{pack_id}/users)

func (Unimplemented) ListPacks

func (_ Unimplemented) ListPacks(w http.ResponseWriter, r *http.Request, params ListPacksParams)

Fetch all available packs (GET /packs)

func (Unimplemented) ListProviders

func (_ Unimplemented) ListProviders(w http.ResponseWriter, r *http.Request)

Fetch the available auth providers (GET /auth/providers)

func (Unimplemented) ListQuiltBuilds

func (_ Unimplemented) ListQuiltBuilds(w http.ResponseWriter, r *http.Request, quiltID QuiltID, params ListQuiltBuildsParams)

Fetch the builds attached to a Quilt version (GET /quilt/{quilt_id}/builds)

func (Unimplemented) ListQuilts

func (_ Unimplemented) ListQuilts(w http.ResponseWriter, r *http.Request, params ListQuiltsParams)

Fetch the available Quilt versions (GET /quilt)

func (Unimplemented) ListUserGroups

func (_ Unimplemented) ListUserGroups(w http.ResponseWriter, r *http.Request, userID UserID, params ListUserGroupsParams)

Fetch all groups attached to user (GET /users/{user_id}/groups)

func (Unimplemented) ListUserMods

func (_ Unimplemented) ListUserMods(w http.ResponseWriter, r *http.Request, userID UserID, params ListUserModsParams)

Fetch all mods attached to user (GET /users/{user_id}/mods)

func (Unimplemented) ListUserPacks

func (_ Unimplemented) ListUserPacks(w http.ResponseWriter, r *http.Request, userID UserID, params ListUserPacksParams)

Fetch all packs attached to user (GET /users/{user_id}/packs)

func (Unimplemented) ListUsers

func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)

Fetch all available users (GET /users)

func (Unimplemented) ListVersionBuilds

func (_ Unimplemented) ListVersionBuilds(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID, params ListVersionBuildsParams)

Fetch all builds attached to version (GET /mods/{mod_id}/versions/{version_id}/builds)

func (Unimplemented) ListVersions

func (_ Unimplemented) ListVersions(w http.ResponseWriter, r *http.Request, modID ModID, params ListVersionsParams)

Fetch all available versions for a mod (GET /mods/{mod_id}/versions)

func (Unimplemented) LoginAuth

func (_ Unimplemented) LoginAuth(w http.ResponseWriter, r *http.Request)

Authenticate an user by credentials (POST /auth/login)

func (Unimplemented) PermitGroupMod

func (_ Unimplemented) PermitGroupMod(w http.ResponseWriter, r *http.Request, groupID GroupID)

Update mod perms for group (PUT /groups/{group_id}/mods)

func (Unimplemented) PermitGroupPack

func (_ Unimplemented) PermitGroupPack(w http.ResponseWriter, r *http.Request, groupID GroupID)

Update pack perms for group (PUT /groups/{group_id}/packs)

func (Unimplemented) PermitGroupUser

func (_ Unimplemented) PermitGroupUser(w http.ResponseWriter, r *http.Request, groupID GroupID)

Update user perms for group (PUT /groups/{group_id}/users)

func (Unimplemented) PermitModGroup

func (_ Unimplemented) PermitModGroup(w http.ResponseWriter, r *http.Request, modID ModID)

Update group perms for mod (PUT /mods/{mod_id}/groups)

func (Unimplemented) PermitModUser

func (_ Unimplemented) PermitModUser(w http.ResponseWriter, r *http.Request, modID ModID)

Update user perms for mod (PUT /mods/{mod_id}/users)

func (Unimplemented) PermitPackGroup

func (_ Unimplemented) PermitPackGroup(w http.ResponseWriter, r *http.Request, packID PackID)

Update group perms for pack (PUT /packs/{pack_id}/groups)

func (Unimplemented) PermitPackUser

func (_ Unimplemented) PermitPackUser(w http.ResponseWriter, r *http.Request, packID PackID)

Update user perms for pack (PUT /packs/{pack_id}/users)

func (Unimplemented) PermitUserGroup

func (_ Unimplemented) PermitUserGroup(w http.ResponseWriter, r *http.Request, userID UserID)

Update group perms for user (PUT /users/{user_id}/groups)

func (Unimplemented) PermitUserMod

func (_ Unimplemented) PermitUserMod(w http.ResponseWriter, r *http.Request, userID UserID)

Update mod perms for user (PUT /users/{user_id}/mods)

func (Unimplemented) PermitUserPack

func (_ Unimplemented) PermitUserPack(w http.ResponseWriter, r *http.Request, userID UserID)

Update pack perms for user (PUT /users/{user_id}/packs)

func (Unimplemented) RedirectAuth

func (_ Unimplemented) RedirectAuth(w http.ResponseWriter, r *http.Request)

Retrieve real token after redirect (POST /auth/redirect)

func (Unimplemented) RefreshAuth

func (_ Unimplemented) RefreshAuth(w http.ResponseWriter, r *http.Request)

Refresh an auth token before it expires (GET /auth/refresh)

func (Unimplemented) RequestProvider

func (_ Unimplemented) RequestProvider(w http.ResponseWriter, r *http.Request, provider AuthProviderParam)

Request the redirect to defined provider (GET /auth/{provider}/request)

func (Unimplemented) ShowBuild

func (_ Unimplemented) ShowBuild(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)

Fetch a specific build for a pack (GET /packs/{pack_id}/builds/{build_id})

func (Unimplemented) ShowGroup

func (_ Unimplemented) ShowGroup(w http.ResponseWriter, r *http.Request, groupID GroupID)

Fetch a specific group (GET /groups/{group_id})

func (Unimplemented) ShowMod

func (_ Unimplemented) ShowMod(w http.ResponseWriter, r *http.Request, modID ModID)

Fetch a specific mod (GET /mods/{mod_id})

func (Unimplemented) ShowPack

func (_ Unimplemented) ShowPack(w http.ResponseWriter, r *http.Request, packID PackID)

Fetch a specific pack (GET /packs/{pack_id})

func (Unimplemented) ShowProfile

func (_ Unimplemented) ShowProfile(w http.ResponseWriter, r *http.Request)

Fetch profile details of the personal account (GET /profile/self)

func (Unimplemented) ShowUser

func (_ Unimplemented) ShowUser(w http.ResponseWriter, r *http.Request, userID UserID)

Fetch a specific user (GET /users/{user_id})

func (Unimplemented) ShowVersion

func (_ Unimplemented) ShowVersion(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)

Fetch a specific version for a mod (GET /mods/{mod_id}/versions/{version_id})

func (Unimplemented) TokenProfile

func (_ Unimplemented) TokenProfile(w http.ResponseWriter, r *http.Request)

Retrieve an unlimited auth token (GET /profile/token)

func (Unimplemented) UpdateBuild

func (_ Unimplemented) UpdateBuild(w http.ResponseWriter, r *http.Request, packID PackID, buildID BuildID)

Update a specific build for a pack (PUT /packs/{pack_id}/builds/{build_id})

func (Unimplemented) UpdateFabric

func (_ Unimplemented) UpdateFabric(w http.ResponseWriter, r *http.Request)

Update the available Fabric versions (PUT /fabric)

func (Unimplemented) UpdateForge

func (_ Unimplemented) UpdateForge(w http.ResponseWriter, r *http.Request)

Update the available Forge versions (PUT /forge)

func (Unimplemented) UpdateGroup

func (_ Unimplemented) UpdateGroup(w http.ResponseWriter, r *http.Request, groupID GroupID)

Update a specific group (PUT /groups/{group_id})

func (Unimplemented) UpdateMinecraft

func (_ Unimplemented) UpdateMinecraft(w http.ResponseWriter, r *http.Request)

Update the available Minecraft versions (PUT /minecraft)

func (Unimplemented) UpdateMod

func (_ Unimplemented) UpdateMod(w http.ResponseWriter, r *http.Request, modID ModID)

Update a specific mod (PUT /mods/{mod_id})

func (Unimplemented) UpdateNeoforge

func (_ Unimplemented) UpdateNeoforge(w http.ResponseWriter, r *http.Request)

Update the available Neoforge versions (PUT /neoforge)

func (Unimplemented) UpdatePack

func (_ Unimplemented) UpdatePack(w http.ResponseWriter, r *http.Request, packID PackID)

Update a specific pack (PUT /packs/{pack_id})

func (Unimplemented) UpdateProfile

func (_ Unimplemented) UpdateProfile(w http.ResponseWriter, r *http.Request)

Update your own profile information (PUT /profile/self)

func (Unimplemented) UpdateQuilt

func (_ Unimplemented) UpdateQuilt(w http.ResponseWriter, r *http.Request)

Update the available Quilt versions (PUT /quilt)

func (Unimplemented) UpdateUser

func (_ Unimplemented) UpdateUser(w http.ResponseWriter, r *http.Request, userID UserID)

Update a specific user (PUT /users/{user_id})

func (Unimplemented) UpdateVersion

func (_ Unimplemented) UpdateVersion(w http.ResponseWriter, r *http.Request, modID ModID, versionID VersionID)

Update a specific version for a mod (PUT /mods/{mod_id}/versions/{version_id})

func (Unimplemented) VerifyAuth

func (_ Unimplemented) VerifyAuth(w http.ResponseWriter, r *http.Request)

Verify validity for an authentication token (GET /auth/verify)

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateBuildBody

type UpdateBuildBody struct {
	FabricID    *string `json:"fabric_id,omitempty"`
	ForgeID     *string `json:"forge_id,omitempty"`
	Java        *string `json:"java,omitempty"`
	Latest      *bool   `json:"latest,omitempty"`
	Memory      *string `json:"memory,omitempty"`
	MinecraftID *string `json:"minecraft_id,omitempty"`
	Name        *string `json:"name,omitempty"`
	NeoforgeID  *string `json:"neoforge_id,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	QuiltID     *string `json:"quilt_id,omitempty"`
	Recommended *bool   `json:"recommended,omitempty"`
}

UpdateBuildBody defines model for UpdateBuildBody.

type UpdateBuildJSONBody

type UpdateBuildJSONBody struct {
	FabricID    *string `json:"fabric_id,omitempty"`
	ForgeID     *string `json:"forge_id,omitempty"`
	Java        *string `json:"java,omitempty"`
	Latest      *bool   `json:"latest,omitempty"`
	Memory      *string `json:"memory,omitempty"`
	MinecraftID *string `json:"minecraft_id,omitempty"`
	Name        *string `json:"name,omitempty"`
	NeoforgeID  *string `json:"neoforge_id,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	QuiltID     *string `json:"quilt_id,omitempty"`
	Recommended *bool   `json:"recommended,omitempty"`
}

UpdateBuildJSONBody defines parameters for UpdateBuild.

type UpdateBuildJSONRequestBody

type UpdateBuildJSONRequestBody UpdateBuildJSONBody

UpdateBuildJSONRequestBody defines body for UpdateBuild for application/json ContentType.

type UpdateGroupBody

type UpdateGroupBody struct {
	Name *string `json:"name,omitempty"`
	Slug *string `json:"slug,omitempty"`
}

UpdateGroupBody defines model for UpdateGroupBody.

type UpdateGroupJSONBody

type UpdateGroupJSONBody struct {
	Name *string `json:"name,omitempty"`
	Slug *string `json:"slug,omitempty"`
}

UpdateGroupJSONBody defines parameters for UpdateGroup.

type UpdateGroupJSONRequestBody

type UpdateGroupJSONRequestBody UpdateGroupJSONBody

UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.

type UpdateModBody

type UpdateModBody struct {
	Author      *string `json:"author,omitempty"`
	Description *string `json:"description,omitempty"`
	Donate      *string `json:"donate,omitempty"`
	Name        *string `json:"name,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	Side        *string `json:"side,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	Website     *string `json:"website,omitempty"`
}

UpdateModBody defines model for UpdateModBody.

type UpdateModJSONBody

type UpdateModJSONBody struct {
	Author      *string `json:"author,omitempty"`
	Description *string `json:"description,omitempty"`
	Donate      *string `json:"donate,omitempty"`
	Name        *string `json:"name,omitempty"`
	Public      *bool   `json:"public,omitempty"`
	Side        *string `json:"side,omitempty"`
	Slug        *string `json:"slug,omitempty"`
	Website     *string `json:"website,omitempty"`
}

UpdateModJSONBody defines parameters for UpdateMod.

type UpdateModJSONRequestBody

type UpdateModJSONRequestBody UpdateModJSONBody

UpdateModJSONRequestBody defines body for UpdateMod for application/json ContentType.

type UpdatePackBody

type UpdatePackBody struct {
	Name    *string `json:"name,omitempty"`
	Public  *bool   `json:"public,omitempty"`
	Slug    *string `json:"slug,omitempty"`
	Website *string `json:"website,omitempty"`
}

UpdatePackBody defines model for UpdatePackBody.

type UpdatePackJSONBody

type UpdatePackJSONBody struct {
	Name    *string `json:"name,omitempty"`
	Public  *bool   `json:"public,omitempty"`
	Slug    *string `json:"slug,omitempty"`
	Website *string `json:"website,omitempty"`
}

UpdatePackJSONBody defines parameters for UpdatePack.

type UpdatePackJSONRequestBody

type UpdatePackJSONRequestBody UpdatePackJSONBody

UpdatePackJSONRequestBody defines body for UpdatePack for application/json ContentType.

type UpdateProfileBody

type UpdateProfileBody struct {
	Email    *string `json:"email,omitempty"`
	Fullname *string `json:"fullname,omitempty"`
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`
}

UpdateProfileBody defines model for UpdateProfileBody.

type UpdateProfileJSONBody

type UpdateProfileJSONBody struct {
	Email    *string `json:"email,omitempty"`
	Fullname *string `json:"fullname,omitempty"`
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`
}

UpdateProfileJSONBody defines parameters for UpdateProfile.

type UpdateProfileJSONRequestBody

type UpdateProfileJSONRequestBody UpdateProfileJSONBody

UpdateProfileJSONRequestBody defines body for UpdateProfile for application/json ContentType.

type UpdateUserBody

type UpdateUserBody struct {
	Active   *bool   `json:"active,omitempty"`
	Admin    *bool   `json:"admin,omitempty"`
	Email    *string `json:"email,omitempty"`
	Fullname *string `json:"fullname,omitempty"`
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`
}

UpdateUserBody defines model for UpdateUserBody.

type UpdateUserJSONBody

type UpdateUserJSONBody struct {
	Active   *bool   `json:"active,omitempty"`
	Admin    *bool   `json:"admin,omitempty"`
	Email    *string `json:"email,omitempty"`
	Fullname *string `json:"fullname,omitempty"`
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`
}

UpdateUserJSONBody defines parameters for UpdateUser.

type UpdateUserJSONRequestBody

type UpdateUserJSONRequestBody UpdateUserJSONBody

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateVersionBody

type UpdateVersionBody struct {
	Name   *string `json:"name,omitempty"`
	Public *bool   `json:"public,omitempty"`
	Upload *string `json:"upload,omitempty"`
}

UpdateVersionBody defines model for UpdateVersionBody.

type UpdateVersionJSONBody

type UpdateVersionJSONBody struct {
	Name   *string `json:"name,omitempty"`
	Public *bool   `json:"public,omitempty"`
	Upload *string `json:"upload,omitempty"`
}

UpdateVersionJSONBody defines parameters for UpdateVersion.

type UpdateVersionJSONRequestBody

type UpdateVersionJSONRequestBody UpdateVersionJSONBody

UpdateVersionJSONRequestBody defines body for UpdateVersion for application/json ContentType.

type User

type User struct {
	Active    *bool       `json:"active,omitempty"`
	Admin     *bool       `json:"admin,omitempty"`
	Auths     *[]UserAuth `json:"auths,omitempty"`
	CreatedAt *time.Time  `json:"created_at,omitempty"`
	Email     *string     `json:"email,omitempty"`
	Fullname  *string     `json:"fullname,omitempty"`
	ID        *string     `json:"id,omitempty"`
	Password  *string     `json:"password,omitempty"`
	Profile   *string     `json:"profile,omitempty"`
	UpdatedAt *time.Time  `json:"updated_at,omitempty"`
	Username  *string     `json:"username,omitempty"`
}

User Model to represent user

type UserAuth

type UserAuth struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Provider  *string    `json:"provider,omitempty"`
	Ref       *string    `json:"ref,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

UserAuth Model to represent user auth

type UserGroup

type UserGroup struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Group Model to represent group
	Group     *Group         `json:"group,omitempty"`
	GroupID   string         `json:"group_id"`
	Perm      *UserGroupPerm `json:"perm,omitempty"`
	UpdatedAt *time.Time     `json:"updated_at,omitempty"`

	// User Model to represent user
	User   *User  `json:"user,omitempty"`
	UserID string `json:"user_id"`
}

UserGroup Model to represent user group

type UserGroupDropBody

type UserGroupDropBody struct {
	Group string `json:"group"`
}

UserGroupDropBody defines model for UserGroupDropBody.

type UserGroupPerm

type UserGroupPerm string

UserGroupPerm defines model for UserGroup.Perm.

const (
	UserGroupPermAdmin UserGroupPerm = "admin"
	UserGroupPermOwner UserGroupPerm = "owner"
	UserGroupPermUser  UserGroupPerm = "user"
)

Defines values for UserGroupPerm.

type UserGroupPermBody

type UserGroupPermBody struct {
	Group string `json:"group"`
	Perm  string `json:"perm"`
}

UserGroupPermBody defines model for UserGroupPermBody.

type UserGroupsResponse

type UserGroupsResponse struct {
	Groups []UserGroup `json:"groups"`
	Limit  int64       `json:"limit"`
	Offset int64       `json:"offset"`
	Total  int64       `json:"total"`

	// User Model to represent user
	User *User `json:"user,omitempty"`
}

UserGroupsResponse defines model for UserGroupsResponse.

type UserID

type UserID = string

UserID defines model for UserParam.

type UserMod

type UserMod struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Mod Model to represent mod
	Mod       *Mod         `json:"mod,omitempty"`
	ModID     string       `json:"mod_id"`
	Perm      *UserModPerm `json:"perm,omitempty"`
	UpdatedAt *time.Time   `json:"updated_at,omitempty"`

	// User Model to represent user
	User   *User  `json:"user,omitempty"`
	UserID string `json:"user_id"`
}

UserMod Model to represent user mod

type UserModDropBody

type UserModDropBody struct {
	Mod string `json:"mod"`
}

UserModDropBody defines model for UserModDropBody.

type UserModPerm

type UserModPerm string

UserModPerm defines model for UserMod.Perm.

const (
	UserModPermAdmin UserModPerm = "admin"
	UserModPermOwner UserModPerm = "owner"
	UserModPermUser  UserModPerm = "user"
)

Defines values for UserModPerm.

type UserModPermBody

type UserModPermBody struct {
	Mod  string `json:"mod"`
	Perm string `json:"perm"`
}

UserModPermBody defines model for UserModPermBody.

type UserModsResponse

type UserModsResponse struct {
	Limit  int64     `json:"limit"`
	Mods   []UserMod `json:"mods"`
	Offset int64     `json:"offset"`
	Total  int64     `json:"total"`

	// User Model to represent user
	User *User `json:"user,omitempty"`
}

UserModsResponse defines model for UserModsResponse.

type UserPack

type UserPack struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Pack Model to represent pack
	Pack      *Pack         `json:"pack,omitempty"`
	PackID    string        `json:"pack_id"`
	Perm      *UserPackPerm `json:"perm,omitempty"`
	UpdatedAt *time.Time    `json:"updated_at,omitempty"`

	// User Model to represent user
	User   *User  `json:"user,omitempty"`
	UserID string `json:"user_id"`
}

UserPack Model to represent user pack

type UserPackDropBody

type UserPackDropBody struct {
	Pack string `json:"pack"`
}

UserPackDropBody defines model for UserPackDropBody.

type UserPackPerm

type UserPackPerm string

UserPackPerm defines model for UserPack.Perm.

const (
	UserPackPermAdmin UserPackPerm = "admin"
	UserPackPermOwner UserPackPerm = "owner"
	UserPackPermUser  UserPackPerm = "user"
)

Defines values for UserPackPerm.

type UserPackPermBody

type UserPackPermBody struct {
	Pack string `json:"pack"`
	Perm string `json:"perm"`
}

UserPackPermBody defines model for UserPackPermBody.

type UserPacksResponse

type UserPacksResponse struct {
	Limit  int64      `json:"limit"`
	Offset int64      `json:"offset"`
	Packs  []UserPack `json:"packs"`
	Total  int64      `json:"total"`

	// User Model to represent user
	User *User `json:"user,omitempty"`
}

UserPacksResponse defines model for UserPacksResponse.

type UserResponse

type UserResponse = User

UserResponse Model to represent user

type UsersResponse

type UsersResponse struct {
	Limit  int64  `json:"limit"`
	Offset int64  `json:"offset"`
	Total  int64  `json:"total"`
	Users  []User `json:"users"`
}

UsersResponse defines model for UsersResponse.

type Validation

type Validation struct {
	Field   *string `json:"field,omitempty"`
	Message *string `json:"message,omitempty"`
}

Validation General structure to show validation errors

type ValidationError

type ValidationError = Notification

ValidationError Generic response for errors and validations

type VerifyResponse

type VerifyResponse = AuthVerify

VerifyResponse defines model for VerifyResponse.

type Version

type Version struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// File Model to represent version file
	File *VersionFile `json:"file,omitempty"`
	ID   *string      `json:"id,omitempty"`

	// Mod Model to represent mod
	Mod       *Mod       `json:"mod,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Public    *bool      `json:"public,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Version Model to represent version

type VersionBuildBody

type VersionBuildBody struct {
	Build string `json:"build,omitempty"`
	Pack  string `json:"pack,omitempty"`
}

VersionBuildBody defines model for VersionBuildBody.

type VersionBuildsResponse

type VersionBuildsResponse struct {
	Builds []BuildVersion `json:"builds"`
	Limit  int64          `json:"limit"`

	// Mod Model to represent mod
	Mod    *Mod  `json:"mod,omitempty"`
	Offset int64 `json:"offset"`
	Total  int64 `json:"total"`

	// Version Model to represent version
	Version *Version `json:"version,omitempty"`
}

VersionBuildsResponse defines model for VersionBuildsResponse.

type VersionFile

type VersionFile struct {
	ContentType *string    `json:"content_type,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	MD5         *string    `json:"md5,omitempty"`
	Path        *string    `json:"path,omitempty"`
	Slug        *string    `json:"slug,omitempty"`
	UpdatedAt   *time.Time `json:"updated_at,omitempty"`
	URL         *string    `json:"url,omitempty"`
}

VersionFile Model to represent version file

type VersionID

type VersionID = string

VersionID defines model for VersionParam.

type VersionResponse

type VersionResponse = Version

VersionResponse Model to represent version

type VersionsResponse

type VersionsResponse struct {
	Limit int64 `json:"limit"`

	// Mod Model to represent mod
	Mod      *Mod      `json:"mod,omitempty"`
	Offset   int64     `json:"offset"`
	Total    int64     `json:"total"`
	Versions []Version `json:"versions"`
}

VersionsResponse defines model for VersionsResponse.

Jump to

Keyboard shortcuts

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