findfflsrv

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FFL

type FFL struct {
	Key            string `json:"id"`
	Lic            string `json:"license"`
	ExpDate        string `json:"expDate"`
	LicName        string `json:"licenseName"`
	BusName        string `json:"businessName"`
	PremiseAddress string `json:"premiseAddress"`
	Address        string `json:"address"`
	City           string `json:"city"`
	State          string `json:"state"`
	PremiseZip     string `json:"premiseZip"`
	MailingAddress string `json:"mailingAddress"`
	Phone          string `json:"phone"`
}

FFL FFL

type FFLKey

type FFLKey struct {
	Key string `json:"id"`
}

FFLKey FFLKey

type FFLList

type FFLList struct {
	Key            string `json:"id"`
	LicName        string `json:"licenseName"`
	BusName        string `json:"businessName"`
	PremiseAddress string `json:"premiseAddress"`
}

FFLList FFLList

type FFLService

type FFLService interface {
	GetFFLList(zip string) (*[]FFLList, int)
	GetFFL(key string) (*FFL, int)
}

FFLService FFLService

type FFLZip

type FFLZip struct {
	Zip string `json:"zip"`
}

FFLZip FFLZip

type Six910FFLService

type Six910FFLService struct {
	Host   string
	Proxy  px.Proxy
	Log    *lg.Logger
	APIKey string
}

Six910FFLService Six910FFLService

func (*Six910FFLService) GetFFL

func (f *Six910FFLService) GetFFL(key string) (*FFL, int)

GetFFL GetFFL

func (*Six910FFLService) GetFFLList

func (f *Six910FFLService) GetFFLList(zip string) (*[]FFLList, int)

GetFFLList GetFFLList

func (*Six910FFLService) New

func (f *Six910FFLService) New() FFLService

New New

func (*Six910FFLService) SetProxy

func (f *Six910FFLService) SetProxy(prxy px.Proxy)

SetProxy SetProxy

Jump to

Keyboard shortcuts

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