package
0.0.0-20241011153420-5f2c36d6d44b
Repository: https://github.com/t34-dev/go-svc-starter.git
Documentation: pkg.go.dev
# Functions
NewService creates a new instance of JSONPlaceholderService.
WithAPIKey sets the API key for authentication.
WithRateLimit sets the limit on the number of requests per second.
WithTimeout sets the timeout for the HTTP client.
WithTLSConfig sets a custom TLS configuration.
WithUserAgent sets a custom User-Agent.
# Structs
ServiceConfig contains configuration parameters for the service.
# Type aliases
ServiceOption defines a function type for configuring ServiceConfig.