Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinecraftVersion ¶
type MinecraftVersion func(gameVersion schema.GameVersionStr, o ...MinecraftVersionOption) (*schema.ApiResponseOfMinecraftGameVersion, error)
func NewMinecraftVersionAPI ¶
func NewMinecraftVersionAPI(t http.RoundTripper) MinecraftVersion
func (MinecraftVersion) WithContext ¶
func (MinecraftVersion) WithContext(ctx context.Context) MinecraftVersionOption
type MinecraftVersionOption ¶
type MinecraftVersionOption func(*MinecraftVersionRequest)
type MinecraftVersionRequest ¶
type MinecraftVersionRequest struct { GameVersion schema.GameVersionStr // contains filtered or unexported fields }
https://docs.curseforge.com/#get-specific-minecraft-version
func (*MinecraftVersionRequest) Do ¶
func (r *MinecraftVersionRequest) Do(ctx context.Context, t http.RoundTripper) (*http.Response, error)
type MinecraftVersions ¶
type MinecraftVersions func(o ...MinecraftVersionsOption) (*schema.ApiResponseOfListOfMinecraftGameVersion, error)
func NewMinecraftVersionsAPI ¶
func NewMinecraftVersionsAPI(t http.RoundTripper) MinecraftVersions
func (MinecraftVersions) WithContext ¶
func (MinecraftVersions) WithContext(ctx context.Context) MinecraftVersionsOption
func (MinecraftVersions) WithSortDescending ¶
func (MinecraftVersions) WithSortDescending(isDescending bool) MinecraftVersionsOption
type MinecraftVersionsOption ¶
type MinecraftVersionsOption func(*MinecraftVersionsRequest)
type MinecraftVersionsRequest ¶
type MinecraftVersionsRequest struct { SortDescending *bool // contains filtered or unexported fields }
https://docs.curseforge.com/#get-minecraft-versions
func (*MinecraftVersionsRequest) Do ¶
func (r *MinecraftVersionsRequest) Do(ctx context.Context, t http.RoundTripper) (*http.Response, error)
type ModLoader ¶
type ModLoader func(modLoaderName string, o ...ModLoaderOption) (*schema.ApiResponseOfMinecraftModLoaderVersion, error)
func NewModLoaderAPI ¶
func NewModLoaderAPI(t http.RoundTripper) ModLoader
func (ModLoader) WithContext ¶
func (ModLoader) WithContext(ctx context.Context) ModLoaderOption
type ModLoaderOption ¶
type ModLoaderOption func(*ModLoaderRequest)
type ModLoaderRequest ¶
type ModLoaderRequest struct { ModLoaderName string // contains filtered or unexported fields }
https://docs.curseforge.com/#get-specific-minecraft-modloader
func (*ModLoaderRequest) Do ¶
func (r *ModLoaderRequest) Do(ctx context.Context, t http.RoundTripper) (*http.Response, error)
type ModLoaders ¶
type ModLoaders func(o ...ModLoadersOption) (*schema.ApiResponseOfListOfMinecraftModLoaderIndex, error)
func NewModLoadersAPI ¶
func NewModLoadersAPI(t http.RoundTripper) ModLoaders
func (ModLoaders) WithContext ¶
func (ModLoaders) WithContext(ctx context.Context) ModLoadersOption
func (ModLoaders) WithGameVersion ¶
func (ModLoaders) WithGameVersion(gameVersion schema.GameVersionStr) ModLoadersOption
func (ModLoaders) WithIncludeAll ¶
func (ModLoaders) WithIncludeAll(includeAll bool) ModLoadersOption
type ModLoadersOption ¶
type ModLoadersOption func(*ModLoadersRequest)
type ModLoadersRequest ¶
type ModLoadersRequest struct { GameVersion *schema.GameVersionStr IncludeAll *bool // contains filtered or unexported fields }
https://docs.curseforge.com/#get-minecraft-modloaders
func (*ModLoadersRequest) Do ¶
func (r *ModLoadersRequest) Do(ctx context.Context, t http.RoundTripper) (*http.Response, error)
Click to show internal directories.
Click to hide internal directories.