dbops

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

* @Descripttion: * @version: * @Author: congsir * @Date: 2022-01-04 21:42:33 * @LastEditors: Please set LastEditors * @LastEditTime: 2022-01-05 10:38:10

* @Descripttion: * @version: * @Author: congsir * @Date: 2022-01-04 09:56:00 * @LastEditors: Please set LastEditors * @LastEditTime: 2022-01-04 21:53:41

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewVideo

func AddNewVideo(aid int, name string) (*defs.VideoInfo, error)

func AddUserCredential

func AddUserCredential(loginName string, pwd string) error

func DeleteUser

func DeleteUser(loginName string, pwd string) error

func DeleteVideoInfo

func DeleteVideoInfo(vid string) error

func GetUserCredential

func GetUserCredential(loginName string) (string, error)

func GetVideoInfo

func GetVideoInfo(vid string) (*defs.VideoInfo, error)

func ListVideoInfo

func ListVideoInfo(uname string, from, to int) ([]*defs.VideoInfo, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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