Documentation
¶
Index ¶
- Variables
- func API(c *gin.Context)
- func Dashboard(c *gin.Context)
- func DeactivateEndpoint(c *gin.Context)
- func Deprovision(c *gin.Context)
- func GetChartOptions() types.ChartOptions
- func GetRpcRequestsByMethod(db *gorm.DB, accountID int) ([]types.RpcMethodCallsByDay, error)
- func Healthcheck(c *gin.Context)
- func Provision(c *gin.Context)
- func RPC(c *gin.Context)
- func RequestsIndex(c *gin.Context)
- func RpcRequestLogsMetricsForChart(db *gorm.DB, accountID int) (map[string]interface{}, error)
- func Update(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var MethodNameColors = map[string]string{
"qn_test": "#0ad193",
"qn_family": "#009fd1",
"qn_gettx": "#924fe7",
}
FILLME - Update colors below based on your method names
Functions ¶
func DeactivateEndpoint ¶
func Deprovision ¶
func GetChartOptions ¶
func GetChartOptions() types.ChartOptions
func GetRpcRequestsByMethod ¶
The GetRpcRequestsByMethod is not being used now but it's a good example of how to use GORM to query the database so i'm leaving it here. Also, it could be helpful to build an API that returns metrics to the customer in JSON.
func Healthcheck ¶
func RequestsIndex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.