proxydb

package
v1.4.21 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by godddx, DO AVOID EDIT.

Code generated by godddx, DO AVOID EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

DB Related business namespaces

func NewDB

func NewDB(db *gorm.DB) DB

NewDB instance object

func (DB) AutoMigrate

func (d DB) AutoMigrate(ok bool) DB

AutoMigrate sync database

func (DB) StreamProxy

func (d DB) StreamProxy() proxy.StreamProxyStorer

StreamProxy Get business instance

type StreamProxy

type StreamProxy DB

StreamProxy Related business namespaces

func NewStreamProxy

func NewStreamProxy(db *gorm.DB) StreamProxy

NewStreamProxy instance object

func (StreamProxy) Create added in v1.4.21

func (d StreamProxy) Create(ctx context.Context, model *proxy.StreamProxy) error

Create implements proxy.StreamProxyStorer.

func (StreamProxy) Delete added in v1.4.21

func (d StreamProxy) Delete(ctx context.Context, model *proxy.StreamProxy, opts ...orm.QueryOption) error

Delete implements proxy.StreamProxyStorer.

func (StreamProxy) Get

func (d StreamProxy) Get(ctx context.Context, model *proxy.StreamProxy, opts ...orm.QueryOption) error

Get implements proxy.StreamProxyStorer.

func (StreamProxy) List added in v1.4.21

func (d StreamProxy) List(ctx context.Context, bs *[]*proxy.StreamProxy, page orm.Pager, opts ...orm.QueryOption) (int64, error)

List implements proxy.StreamProxyStorer.

func (StreamProxy) Session

func (d StreamProxy) Session(ctx context.Context, changeFns ...func(*gorm.DB) error) error

func (StreamProxy) Update added in v1.4.21

func (d StreamProxy) Update(ctx context.Context, model *proxy.StreamProxy, changeFn func(*proxy.StreamProxy), opts ...orm.QueryOption) error

Update implements proxy.StreamProxyStorer.

func (StreamProxy) UpdateWithSession added in v1.4.21

func (d StreamProxy) UpdateWithSession(tx *gorm.DB, model *proxy.StreamProxy, changeFn func(b *proxy.StreamProxy) error, opts ...orm.QueryOption) error

Jump to

Keyboard shortcuts

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