Documentation ¶
Index ¶
- Variables
- type State
- type Txn
- type WebChatApplication
- func (app *WebChatApplication) CheckTx(tx []byte) types.ResponseCheckTx
- func (app *WebChatApplication) Commit() types.ResponseCommit
- func (app *WebChatApplication) DeliverTx(tx []byte) types.ResponseDeliverTx
- func (app *WebChatApplication) GetState() *State
- func (app *WebChatApplication) Info(req types.RequestInfo) types.ResponseInfo
- func (app *WebChatApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ProtocolVersion version.Protocol = 0x1
)
Functions ¶
This section is empty.
Types ¶
type WebChatApplication ¶
type WebChatApplication struct { types.BaseApplication // contains filtered or unexported fields }
func NewWebChatApplication ¶
func NewWebChatApplication() *WebChatApplication
func (*WebChatApplication) CheckTx ¶
func (app *WebChatApplication) CheckTx(tx []byte) types.ResponseCheckTx
func (*WebChatApplication) Commit ¶
func (app *WebChatApplication) Commit() types.ResponseCommit
func (*WebChatApplication) DeliverTx ¶
func (app *WebChatApplication) DeliverTx(tx []byte) types.ResponseDeliverTx
func (*WebChatApplication) GetState ¶
func (app *WebChatApplication) GetState() *State
func (*WebChatApplication) Info ¶
func (app *WebChatApplication) Info(req types.RequestInfo) types.ResponseInfo
func (*WebChatApplication) Query ¶
func (app *WebChatApplication) Query(reqQuery types.RequestQuery) (resQuery types.ResponseQuery)
Click to show internal directories.
Click to hide internal directories.