bankcn

package
Version: v0.0.0-...-5014d4d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BankcnService

type BankcnService struct {
}

BankcnService #path:"/bankcn/"#

func NewBankcnService

func NewBankcnService() (*BankcnService, error)

NewBankcnService Create a new BankcnService

func (*BankcnService) Banks

func (s *BankcnService) Banks() (bankItems []*bankcn.BankItem, err error)

Banks #route:"GET /banks"# 获取全部的银行类型的列表

func (*BankcnService) BanksJPG

func (s *BankcnService) BanksJPG(bank string) (file []byte, err error)

Banks #route:"GET /banks/{bank}.jpg"# 获取某银行图标

func (*BankcnService) Get

func (s *BankcnService) Get(bank, areaID string, filter string) (banks []*bankcn.Bank, err error)

Get #route:"GET /banks/{bank}/{area_id}"# 获取某地区的银行数据

func (*BankcnService) Verify

func (s *BankcnService) Verify(bankID string) (valid *bankcn.Valid, err error)

Verify #route:"GET /bank_id/{bank_id}"# 获取银行卡号的 所属银行 以及 类型

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL