Documentation
¶
Overview ¶
Code generated by godddx, DO AVOID EDIT.
Code generated by godddx, DO AVOID EDIT.
Index ¶
- type DB
- type StreamPush
- func (d StreamPush) Create(ctx context.Context, model *push.StreamPush) error
- func (d StreamPush) Delete(ctx context.Context, model *push.StreamPush, opts ...orm.QueryOption) error
- func (d StreamPush) Get(ctx context.Context, model *push.StreamPush, opts ...orm.QueryOption) error
- func (d StreamPush) List(ctx context.Context, bs *[]*push.StreamPush, page orm.Pager, ...) (int64, error)
- func (d StreamPush) Session(ctx context.Context, changeFns ...func(*gorm.DB) error) error
- func (d StreamPush) Update(ctx context.Context, model *push.StreamPush, changeFn func(*push.StreamPush), ...) error
- func (d StreamPush) UpdateWithSession(tx *gorm.DB, model *push.StreamPush, changeFn func(b *push.StreamPush) error, ...) error
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 (DB) StreamPush ¶
func (d DB) StreamPush() push.StreamPushStorer
StreamPush Get business instance
type StreamPush ¶
type StreamPush DB
StreamPush Related business namespaces
func (StreamPush) Create ¶ added in v1.4.21
func (d StreamPush) Create(ctx context.Context, model *push.StreamPush) error
Create implements push.StreamPushStorer.
func (StreamPush) Delete ¶ added in v1.4.21
func (d StreamPush) Delete(ctx context.Context, model *push.StreamPush, opts ...orm.QueryOption) error
Delete implements push.StreamPushStorer.
func (StreamPush) Get ¶
func (d StreamPush) Get(ctx context.Context, model *push.StreamPush, opts ...orm.QueryOption) error
Get implements push.StreamPushStorer.
func (StreamPush) List ¶ added in v1.4.21
func (d StreamPush) List(ctx context.Context, bs *[]*push.StreamPush, page orm.Pager, opts ...orm.QueryOption) (int64, error)
List implements push.StreamPushStorer.
func (StreamPush) Update ¶ added in v1.4.21
func (d StreamPush) Update(ctx context.Context, model *push.StreamPush, changeFn func(*push.StreamPush), opts ...orm.QueryOption) error
Update implements push.StreamPushStorer.
func (StreamPush) UpdateWithSession ¶ added in v1.4.21
func (d StreamPush) UpdateWithSession(tx *gorm.DB, model *push.StreamPush, changeFn func(b *push.StreamPush) error, opts ...orm.QueryOption) error
Click to show internal directories.
Click to hide internal directories.