grpc

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInterceptor

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

func NewAuthInterceptor

func NewAuthInterceptor(url string, creds credentials.TransportCredentials) (*AuthInterceptor, error)

NewAuthInterceptor returns a new AuthInterceptor

func (*AuthInterceptor) Unary

Unary returns a UnaryServerInterceptor that validates the access token and set the user id in the context

type WalletHandler

type WalletHandler struct {
	pb.UnimplementedWalletServiceServer
	// contains filtered or unexported fields
}

func NewWalletHandler

func NewWalletHandler(u *application.UseCases) *WalletHandler

func (*WalletHandler) CreateAccount

func (*WalletHandler) CreateCard

func (*WalletHandler) CreateTransaction

func (*WalletHandler) CreateWallet

func (*WalletHandler) DeleteAccount

func (*WalletHandler) DeleteCard

func (*WalletHandler) GetAccounts

func (*WalletHandler) GetCards

func (*WalletHandler) GetTransactionHistory

func (*WalletHandler) TransferRollback

Jump to

Keyboard shortcuts

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