MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / LemonsqueezyClient

Method LemonsqueezyClient

api/pkg/di/container.go:1300–1307  ·  view source on GitHub ↗

LemonsqueezyClient creates a new instance of lemonsqueezy.Client

()

Source from the content-addressed store, hash-verified

1298
1299// LemonsqueezyClient creates a new instance of lemonsqueezy.Client
1300func (container *Container) LemonsqueezyClient() (client *lemonsqueezy.Client) {
1301 container.logger.Debug(fmt.Sprintf("creating %T", client))
1302 return lemonsqueezy.New(
1303 lemonsqueezy.WithHTTPClient(container.HTTPClient("lemonsqueezy")),
1304 lemonsqueezy.WithAPIKey(os.Getenv("LEMONSQUEEZY_API_KEY")),
1305 lemonsqueezy.WithSigningSecret(os.Getenv("LEMONSQUEEZY_SIGNING_SECRET")),
1306 )
1307}
1308
1309// PusherClient creates a new instance of pusher.Client
1310func (container *Container) PusherClient() (client *pusher.Client) {

Callers 2

UserServiceMethod · 0.95

Calls 2

HTTPClientMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected