Versions in this module Expand all Collapse all v1 v1.0.1 Aug 19, 2025 v1.0.0 Jul 1, 2025 Changes in this version + func AuthMiddleware(r *mux.Router, chainSvc *service.BlockchainService, handler authErrorHandler) mux.MiddlewareFunc + func JsonRpcValidationMiddleware(next http.Handler) http.Handler + func LogTracingMiddleware(prefix string) mux.MiddlewareFunc + func LoggingMiddleware(next http.Handler) http.Handler + func MetricsMiddleware(next http.Handler) http.Handler + func MustServe(svcFactory *service.Factory) + func Shutdown() error + func Wrap(controllerFunc func(hc *handlerContext) (interface{}, error), module string) func(w http.ResponseWriter, r *http.Request) + type BillingController struct + func NewBillingController(billingSvc *service.BillingService) *BillingController + func (bc *BillingController) Bill(hc *handlerContext) (interface{}, error) + type Config struct + Endpoint string + type JrBillingApi struct + func (api *JrBillingApi) Bill(r *http.Request, args *service.BillingRequest, reply **model.BusinessError) error + func (api *JrBillingApi) BillBatch(r *http.Request, args *service.BillingBatchRequest, ...) error