Documentation ¶
Index ¶
- func VoidAttr(obj *InfoObject, attrs ...string) int
- type InfoFetcher
- type InfoObject
- type InfoTable
- func (infotable InfoTable) Add(req *restful.Request, resp *restful.Response)
- func (infotable InfoTable) AlterTable() int
- func (infotable InfoTable) CreateTable() int
- func (infotable InfoTable) Del(req *restful.Request, resp *restful.Response)
- func (infotable InfoTable) DeleteRow(infostr string) int
- func (infotable InfoTable) Get(req *restful.Request, resp *restful.Response)
- func (infotable InfoTable) InsertRow(infostr string) (int64, int)
- func (infotable InfoTable) SelectRows(sqlstr string) ([]InfoObject, int)
- func (infotable InfoTable) SelectRowsCount(sqlstr string) (int64, int)
- func (infotable InfoTable) Update(req *restful.Request, resp *restful.Response)
- func (infotable InfoTable) UpdateRow(id int64, infostr string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VoidAttr ¶
func VoidAttr(obj *InfoObject, attrs ...string) int
Types ¶
type InfoFetcher ¶
type InfoFetcher interface { CreateTable() int SelectRows(string) ([]InfoObject, int) SelectRowsCount(string) (int64, int) InsertRow(string) (int64, int) DeleteRow(string) int UpdateRow(int64, string) int Add(*restful.Request, *restful.Response) Update(*restful.Request, *restful.Response) Del(*restful.Request, *restful.Response) Get(*restful.Request, *restful.Response) }
type InfoObject ¶
type InfoTable ¶
func (InfoTable) AlterTable ¶
func (InfoTable) CreateTable ¶
func (InfoTable) SelectRows ¶
func (infotable InfoTable) SelectRows(sqlstr string) ([]InfoObject, int)
func (InfoTable) SelectRowsCount ¶
Click to show internal directories.
Click to hide internal directories.