vul_service

package
v0.0.0-...-5c2df23 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddComment

func AddComment(username, content string) error

AddComment adds a new comment

func GetComments

func GetComments() ([]models.Comment, error)

GetComments retrieves all comments

Types

type LogData

type LogData struct {
	Username string
	Password string
}

func (*LogData) LoginCheck

func (a *LogData) LoginCheck() (bool, error)

type UserID

type UserID struct {
	UserID string
}

func (*UserID) QueryByID

func (b *UserID) QueryByID() (models.Sqliuserdata, error)

Jump to

Keyboard shortcuts

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