Documentation
¶
Overview ¶
Code generated by gowebx, DO AVOID EDIT.
Code generated by gowebx, DO AVOID EDIT.
Code generated by gowebx, DO AVOID EDIT.
Index ¶
- type Channel
- func (d Channel) Add(ctx context.Context, model *gb28181.Channel) error
- func (d Channel) Del(ctx context.Context, model *gb28181.Channel, opts ...orm.QueryOption) error
- func (d Channel) Edit(ctx context.Context, model *gb28181.Channel, changeFn func(*gb28181.Channel), ...) error
- func (d Channel) EditWithSession(tx *gorm.DB, model *gb28181.Channel, changeFn func(b *gb28181.Channel) error, ...) error
- func (d Channel) Find(ctx context.Context, bs *[]*gb28181.Channel, page orm.Pager, ...) (int64, error)
- func (d Channel) Get(ctx context.Context, model *gb28181.Channel, opts ...orm.QueryOption) error
- func (d Channel) Session(ctx context.Context, changeFns ...func(*gorm.DB) error) error
- type DB
- type Device
- func (d Device) Add(ctx context.Context, model *gb28181.Device) error
- func (d Device) Del(ctx context.Context, model *gb28181.Device, opts ...orm.QueryOption) error
- func (d Device) Edit(ctx context.Context, model *gb28181.Device, changeFn func(*gb28181.Device), ...) error
- func (d Device) EditWithSession(tx *gorm.DB, model *gb28181.Device, changeFn func(b *gb28181.Device) error, ...) error
- func (d Device) Find(ctx context.Context, bs *[]*gb28181.Device, page orm.Pager, ...) (int64, error)
- func (d Device) Get(ctx context.Context, model *gb28181.Device, opts ...orm.QueryOption) error
- func (d Device) Session(ctx context.Context, changeFns ...func(*gorm.DB) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel DB
Channel Related business namespaces
func (Channel) Edit ¶
func (d Channel) Edit(ctx context.Context, model *gb28181.Channel, changeFn func(*gb28181.Channel), opts ...orm.QueryOption) error
Edit implements gb28181.ChannelStorer.
func (Channel) EditWithSession ¶
func (Channel) Find ¶
func (d Channel) Find(ctx context.Context, bs *[]*gb28181.Channel, page orm.Pager, opts ...orm.QueryOption) (int64, error)
Find implements gb28181.ChannelStorer.
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB Related business namespaces
type Device ¶
type Device DB
Device Related business namespaces
func (Device) Edit ¶
func (d Device) Edit(ctx context.Context, model *gb28181.Device, changeFn func(*gb28181.Device), opts ...orm.QueryOption) error
Edit implements gb28181.DeviceStorer.
func (Device) EditWithSession ¶
func (Device) Find ¶
func (d Device) Find(ctx context.Context, bs *[]*gb28181.Device, page orm.Pager, opts ...orm.QueryOption) (int64, error)
Find implements gb28181.DeviceStorer.
Click to show internal directories.
Click to hide internal directories.