ripple-api/common/method_data.go
2016-04-03 19:59:27 +02:00

16 lines
262 B
Go

package common
import (
"database/sql"
"github.com/gin-gonic/gin"
)
// MethodData is a struct containing the data passed over to an API method.
type MethodData struct {
User Token
DB *sql.DB
RequestData []byte
C *gin.Context
}