Documentation ¶
Index ¶
- type Store
- func (s *Store) Create(ctx context.Context, accountID int32, input *client.ClientInput) (*client.Client, error)
- func (s *Store) DeleteByUUID(ctx context.Context, accountID int32, UUID string) error
- func (s *Store) FindByUUID(ctx context.Context, accountID int32, UUID string) (*client.Client, error)
- func (s *Store) FindMany(ctx context.Context, accountID int32) ([]*client.Client, error)
- func (s *Store) UpdateByUUID(ctx context.Context, accountID int32, UUID string, input *client.ClientInput) (*client.Client, error)
- type Storer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteByUUID ¶
func (*Store) FindByUUID ¶
type Storer ¶
type Storer interface { FindMany(ctx context.Context, accountID int32) ([]*client.Client, error) FindByUUID(ctx context.Context, accountID int32, UUID string) (*client.Client, error) Create(ctx context.Context, accountID int32, input *client.ClientInput) (*client.Client, error) UpdateByUUID(ctx context.Context, accountID int32, UUID string, input *client.ClientInput) (*client.Client, error) DeleteByUUID(ctx context.Context, accountID int32, UUID string) error }
Click to show internal directories.
Click to hide internal directories.