Documentation ¶
Index ¶
- type ApplicationPackagesRegistry
- func (r ApplicationPackagesRegistry) Get(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, ...) (*ttnpb.ApplicationPackageAssociation, error)
- func (r ApplicationPackagesRegistry) List(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, paths []string) ([]*ttnpb.ApplicationPackageAssociation, error)
- func (r ApplicationPackagesRegistry) Set(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, ...) (*ttnpb.ApplicationPackageAssociation, error)
- func (r ApplicationPackagesRegistry) WithPagination(ctx context.Context, limit, page uint32, total *int64) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationPackagesRegistry ¶
ApplicationPackagesRegistry is a Redis application packages registry.
func (ApplicationPackagesRegistry) Get ¶
func (r ApplicationPackagesRegistry) Get(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, paths []string) (*ttnpb.ApplicationPackageAssociation, error)
Get implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) List ¶
func (r ApplicationPackagesRegistry) List(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, paths []string) ([]*ttnpb.ApplicationPackageAssociation, error)
List implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) Set ¶
func (r ApplicationPackagesRegistry) Set(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, gets []string, f func(*ttnpb.ApplicationPackageAssociation) (*ttnpb.ApplicationPackageAssociation, []string, error)) (*ttnpb.ApplicationPackageAssociation, error)
Set implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) WithPagination ¶
func (r ApplicationPackagesRegistry) WithPagination(ctx context.Context, limit, page uint32, total *int64) context.Context
WithPagination implements applicationpackages.AssociationRegistry.
Click to show internal directories.
Click to hide internal directories.