Documentation ¶
Index ¶
- func BindAllTCP(c bcgo.Cache, n *network.TCP, cb func(string) (bcgo.Channel, error))
- func BindTCP(port int, handler func(net.Conn))
- func BlockHandler(cache bcgo.Cache, template *template.Template) func(w http.ResponseWriter, r *http.Request)
- func BlockPortTCPHandler(cache bcgo.Cache) func(conn net.Conn)
- func BroadcastPortTCPHandler(cache bcgo.Cache, network *network.TCP, ...) func(conn net.Conn)
- func ChannelHandler(cache bcgo.Cache, template *template.Template) func(w http.ResponseWriter, r *http.Request)
- func ChannelListHandler(cache bcgo.Cache, template *template.Template, list func() []bcgo.Channel) func(w http.ResponseWriter, r *http.Request)
- func ConnectPortTCPHandler(network *network.TCP, allowed func(string, string) bool) func(conn net.Conn)
- func HeadPortTCPHandler(cache bcgo.Cache) func(conn net.Conn)
- func PeriodicValidationHandler(channel bcgo.Channel, cache bcgo.Cache, template *template.Template) func(w http.ResponseWriter, r *http.Request)
- func RegistrationHandler(merchantAlias, merchantName, merchantKey string, template *template.Template, ...) func(w http.ResponseWriter, r *http.Request)
- func StripeWebhookHandler(callback func(*stripe.Event)) func(w http.ResponseWriter, r *http.Request)
- func SubscriptionHandler(template *template.Template, redirect string, ...) func(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAllTCP ¶
func BlockHandler ¶
func BroadcastPortTCPHandler ¶
func ChannelHandler ¶
func ChannelListHandler ¶
func ConnectPortTCPHandler ¶
func RegistrationHandler ¶
func StripeWebhookHandler ¶
func StripeWebhookHandler(callback func(*stripe.Event)) func(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.