loanproduct

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoanProductAPI

func NewLoanProductAPI(ctx context.Context, opt *Options) (loan.LoanProductAPIServer, error)

func ValidateLoanProduct

func ValidateLoanProduct(pb *loan.LoanProduct) error

Types

type Options

type Options struct {
	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