Documentation ¶
Index ¶
- type Config
- type Server
- func (s *Server) CreateTransfer(ctx context.Context, req *safewallet.CreateTransferRequest) (*safewallet.CreateTransferResponse, error)
- func (s *Server) CreateWallet(ctx context.Context, req *safewallet.CreateWalletRequest) (*safewallet.CreateWalletResponse, error)
- func (s *Server) FindTransfer(ctx context.Context, req *safewallet.FindTransferRequest) (*safewallet.FindTransferResponse, error)
- func (s *Server) FindWallet(ctx context.Context, req *safewallet.FindWalletRequest) (*safewallet.FindWalletResponse, error)
- func (s *Server) Handler() (string, http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) CreateTransfer ¶
func (s *Server) CreateTransfer(ctx context.Context, req *safewallet.CreateTransferRequest) (*safewallet.CreateTransferResponse, error)
func (*Server) CreateWallet ¶ added in v1.1.0
func (s *Server) CreateWallet(ctx context.Context, req *safewallet.CreateWalletRequest) (*safewallet.CreateWalletResponse, error)
func (*Server) FindTransfer ¶
func (s *Server) FindTransfer(ctx context.Context, req *safewallet.FindTransferRequest) (*safewallet.FindTransferResponse, error)
func (*Server) FindWallet ¶ added in v1.1.0
func (s *Server) FindWallet(ctx context.Context, req *safewallet.FindWalletRequest) (*safewallet.FindWalletResponse, error)
Click to show internal directories.
Click to hide internal directories.