repository

package
v0.0.0-...-3591828 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageRepository

type MessageRepository interface {
	AddMessage(id string) error
	GetMessages(id string) (int, error)
}

type TagRepository

type TagRepository interface {
	AddTag(tag entity.Tag) error
	DeleteTag(id int) error
}

type UserRepository

type UserRepository interface {
	GetUser(id string) (entity.User, error)
	ChangeUsername(id string, username string) error
	UpdateRole(id string) error
	LevelUp(id string) error
}

Jump to

Keyboard shortcuts

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