fsdatabase

package
v0.0.0-...-2770a49 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FsDb

type FsDb struct {
	Db *sql.DB
}

func (*FsDb) AddFileServer

func (b *FsDb) AddFileServer(sha1 string, url string) error

********************插入dialog*****************

func (*FsDb) CloseDb

func (b *FsDb) CloseDb()

**************关闭数据库*********

func (*FsDb) ConnectDb

func (b *FsDb) ConnectDb() error

**************连接数据库*********

func (*FsDb) CreateTable

func (b *FsDb) CreateTable() error

******************建表 **************

func (*FsDb) DeleteDbTable

func (b *FsDb) DeleteDbTable(sha1 []byte) error

删除数据表信息

func (*FsDb) UpdateTable

func (b *FsDb) UpdateTable(sha1 []byte) error

更新数据

Jump to

Keyboard shortcuts

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