Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { pb.UnimplementedWalletManagerServer // contains filtered or unexported fields }
Handler is the handler for GRPC requests to the wallet manager.
func (*Handler) Lock ¶
func (h *Handler) Lock(ctx context.Context, req *pb.LockWalletRequest) (*pb.LockWalletResponse, error)
Lock locks a wallet.
func (*Handler) Unlock ¶
func (h *Handler) Unlock(ctx context.Context, req *pb.UnlockWalletRequest) (*pb.UnlockWalletResponse, error)
Unlock unlocks a wallet.
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithProcess ¶
WithProcess sets the process service for the module.
func WithWalletManager ¶
func WithWalletManager(walletManager walletmanager.Service) Parameter
WithWalletManager sets the wallet manager service for the module.
Click to show internal directories.
Click to hide internal directories.