mysql

package
v0.0.0-...-6b52b4a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	mysql.DaoMysql
	// contains filtered or unexported fields
}

func NewNode

func NewNode(c *gin.Context) *Node

func (*Node) AddNode

func (p *Node) AddNode(data *mmysql.Node) (err error)

func (*Node) DelNode

func (p *Node) DelNode(id uint64) (err error)

func (*Node) EditNode

func (p *Node) EditNode(data *mmysql.Node) (err error)

func (*Node) GetNodeByPeerId

func (p *Node) GetNodeByPeerId(peerId string) (info *mmysql.Node, err error)

func (*Node) ListNode

func (p *Node) ListNode(param mparam.ListNode) (total int64, list []mmysql.Node, err error)

Jump to

Keyboard shortcuts

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