handlers

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

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

type MatrixClient struct {
	Client *mautrix.Client
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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