Documentation ¶
Index ¶
- Variables
- func RpcRun() (err error)
- type DBcache
- func (g *DBcache) DelRow(req DelRowRequest, resp *DelRowResponse) (err error)
- func (g *DBcache) GetColumn(req GetColumnRequest, resp *GetColumnResponse) (err error)
- func (g *DBcache) GetMultipageRows(req GetMultipageRowsRequest, resp *GetMultipageRowsResponse) (err error)
- func (g *DBcache) GetOnePageRows(req GetOnePageRowsRequest, resp *GetOnePageRowsResponse) (err error)
- func (g *DBcache) GetPageCount(req GetPageCountRequest, resp *GetPageCountResponse) (err error)
- func (g *DBcache) GetRow(req GetRowRequest, resp *GetRowResponse) (err error)
- func (g *DBcache) GetRowBetween(req GetRowBetweenRequest, resp *GetRowBetweenResponse) (err error)
- func (g *DBcache) GetWhere(req GetWhereRequest, resp *GetWhereResponse) (err error)
- func (g *DBcache) InsertRow(req InsertRowRequest, resp *InsertRowResponse) (err error)
- func (g *DBcache) UpdateColumn(req UpdateColumnRequest, resp *UpdateColumnResponse) (err error)
- func (g *DBcache) UpdateColumns(req UpdateColumnsRequest, resp *UpdateColumnsResponse) (err error)
- type DelRowRequest
- type DelRowResponse
- type GetColumnRequest
- type GetColumnResponse
- type GetMultipageRowsRequest
- type GetMultipageRowsResponse
- type GetOnePageRowsRequest
- type GetOnePageRowsResponse
- type GetPageCountRequest
- type GetPageCountResponse
- type GetRowBetweenRequest
- type GetRowBetweenResponse
- type GetRowRequest
- type GetRowResponse
- type GetWhereRequest
- type GetWhereResponse
- type InsertRowRequest
- type InsertRowResponse
- type UpdateColumnRequest
- type UpdateColumnResponse
- type UpdateColumnsRequest
- type UpdateColumnsResponse
Constants ¶
This section is empty.
Variables ¶
var (
RpcConf = conf.RpcServer{}
)
Functions ¶
Types ¶
type DBcache ¶
type DBcache struct { }
func (*DBcache) DelRow ¶
func (g *DBcache) DelRow(req DelRowRequest, resp *DelRowResponse) (err error)
func (*DBcache) GetColumn ¶
func (g *DBcache) GetColumn(req GetColumnRequest, resp *GetColumnResponse) (err error)
func (*DBcache) GetMultipageRows ¶
func (g *DBcache) GetMultipageRows(req GetMultipageRowsRequest, resp *GetMultipageRowsResponse) (err error)
func (*DBcache) GetOnePageRows ¶
func (g *DBcache) GetOnePageRows(req GetOnePageRowsRequest, resp *GetOnePageRowsResponse) (err error)
func (*DBcache) GetPageCount ¶
func (g *DBcache) GetPageCount(req GetPageCountRequest, resp *GetPageCountResponse) (err error)
func (*DBcache) GetRow ¶
func (g *DBcache) GetRow(req GetRowRequest, resp *GetRowResponse) (err error)
GetRow()
func (*DBcache) GetRowBetween ¶
func (g *DBcache) GetRowBetween(req GetRowBetweenRequest, resp *GetRowBetweenResponse) (err error)
func (*DBcache) GetWhere ¶
func (g *DBcache) GetWhere(req GetWhereRequest, resp *GetWhereResponse) (err error)
func (*DBcache) InsertRow ¶
func (g *DBcache) InsertRow(req InsertRowRequest, resp *InsertRowResponse) (err error)
func (*DBcache) UpdateColumn ¶
func (g *DBcache) UpdateColumn(req UpdateColumnRequest, resp *UpdateColumnResponse) (err error)
func (*DBcache) UpdateColumns ¶
func (g *DBcache) UpdateColumns(req UpdateColumnsRequest, resp *UpdateColumnsResponse) (err error)
type DelRowRequest ¶
--------------DelRow()---------------------------------
type DelRowResponse ¶
type DelRowResponse struct {
Result int64
}
type GetColumnRequest ¶
--------------GetColumn()---------------------------------
type GetColumnResponse ¶
type GetColumnResponse struct {
Result string
}
type GetMultipageRowsRequest ¶
--------------GetMultipageRows()---------------------------------
type GetOnePageRowsRequest ¶
--------------GetOnePageRows()---------------------------------
type GetOnePageRowsResponse ¶
type GetPageCountRequest ¶
--------------GetPageCount()---------------------------------
type GetPageCountResponse ¶
type GetPageCountResponse struct {
Result int
}
type GetRowBetweenRequest ¶
--------------GetRowBetween()---------------------------------
type GetRowBetweenResponse ¶
type GetRowRequest ¶
--------------GetRow()--------------------------------- GetRow,client请求的参数.
type GetWhereRequest ¶
--------------GetWhere()---------------------------------
type GetWhereResponse ¶
type InsertRowRequest ¶
--------------InsertRow()---------------------------------
type InsertRowResponse ¶
type InsertRowResponse struct {
Result int64
}
type UpdateColumnRequest ¶
--------------UpdateColumn()---------------------------------
type UpdateColumnResponse ¶
type UpdateColumnResponse struct {
Result int64
}
type UpdateColumnsRequest ¶
--------------UpdateColumns()---------------------------------
type UpdateColumnsResponse ¶
type UpdateColumnsResponse struct {
Result int64
}