Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abishekmuthian/open-payment-host
/ types & classes
Types & classes
194 in github.com/abishekmuthian/open-payment-host
⨍
Functions
1,100
◇
Types & classes
194
↓ 5 callers
TypeAlias
ByName
ByName implements sort.Interface for []Country based on the Name field.
src/products/actions/update.go:37
Struct
Ability
Ability represents an authorisation for an action for a given role
src/lib/auth/can/ability.go:40
Struct
ActionContext
ActionContext is the scheduled action context, a simplified version of a web request context
src/lib/server/schedule/context.go:17
Struct
Adapter
Adapter is a struct defining a few functions used by all adapters
src/lib/query/adapters/database.go:42
Struct
Address
src/subscriptions/square.go:289
Struct
Address
src/subscriptions/stripeEvent.go:50
Struct
Amount
src/subscriptions/paypalCreateOrder.go:64
Struct
AmountMoney
src/subscriptions/square.go:87
Struct
ApplicationContext
src/subscriptions/paypalCreateOrder.go:24
Struct
Attachment
Attachment represents a single supported attachment
src/lib/mandrill/mandrill.go:173
Struct
Attributes
src/subscriptions/paypalCreateOrder.go:113
Struct
Audience
src/lib/mailchimp/mailchimp.go:15
Struct
Base
Base defines shared fields and behaviour for resources.
src/lib/resource/resource.go:13
Struct
BaseTemplate
TODO - base template is a mixin, get rid of all methods which are going to be overridden like StartParse BaseTemplate is a base template which conform
src/lib/view/parser/template.go:44
Struct
BillingAddress
src/subscriptions/square.go:376
Struct
BillingAddress
src/subscriptions/paypalCreateOrder.go:104
Struct
BillingDetails
src/subscriptions/stripeEvent.go:44
Struct
Breakdown
src/subscriptions/paypalCreateOrder.go:55
Struct
Campaign
src/lib/mailchimp/mailchimp.go:33
Struct
CampaignContent
src/lib/mailchimp/mailchimp.go:43
Struct
CampaignId
src/lib/mailchimp/mailchimp.go:39
Struct
Card
src/subscriptions/square.go:384
Struct
Card
src/subscriptions/paypalCreateOrder.go:95
Struct
CardModel
src/subscriptions/card.go:3
Struct
CatalogModel
src/subscriptions/catalog.go:5
Struct
Charge
src/subscriptions/charge.go:5
Struct
Client
Client manages requests to the Mandrill API
src/lib/mandrill/mandrill.go:56
Struct
Collection
TODO: remove assumptions about location of assets.json file - this should be configurable Collection holds the complete list of groups
src/lib/assets/assets.go:19
Interface
Config
Config Interface to retreive configuration details of the server
src/lib/server/schedule/context.go:10
Struct
Config
Usage l,err := influx.New(influx.Config{}) log.AddValueLogger(l) ... log.Values(map[string]interface{}{"key",value}) Config represents the config for
src/lib/mux/log/adapters/influx/influx.go:21
Struct
Config
Config represents a set of key/value pairs for each mode of the app, production, development and test. Which set of values is used is set by Mode.
src/lib/server/config/config.go:31
Interface
Context
Context is the context passed to ScheduledActions, a subset of the router.Context interface
src/lib/server/schedule/schedule.go:9
TypeAlias
Context
Context defines a simple list of string:value pairs for mail templates.
src/lib/mail/mail.go:23
Struct
CookieSessionStore
CookieSessionStore is a concrete version of SessionStore, which stores the information encrypted in cookies.
src/lib/auth/session.go:57
Struct
Country
src/products/actions/update.go:31
Struct
Customer
src/subscriptions/paypalCreateOrder.go:120
Struct
CustomerDetails
src/subscriptions/stripeEvent.go:40
Struct
CustomerModel
src/subscriptions/customer.go:5
Struct
Data
src/subscriptions/stripeEvent.go:19
Interface
Database
Database provides an interface for database adapters to conform to
src/lib/query/adapters/database.go:11
Struct
Default
Default defines a default logger to stdout
src/lib/mux/log/default.go:11
Struct
Default
Default defines a default logger which simply logs to Writer, Writer is set to stderr, Level is LevelDebug and Prefix is empty by default.
src/lib/server/log/default.go:37
Struct
Discount
src/subscriptions/paypalCreateOrder.go:51
Struct
Email
Email represents an email to be sent.
src/lib/mail/email.go:8
Struct
Email
src/subscriptions/stripeEvent.go:75
Struct
Error
Error reprents an error from the Mandrill API * Invalid_Key -The provided API key is not a valid Mandrill API key\r * PaymentRequired -The requested f
src/lib/mandrill/mandrill.go:200
FuncType
ErrorHandlerFunc
ErrorHandlerFunc defines a HandlerFunc which accepts an error and displays it.
src/lib/mux/mux.go:13
Struct
ErrorModel
src/subscriptions/error.go:3
Struct
Event
Stripe event object
src/subscriptions/stripeEvent.go:12
Struct
EventPaymentModel
src/subscriptions/squareEventSubscription.go:30
Struct
EventSubscriptionModel
src/subscriptions/squareEventSubscription.go:5
Struct
ExperienceContext
src/subscriptions/paypalCreateOrder.go:9
Struct
File
File logs to a local file as well as stdout
src/lib/mux/log/file.go:9
Struct
File
File stores a filename and hash fingerprint for the asset file
src/lib/assets/file.go:15
Struct
File
File logs to a local file for all messages at or above Level.
src/lib/server/log/file.go:9
Struct
FileAttachmentResponse
src/products/actions/upload.go:83
FuncType
Func
Func is a function which applies effects to queries
src/lib/query/query.go:29
TypeAlias
FuncMap
FuncMap is a map of functions
src/lib/view/parser/parser.go:5
Struct
Group
Group holds a name and a list of files (images, scripts, styles)
src/lib/assets/group.go:23
Struct
HTMLTemplate
HTMLTemplate represents an HTML template using go HTML/template
src/lib/view/parser/template.html.go:16
FuncType
HandlerFunc
HandlerFunc defines a std net/http HandlerFunc, but which returns an error.
src/lib/mux/mux.go:10
Struct
Handling
src/subscriptions/paypalCreateOrder.go:35
Struct
Insurance
src/subscriptions/paypalCreateOrder.go:43
Struct
ItemTotal
src/subscriptions/paypalCreateOrder.go:27
Struct
Items
src/subscriptions/paypalCreateOrder.go:77
Struct
JSONTemplate
JSONTemplate represents a template using go HTML/template
src/lib/view/parser/template.json.go:16
Interface
Logger
Deprecated - use server/log pkg instead to log Logger interface for a logger - deprecated for 2.0
src/lib/server/deprecated.go:16
Interface
Logger
Logger Interface for a simple logger (the stdlib log pkg and the fragmenta log pkg conform)
src/lib/server/schedule/context.go:5
Struct
Logger
Logger logs values to a specified influxdb database
src/lib/mux/log/adapters/influx/influx.go:59
Struct
Logger
We accept hashtags like #error in log messages, which can be used to filter messages These tags can also be used to indicate the level of the message
src/lib/server/log/deprecated.go:19
Struct
Merge
src/lib/mailchimp/mailchimp.go:11
Struct
Message
Message represents the message payload sent to the API
src/lib/mandrill/mandrill.go:66
Struct
MetaData
src/subscriptions/stripeEvent.go:59
FuncType
Middleware
Middleware is a handler that wraps another handler
src/lib/mux/mux.go:16
Struct
Model
Model base class
src/lib/model/model.go:12
Struct
Mux
Mux handles http requests by selecting a handler and passing the request to it. Routes are evaluated in the order they were added. Before the request
src/lib/mux/mux.go:64
Struct
MysqlAdapter
MysqlAdapter conforms to the query.Database interface
src/lib/query/adapters/database_mysql.go:12
Struct
NaiveRoute
NaiveRoute holds a pattern which matches a route and params within it, and an associated handler which will be called when the route matches.
src/lib/mux/route.go:32
Struct
Name
src/subscriptions/paypalCreateOrder.go:135
Struct
OAuth1
src/lib/go-oauth1/go_oauth1.go:14
Struct
Object
src/products/actions/create.go:486
Struct
Object
src/subscriptions/stripeEvent.go:23
Struct
Option
FIXME - make Option conform to Selectable interface and use that instead of concrete type below Option type contains number and string
src/lib/view/helpers/forms.go:229
Struct
Options
Options represents image options
src/lib/model/file/image.go:20
Struct
Page
At present psql and mysql are tested, sqlite is disabled due to cross-compilation requirements Pages is a simple example model for testing the query p
src/lib/query/query_test.go:21
Struct
PalmAPIError
src/products/actions/suggestion.go:132
Struct
PalmAPIResponse
src/products/actions/suggestion.go:122
Interface
Parser
Parser loads template files, and returns a template suitable for rendering content
src/lib/view/parser/parser.go:8
Struct
PayPalOrderDetailsResult
src/subscriptions/PaypalOrderDetailsResult.go:5
Struct
Payload
src/products/actions/create.go:492
Struct
Payload
src/products/actions/suggestion.go:47
Struct
Payload
src/subscriptions/square.go:92
Struct
Payload
src/subscriptions/paypal.go:572
Struct
PaymentSource
src/subscriptions/paypalCreateOrder.go:20
Struct
Paypal
src/subscriptions/paypalCreateOrder.go:17
Struct
PaypalCaptureOrderResult
src/subscriptions/paypalCaptureOrderResult.go:5
Struct
PaypalCreateOrder
src/subscriptions/paypalCreateOrder.go:3
Struct
PaypalCreateOrderResult
src/subscriptions/paypalCreateOrderResult.go:3
Struct
PaypalEventCaptureRefund
src/subscriptions/paypalEventCaptureRefund.go:5
Struct
PaypalEventCheckout
src/subscriptions/paypalEventCheckout.go:5
next →
1–100 of 194, ranked by callers