dao

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

func New

func New(c *conf.Config) *Dao

func (*Dao) GetCNodes

func (d *Dao) GetCNodes() ([]*model.CNode, error)

func (*Dao) GetDNodes

func (d *Dao) GetDNodes() ([]*model.DNode, error)

func (*Dao) SetCNode

func (d *Dao) SetCNode(key string, node *model.CNode) error

func (*Dao) SetDNode

func (d *Dao) SetDNode(key string, node *model.DNode) error

Jump to

Keyboard shortcuts

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