Documentation ¶
Index ¶
- Variables
- type Matrix
- type MatrixClient
- func (mc *MatrixClient) GetMessages(c echo.Context) error
- func (mc *MatrixClient) GetRoomMembers(c echo.Context) error
- func (mc *MatrixClient) GetRoomState(c echo.Context) error
- func (mc *MatrixClient) JoinRoom(c echo.Context) error
- func (mc *MatrixClient) JoinedRooms(c echo.Context) error
- func (mc *MatrixClient) LeaveRoom(c echo.Context) error
- func (mc *MatrixClient) SendMessage(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var BankAPI = bankAPI{}
BankAPI is a handler for the bank module
View Source
var CometAPI = cometAPI{}
CometAPI is a handler for the node module
View Source
var GovAPI = govAPI{}
GovAPI is a handler for the gov module
View Source
var IdentityAPI = identityAPI{}
IdentityAPI is a handler for the staking module
View Source
var Pages = pages{}
View Source
var ServiceAPI = serviceAPI{}
ServiceAPI is a handler for the staking module
View Source
var StakingAPI = stakingAPI{}
StakingAPI is a handler for the staking module
View Source
var TxAPI = txAPI{}
TxAPI is a handler for the staking module
Functions ¶
This section is empty.
Types ¶
type Matrix ¶
type Matrix struct { HomeServer string ChatService appservice.AppService EventService appservice.AppService }
type MatrixClient ¶
func (*MatrixClient) GetMessages ¶
func (mc *MatrixClient) GetMessages(c echo.Context) error
GetMessages returns all messages in a room
func (*MatrixClient) GetRoomMembers ¶
func (mc *MatrixClient) GetRoomMembers(c echo.Context) error
GetRoomMembers returns all members in a room
func (*MatrixClient) GetRoomState ¶
func (mc *MatrixClient) GetRoomState(c echo.Context) error
GetRoomState returns the state of a room
func (*MatrixClient) JoinRoom ¶
func (mc *MatrixClient) JoinRoom(c echo.Context) error
JoinRoom joins a room
func (*MatrixClient) JoinedRooms ¶
func (mc *MatrixClient) JoinedRooms(c echo.Context) error
JoinedRooms returns all rooms the user is in
func (*MatrixClient) LeaveRoom ¶
func (mc *MatrixClient) LeaveRoom(c echo.Context) error
LeaveRoom leaves a room
func (*MatrixClient) SendMessage ¶
func (mc *MatrixClient) SendMessage(c echo.Context) error
SendMessage sends a message to a room
Click to show internal directories.
Click to hide internal directories.