provider

package
v0.0.0-...-b3f3fbb Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package provider provides Provider types (haha).

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProviderNotFound = errors.New("provider not found")
)

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Name string
}

Provider represents a PSP (Payment Service Provider)

func ProviderAllDB

func ProviderAllDB(db *sql.DB) ([]Provider, error)

func ProviderByNameDB

func ProviderByNameDB(db *sql.DB, name string) (Provider, error)

func ProviderByNameTx

func ProviderByNameTx(db *sql.Tx, name string) (Provider, error)

Jump to

Keyboard shortcuts

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