Documentation
¶
Index ¶
- type GormStore
- func (s *GormStore) Ads() ads.Model
- func (s *GormStore) Announcement() announcement.Model
- func (s *GormStore) Auth() auth.Model
- func (s *GormStore) Client() client.Model
- func (s *GormStore) Coupon() coupon.Model
- func (s *GormStore) Document() document.Model
- func (s *GormStore) InTx(ctx context.Context, fn func(store Store) error) error
- func (s *GormStore) Log() log.Model
- func (s *GormStore) Node() node.Model
- func (s *GormStore) Order() order.Model
- func (s *GormStore) Payment() payment.Model
- func (s *GormStore) Subscribe() subscribe.Model
- func (s *GormStore) System() system.Model
- func (s *GormStore) Task() task.Model
- func (s *GormStore) Ticket() ticket.Model
- func (s *GormStore) TrafficLog() traffic.Model
- func (s *GormStore) User() user.Model
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormStore ¶
type GormStore struct {
// contains filtered or unexported fields
}
func (*GormStore) Announcement ¶
func (s *GormStore) Announcement() announcement.Model
func (*GormStore) TrafficLog ¶
type Store ¶
type Store interface {
Ads() ads.Model
Announcement() announcement.Model
Auth() auth.Model
Client() client.Model
Coupon() coupon.Model
Document() document.Model
Log() log.Model
Node() node.Model
Order() order.Model
Payment() payment.Model
Subscribe() subscribe.Model
System() system.Model
Task() task.Model
Ticket() ticket.Model
TrafficLog() traffic.Model
User() user.Model
InTx(ctx context.Context, fn func(store Store) error) error
}
Click to show internal directories.
Click to hide internal directories.