mysql

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLRequestRepository

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

func NewMySQLRequestRepository

func NewMySQLRequestRepository(conf *u2semi.MySQLRepoConf) (*MySQLRequestRepository, error)

func (*MySQLRequestRepository) Create

func (repo *MySQLRequestRepository) Create(req *u2semi.Request) error

type RequestMySQLModel

type RequestMySQLModel struct {
	gorm.Model
	Method  string `gorm:"size:256"`
	URL     string `gorm:"size:2048"`
	Proto   string `gorm:"size:256"`
	Headers datatypes.JSON
	Body    string
	IPFrom  string `gorm:"size:256"`
	IPTo    string `gorm:"size:256"`
}

func (*RequestMySQLModel) TableName

func (model *RequestMySQLModel) TableName() string

Jump to

Keyboard shortcuts

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