controller

package
v0.0.2-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package controller provides the admin API controller for managing policies and paymaster data.

Package controller provides the main controller for handling JSON-RPC requests in the Scroll paymaster service.

Package controller provides the ERC-7677 paymaster controller for handling JSON-RPC requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAPI

func InitAPI(cfg *config.Config, db *gorm.DB)

InitAPI init api handler

func UnifiedHandler

func UnifiedHandler(c *gin.Context)

UnifiedHandler handles all JSON-RPC requests

Types

type AdminController

type AdminController struct {
	// contains filtered or unexported fields
}

AdminController handles admin API requests

func NewAdminController

func NewAdminController(cfg *config.Config, db *gorm.DB) *AdminController

NewAdminController creates a new AdminController

type PaymasterController

type PaymasterController struct {
	// contains filtered or unexported fields
}

PaymasterController the controller of paymaster

func NewPaymasterController

func NewPaymasterController(cfg *config.Config, db *gorm.DB) *PaymasterController

NewPaymasterController creates and initializes a new PaymasterController.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL