models

package
v0.0.0-...-f0d953d Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	gorm.Model
	QuicknodeID     string `gorm:"index"`
	PlanSlug        string
	DeprovisionedAt datatypes.Time
	IsTest          bool `gorm:"default:false"`
}

type Endpoint

type Endpoint struct {
	gorm.Model
	AccountID       uint `gorm:"index"`
	QuicknodeID     string
	WssUrl          string
	HttpUrl         string
	Chain           string
	Network         string
	DeprovisionedAt datatypes.Time
	IsTest          bool `gorm:"default:false"`
}

type RpcRequest

type RpcRequest struct {
	gorm.Model
	AccountId      uint
	MethodName     string
	RequestBody    string
	ResponseStatus uint
	ResponseBody   string
	Chain          string
	Network        string
	IpAddress      string
	EndpointID     uint
	IsTest         bool `gorm:"default:false"`
}

func (*RpcRequest) PrettyCreatedAt

func (r *RpcRequest) PrettyCreatedAt() string

func (*RpcRequest) Successful

func (r *RpcRequest) Successful() bool

Jump to

Keyboard shortcuts

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