dao

package
v0.0.0-...-baed21e Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBot

func CreateBot(bot *entities.Bot) (err error)

func DeleteBot

func DeleteBot(uuid uuid.UUID) (err error)

func GetAllBots

func GetAllBots() ([]entities.Bot, error)

func GetBot

func GetBot(uuid uuid.UUID) (*entities.Bot, error)

func Init

func Init(p *database.Pool)

func UpdateBot

func UpdateBot(bot *entities.Bot) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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