Documentation ¶
Index ¶
- type Account
- func (a *Account) Add(ctx context.Context, in *v1.Account) (*v1.Account, error)
- func (a *Account) Delete(ctx context.Context, id string) error
- func (a *Account) Get(ctx context.Context, id string) (*v1.Account, error)
- func (a *Account) Init(ctx context.Context, db *db.Store) error
- func (a *Account) List(ctx context.Context, filter interface{}) ([]*v1.Account, error)
- func (a *Account) Update(ctx context.Context, in *v1.Account) (*v1.Account, error)
- type Tariff
- func (t *Tariff) Add(ctx context.Context, in *v1.Tariff) (*v1.Tariff, error)
- func (t *Tariff) Delete(ctx context.Context, id string) error
- func (t *Tariff) Get(ctx context.Context, id string) (*v1.Tariff, error)
- func (t *Tariff) Init(ctx context.Context, db *db.Store) error
- func (t *Tariff) List(ctx context.Context, filter interface{}) (*v1.Tariffs, error)
- func (t *Tariff) Update(ctx context.Context, in *v1.Tariff) (*v1.Tariff, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.