sqlitememc

package
v0.0.0-...-26b89f5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type Item

type Item struct {
	ItemID     int64
	Gob        string
	Expiration int64
}

type ItemByItemIDParams

type ItemByItemIDParams struct {
	ItemID     int64
	Expiration int64
}

type ItemQuest

type ItemQuest struct {
	ItemID     int64
	Gob        string
	Expiration int64
}

type ItemQuestByItemIDParams

type ItemQuestByItemIDParams struct {
	ItemID     int64
	Expiration int64
}

type ItemQuestReplaceParams

type ItemQuestReplaceParams struct {
	ItemID     int64
	Gob        string
	Expiration int64
}

type ItemRecipe

type ItemRecipe struct {
	ItemID     int64
	Gob        string
	Expiration int64
}

type ItemRecipeByItemIDParams

type ItemRecipeByItemIDParams struct {
	ItemID     int64
	Expiration int64
}

type ItemRecipeReplaceParams

type ItemRecipeReplaceParams struct {
	ItemID     int64
	Gob        string
	Expiration int64
}

type ItemReplaceParams

type ItemReplaceParams struct {
	ItemID     int64
	Gob        string
	Expiration int64
}

type ItemSearch

type ItemSearch struct {
	ID    int64
	Name  string
	Level int64
}

type ItemSearchInsertParams

type ItemSearchInsertParams struct {
	ID    int64
	Name  string
	Level int64
}

type Npc

type Npc struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcByNpcIDParams

type NpcByNpcIDParams struct {
	NpcID      int64
	Expiration int64
}

type NpcFaction

type NpcFaction struct {
	FactionID  int64
	Gob        string
	Expiration int64
}

type NpcFactionByFactionIDParams

type NpcFactionByFactionIDParams struct {
	FactionID  int64
	Expiration int64
}

type NpcFactionReplaceParams

type NpcFactionReplaceParams struct {
	FactionID  int64
	Gob        string
	Expiration int64
}

type NpcLoot

type NpcLoot struct {
	LootTableID int64
	Gob         string
	Expiration  int64
}

type NpcLootByLootTableIDParams

type NpcLootByLootTableIDParams struct {
	LootTableID int64
	Expiration  int64
}

type NpcLootReplaceParams

type NpcLootReplaceParams struct {
	LootTableID int64
	Gob         string
	Expiration  int64
}

type NpcMerchant

type NpcMerchant struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcMerchantByNpcIDParams

type NpcMerchantByNpcIDParams struct {
	NpcID      int64
	Expiration int64
}

type NpcMerchantReplaceParams

type NpcMerchantReplaceParams struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcQuest

type NpcQuest struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcQuestByNpcIDParams

type NpcQuestByNpcIDParams struct {
	NpcID      int64
	Expiration int64
}

type NpcQuestReplaceParams

type NpcQuestReplaceParams struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcReplaceParams

type NpcReplaceParams struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcSearch

type NpcSearch struct {
	ID    int64
	Name  string
	Level int64
}

type NpcSearchInsertParams

type NpcSearchInsertParams struct {
	ID    int64
	Name  string
	Level int64
}

type NpcSpawn

type NpcSpawn struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcSpawnByNpcIDParams

type NpcSpawnByNpcIDParams struct {
	NpcID      int64
	Expiration int64
}

type NpcSpawnReplaceParams

type NpcSpawnReplaceParams struct {
	NpcID      int64
	Gob        string
	Expiration int64
}

type NpcSpell

type NpcSpell struct {
	NpcSpellsID int64
	Gob         string
	Expiration  int64
}

type NpcSpellByNpcSpellsIDParams

type NpcSpellByNpcSpellsIDParams struct {
	NpcSpellsID int64
	Expiration  int64
}

type NpcSpellReplaceParams

type NpcSpellReplaceParams struct {
	NpcSpellsID int64
	Gob         string
	Expiration  int64
}

type Player

type Player struct {
	CharacterID int64
	Gob         string
	Expiration  int64
}

type PlayerByCharacterIDParams

type PlayerByCharacterIDParams struct {
	CharacterID int64
	Expiration  int64
}

type PlayerReplaceParams

type PlayerReplaceParams struct {
	CharacterID int64
	Gob         string
	Expiration  int64
}

type Queries

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

func New

func New(db DBTX) *Queries

func (*Queries) ItemByItemID

func (q *Queries) ItemByItemID(ctx context.Context, arg ItemByItemIDParams) (string, error)

func (*Queries) ItemCreate

func (q *Queries) ItemCreate(ctx context.Context) error

func (*Queries) ItemQuestByItemID

func (q *Queries) ItemQuestByItemID(ctx context.Context, arg ItemQuestByItemIDParams) (string, error)

func (*Queries) ItemQuestCreate

func (q *Queries) ItemQuestCreate(ctx context.Context) error

func (*Queries) ItemQuestReplace

func (q *Queries) ItemQuestReplace(ctx context.Context, arg ItemQuestReplaceParams) error

func (*Queries) ItemQuestTruncate

func (q *Queries) ItemQuestTruncate(ctx context.Context, expiration int64) error

func (*Queries) ItemRecipeByItemID

func (q *Queries) ItemRecipeByItemID(ctx context.Context, arg ItemRecipeByItemIDParams) (string, error)

func (*Queries) ItemRecipeCreate

func (q *Queries) ItemRecipeCreate(ctx context.Context) error

func (*Queries) ItemRecipeReplace

func (q *Queries) ItemRecipeReplace(ctx context.Context, arg ItemRecipeReplaceParams) error

func (*Queries) ItemRecipeTruncate

func (q *Queries) ItemRecipeTruncate(ctx context.Context, expiration int64) error

func (*Queries) ItemReplace

func (q *Queries) ItemReplace(ctx context.Context, arg ItemReplaceParams) error

func (*Queries) ItemSearchByID

func (q *Queries) ItemSearchByID(ctx context.Context, id int64) (ItemSearch, error)

func (*Queries) ItemSearchByName

func (q *Queries) ItemSearchByName(ctx context.Context, name string) ([]ItemSearch, error)

func (*Queries) ItemSearchCreate

func (q *Queries) ItemSearchCreate(ctx context.Context) error

func (*Queries) ItemSearchInsert

func (q *Queries) ItemSearchInsert(ctx context.Context, arg ItemSearchInsertParams) error

func (*Queries) ItemTruncate

func (q *Queries) ItemTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcByNpcID

func (q *Queries) NpcByNpcID(ctx context.Context, arg NpcByNpcIDParams) (string, error)

func (*Queries) NpcCreate

func (q *Queries) NpcCreate(ctx context.Context) error

func (*Queries) NpcFactionByFactionID

func (q *Queries) NpcFactionByFactionID(ctx context.Context, arg NpcFactionByFactionIDParams) (string, error)

func (*Queries) NpcFactionCreate

func (q *Queries) NpcFactionCreate(ctx context.Context) error

func (*Queries) NpcFactionReplace

func (q *Queries) NpcFactionReplace(ctx context.Context, arg NpcFactionReplaceParams) error

func (*Queries) NpcFactionTruncate

func (q *Queries) NpcFactionTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcLootByLootTableID

func (q *Queries) NpcLootByLootTableID(ctx context.Context, arg NpcLootByLootTableIDParams) (string, error)

func (*Queries) NpcLootCreate

func (q *Queries) NpcLootCreate(ctx context.Context) error

func (*Queries) NpcLootReplace

func (q *Queries) NpcLootReplace(ctx context.Context, arg NpcLootReplaceParams) error

func (*Queries) NpcLootTruncate

func (q *Queries) NpcLootTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcMerchantByNpcID

func (q *Queries) NpcMerchantByNpcID(ctx context.Context, arg NpcMerchantByNpcIDParams) (string, error)

func (*Queries) NpcMerchantCreate

func (q *Queries) NpcMerchantCreate(ctx context.Context) error

func (*Queries) NpcMerchantReplace

func (q *Queries) NpcMerchantReplace(ctx context.Context, arg NpcMerchantReplaceParams) error

func (*Queries) NpcMerchantTruncate

func (q *Queries) NpcMerchantTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcQuestByNpcID

func (q *Queries) NpcQuestByNpcID(ctx context.Context, arg NpcQuestByNpcIDParams) (string, error)

func (*Queries) NpcQuestCreate

func (q *Queries) NpcQuestCreate(ctx context.Context) error

func (*Queries) NpcQuestReplace

func (q *Queries) NpcQuestReplace(ctx context.Context, arg NpcQuestReplaceParams) error

func (*Queries) NpcQuestTruncate

func (q *Queries) NpcQuestTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcReplace

func (q *Queries) NpcReplace(ctx context.Context, arg NpcReplaceParams) error

func (*Queries) NpcSearchByID

func (q *Queries) NpcSearchByID(ctx context.Context, id int64) (NpcSearch, error)

func (*Queries) NpcSearchByName

func (q *Queries) NpcSearchByName(ctx context.Context, name string) ([]NpcSearch, error)

func (*Queries) NpcSearchCreate

func (q *Queries) NpcSearchCreate(ctx context.Context) error

func (*Queries) NpcSearchInsert

func (q *Queries) NpcSearchInsert(ctx context.Context, arg NpcSearchInsertParams) error

func (*Queries) NpcSpawnByNpcID

func (q *Queries) NpcSpawnByNpcID(ctx context.Context, arg NpcSpawnByNpcIDParams) (string, error)

func (*Queries) NpcSpawnCreate

func (q *Queries) NpcSpawnCreate(ctx context.Context) error

func (*Queries) NpcSpawnReplace

func (q *Queries) NpcSpawnReplace(ctx context.Context, arg NpcSpawnReplaceParams) error

func (*Queries) NpcSpawnTruncate

func (q *Queries) NpcSpawnTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcSpellByNpcSpellsID

func (q *Queries) NpcSpellByNpcSpellsID(ctx context.Context, arg NpcSpellByNpcSpellsIDParams) (string, error)

func (*Queries) NpcSpellCreate

func (q *Queries) NpcSpellCreate(ctx context.Context) error

func (*Queries) NpcSpellReplace

func (q *Queries) NpcSpellReplace(ctx context.Context, arg NpcSpellReplaceParams) error

func (*Queries) NpcSpellTruncate

func (q *Queries) NpcSpellTruncate(ctx context.Context, expiration int64) error

func (*Queries) NpcTruncate

func (q *Queries) NpcTruncate(ctx context.Context, expiration int64) error

func (*Queries) PlayerByCharacterID

func (q *Queries) PlayerByCharacterID(ctx context.Context, arg PlayerByCharacterIDParams) (string, error)

func (*Queries) PlayerCreate

func (q *Queries) PlayerCreate(ctx context.Context) error

func (*Queries) PlayerReplace

func (q *Queries) PlayerReplace(ctx context.Context, arg PlayerReplaceParams) error

func (*Queries) PlayerTruncate

func (q *Queries) PlayerTruncate(ctx context.Context, expiration int64) error

func (*Queries) QuestByID

func (q *Queries) QuestByID(ctx context.Context, arg QuestByIDParams) (string, error)

func (*Queries) QuestCreate

func (q *Queries) QuestCreate(ctx context.Context) error

func (*Queries) QuestSearchByName

func (q *Queries) QuestSearchByName(ctx context.Context, name string) ([]QuestSearch, error)

func (*Queries) QuestSearchCreate

func (q *Queries) QuestSearchCreate(ctx context.Context) error

func (*Queries) QuestSearchInsert

func (q *Queries) QuestSearchInsert(ctx context.Context, arg QuestSearchInsertParams) error

func (*Queries) QuestTruncate

func (q *Queries) QuestTruncate(ctx context.Context, expiration int64) error

func (*Queries) SpellByID

func (q *Queries) SpellByID(ctx context.Context, id int64) (Spell, error)

func (*Queries) SpellByName

func (q *Queries) SpellByName(ctx context.Context, name string) ([]Spell, error)

func (*Queries) SpellCreate

func (q *Queries) SpellCreate(ctx context.Context) error

func (*Queries) SpellInsert

func (q *Queries) SpellInsert(ctx context.Context, arg SpellInsertParams) error

func (*Queries) SpellSearchByName

func (q *Queries) SpellSearchByName(ctx context.Context, name string) ([]Spell, error)

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

func (*Queries) ZoneByLongName

func (q *Queries) ZoneByLongName(ctx context.Context, arg ZoneByLongNameParams) (Zone, error)

func (*Queries) ZoneByShortName

func (q *Queries) ZoneByShortName(ctx context.Context, arg ZoneByShortNameParams) (Zone, error)

func (*Queries) ZoneByZoneIDNumber

func (q *Queries) ZoneByZoneIDNumber(ctx context.Context, arg ZoneByZoneIDNumberParams) (Zone, error)

func (*Queries) ZoneCreate

func (q *Queries) ZoneCreate(ctx context.Context) error

func (*Queries) ZoneInsert

func (q *Queries) ZoneInsert(ctx context.Context, arg ZoneInsertParams) error

func (*Queries) ZoneSearchByName

func (q *Queries) ZoneSearchByName(ctx context.Context, arg ZoneSearchByNameParams) ([]Zone, error)

type Quest

type Quest struct {
	QuestID    int64
	Gob        string
	Expiration int64
}

type QuestByIDParams

type QuestByIDParams struct {
	QuestID    int64
	Expiration int64
}

type QuestSearch

type QuestSearch struct {
	ID    int64
	Name  string
	Level int64
}

type QuestSearchInsertParams

type QuestSearchInsertParams struct {
	ID    int64
	Name  string
	Level int64
}

type Spell

type Spell struct {
	ID    int64
	Name  string
	Level int64
}

type SpellInsertParams

type SpellInsertParams struct {
	ID    int64
	Name  string
	Level int64
}

type Zone

type Zone struct {
	ID           int64
	ShortName    string
	LongName     string
	ZoneIDNumber int64
	Expansion    int64
	Gob          string
}

type ZoneByLongNameParams

type ZoneByLongNameParams struct {
	LongName  string
	Expansion int64
}

type ZoneByShortNameParams

type ZoneByShortNameParams struct {
	ShortName string
	Expansion int64
}

type ZoneByZoneIDNumberParams

type ZoneByZoneIDNumberParams struct {
	ZoneIDNumber int64
	Expansion    int64
}

type ZoneInsertParams

type ZoneInsertParams struct {
	ID           int64
	ShortName    string
	LongName     string
	ZoneIDNumber int64
	Expansion    int64
}

type ZoneSearchByNameParams

type ZoneSearchByNameParams struct {
	ShortName string
	LongName  string
	Expansion int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL