app

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 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
}

Dao define

func New

func New(c *conf.Config) (d *Dao)

New init dao

func (*Dao) AddMaterialData

func (d *Dao) AddMaterialData(c context.Context, data *app.EditorData) (err error)

AddMaterialData fn

func (*Dao) Close

func (d *Dao) Close() (err error)

Close db

func (*Dao) GetMaterialData

func (d *Dao) GetMaterialData(c context.Context, data *app.EditorData) (dt []byte, err error)

GetMaterialData fn

func (*Dao) Ping

func (d *Dao) Ping(c context.Context) (err error)

Ping db

func (*Dao) Portals

func (d *Dao) Portals(c context.Context, ty int) (apt []*app.PortalMeta, err error)

Portals for portal config.

Jump to

Keyboard shortcuts

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