matrix

package
v11.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppService

type AppService struct {
	// contains filtered or unexported fields
}

Not safe for concurrent use.

func StartNewAppService

func StartNewAppService(
	ctx context.Context,
	logger *zap.SugaredLogger,
	resourceManagerSession *resources.Session,
	dataDir string,
	asbBinPath string,
	networkFeeKey *ecdsa.PrivateKey,
	networkClient *blockchain.Client,
) (*AppService, chan error, error)

func (*AppService) ASAccessToken

func (a *AppService) ASAccessToken() string

func (*AppService) HSAccessToken

func (a *AppService) HSAccessToken() string

func (*AppService) Host

func (a *AppService) Host() string

func (*AppService) NetworkFeeRecipientBotAddress

func (a *AppService) NetworkFeeRecipientBotAddress() common.Address

func (*AppService) NetworkFeeRecipientCMAccountAddress

func (a *AppService) NetworkFeeRecipientCMAccountAddress() common.Address

func (*AppService) Stop

func (a *AppService) Stop(ctx context.Context) error

type ConduitServer

type ConduitServer struct {
	// contains filtered or unexported fields
}

Conduit server. Not safe for concurrent use.

func StartNewMatrixServer

func StartNewMatrixServer(
	ctx context.Context,
	logger *zap.SugaredLogger,
	resourceManagerSession *resources.Session,
	dataDir string,
	matrixBinPath string,
	appService *AppService,
) (*ConduitServer, chan error, error)

func (*ConduitServer) Host

func (m *ConduitServer) Host() *url.URL

func (*ConduitServer) Stop

func (m *ConduitServer) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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