Skip to content

Commit

Permalink
update go-redis, specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyagara committed Jul 18, 2024
1 parent fa2fdb4 commit 008d37b
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 24 deletions.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package api
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion api/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package api
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// Regional routes, used in tournament services, Legends of Runeterra, and some other endpoints.
type RegionalRoute string
Expand Down
2 changes: 1 addition & 1 deletion clients/lol/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package lol
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import "github.com/Kyagara/equinox/v2/internal"

Expand Down
2 changes: 1 addition & 1 deletion clients/lol/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "strconv"
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// Platform routes for League of Legends.
type PlatformRoute string
Expand Down
2 changes: 1 addition & 1 deletion clients/lol/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package lol
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import (
"context"
Expand Down
15 changes: 13 additions & 2 deletions clients/lol/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package lol
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// lol-challenges-v1.ApexPlayerInfoDto
type ChallengesApexPlayerInfoV1DTO struct {
Expand Down Expand Up @@ -85,7 +85,8 @@ type ChampionMasteryNextSeasonMilestonesV4DTO struct {
// Reward configuration.
RewardConfig ChampionMasteryRewardConfigV4DTO `json:"rewardConfig,omitempty"`
// Reward marks.
RewardMarks int32 `json:"rewardMarks,omitempty"`
RewardMarks int32 `json:"rewardMarks,omitempty"`
TotalGamesRequires int32 `json:"totalGamesRequires,omitempty"`
// Bonus.
Bonus bool `json:"bonus,omitempty"`
}
Expand Down Expand Up @@ -382,6 +383,16 @@ type MatchChallengesV5DTO struct {
StealthWardsPlaced int32 `json:"stealthWardsPlaced,omitempty"`
SurvivedSingleDigitHpCount int32 `json:"survivedSingleDigitHpCount,omitempty"`
SurvivedThreeImmobilizesInFight int32 `json:"survivedThreeImmobilizesInFight,omitempty"`
SwarmDefeatAatrox int32 `json:"SWARM_DefeatAatrox,omitempty"`
SwarmDefeatBriar int32 `json:"SWARM_DefeatBriar,omitempty"`
SwarmDefeatMiniBosses int32 `json:"SWARM_DefeatMiniBosses,omitempty"`
SwarmEvolveWeapon int32 `json:"SWARM_EvolveWeapon,omitempty"`
SwarmHave3Passives int32 `json:"SWARM_Have3Passives,omitempty"`
SwarmKillEnemy int32 `json:"SWARM_KillEnemy,omitempty"`
SwarmPickupGold int32 `json:"SWARM_PickupGold,omitempty"`
SwarmReachLevel50 int32 `json:"SWARM_ReachLevel50,omitempty"`
SwarmSurvive15Min int32 `json:"SWARM_Survive15Min,omitempty"`
SwarmWinWith5EvolvedWeapons int32 `json:"SWARM_WinWith5EvolvedWeapons,omitempty"`
TakedownOnFirstTurret int32 `json:"takedownOnFirstTurret,omitempty"`
Takedowns int32 `json:"takedowns,omitempty"`
TakedownsAfterGainingLevelAdvantage int32 `json:"takedownsAfterGainingLevelAdvantage,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion clients/lor/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package lor
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import "github.com/Kyagara/equinox/v2/internal"

Expand Down
2 changes: 1 addition & 1 deletion clients/lor/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package lor
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion clients/lor/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package lor
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// lor-deck-v1.NewDeckDto
type DeckNewDeckV1DTO struct {
Expand Down
2 changes: 1 addition & 1 deletion clients/riot/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package riot
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import "github.com/Kyagara/equinox/v2/internal"

Expand Down
2 changes: 1 addition & 1 deletion clients/riot/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package riot
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion clients/riot/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package riot
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// account-v1.ActiveShardDto
type AccountActiveShardV1DTO struct {
Expand Down
2 changes: 1 addition & 1 deletion clients/tft/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package tft
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import "github.com/Kyagara/equinox/v2/internal"

Expand Down
2 changes: 1 addition & 1 deletion clients/tft/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "strconv"
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// Platform routes for Teamfight Tactics.
type PlatformRoute string
Expand Down
2 changes: 1 addition & 1 deletion clients/tft/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package tft
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion clients/tft/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package tft
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// tft-league-v1.LeagueEntryDTO
type LeagueEntryV1DTO struct {
Expand Down
2 changes: 1 addition & 1 deletion clients/val/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package val
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import "github.com/Kyagara/equinox/v2/internal"

Expand Down
2 changes: 1 addition & 1 deletion clients/val/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package val
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// Platform routes for Valorant.
type PlatformRoute string
Expand Down
2 changes: 1 addition & 1 deletion clients/val/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package val
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion clients/val/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package val
// //
///////////////////////////////////////////////

// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f
// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2

// val-console-match-v1.AbilityCastsDto
type ConsoleMatchAbilityCastsV1DTO struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/allegro/bigcache/v3 v3.1.0
github.com/go-json-experiment/json v0.0.0-20240418180308-af2d5061e6c2
github.com/jarcoal/httpmock v1.3.1
github.com/redis/go-redis/v9 v9.5.3
github.com/redis/go-redis/v9 v9.5.4
github.com/rs/zerolog v1.33.0
github.com/stretchr/testify v1.9.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ github.com/maxatome/go-testdeep v1.12.0/go.mod h1:lPZc/HAcJMP92l7yI6TRz1aZN5URwU
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/redis/go-redis/v9 v9.5.3 h1:fOAp1/uJG+ZtcITgZOfYFmTKPE7n4Vclj1wZFgRciUU=
github.com/redis/go-redis/v9 v9.5.3/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M=
github.com/redis/go-redis/v9 v9.5.4 h1:vOFYDKKVgrI5u++QvnMT7DksSMYg7Aw/Np4vLJLKLwY=
github.com/redis/go-redis/v9 v9.5.4/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M=
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8=
github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
Expand Down

0 comments on commit 008d37b

Please sign in to comment.