loan

package
v0.0.0-...-ac17c7f Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoanAPI

func NewLoanAPI(ctx context.Context, opt *Options) (loan.LoanAPIServer, error)

func ValidateLoan

func ValidateLoan(pb *loan.Loan) error

Types

type Options

type Options struct {
	MoneyAccountAPI transaction.ChamaAccountAPIServer
	TransactionAPI  transaction.TransactionAPIServer
	SQLDB           *gorm.DB
	PageHasher      *hashids.HashID
	Logger          grpclog.LoggerV2
	Auth            auth.API
	AllowedGroups   []string
}

Jump to

Keyboard shortcuts

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