Documentation
¶
Index ¶
- Constants
- type Service
- func (service *Service) Baask8s(ID baasapi.Baask8sID) (*baasapi.Baask8s, error)
- func (service *Service) Baask8ss() ([]baasapi.Baask8s, error)
- func (service *Service) CreateBaask8s(baask8s *baasapi.Baask8s) error
- func (service *Service) DeleteBaask8s(ID baasapi.Baask8sID) error
- func (service *Service) GetNextIdentifier() int
- func (service *Service) UpdateBaask8s(ID baasapi.Baask8sID, baask8s *baasapi.Baask8s) error
Constants ¶
View Source
const (
// BucketName represents the name of the bucket where this service stores data.
BucketName = "baask8ss"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents a service for managing baask8s data.
func NewService ¶
NewService creates a new instance of a service.
func (*Service) CreateBaask8s ¶
CreateBaask8s assign an ID to a new baask8s and saves it.
func (*Service) DeleteBaask8s ¶
DeleteBaask8s deletes an baask8s.
func (*Service) GetNextIdentifier ¶
GetNextIdentifier returns the next identifier for an baask8s.
func (*Service) UpdateBaask8s ¶
UpdateBaask8s updates an baask8s.
Click to show internal directories.
Click to hide internal directories.