rpc

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ClientID      string   `valid:"required"`
	Prefix        string   `valid:"required"`
	BlockedAssets []string `valid:"uuid"`
}

type Server

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

func New

func New(
	outputs core.OutputStore,
	transfers core.TransferStore,
	wallets core.WalletStore,
	walletz core.WalletService,
	logger *slog.Logger,
	cfg Config,
) *Server

func (*Server) CreateWallet added in v1.1.0

func (*Server) FindWallet added in v1.1.0

func (*Server) Handler

func (s *Server) Handler() (string, http.Handler)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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