Documentation ¶
Index ¶
- type Config
- type Storage
- func (s *Storage) GetDataByID(ctx context.Context, request *filestoremodel.GetDataByIDRequestModel) (*filestoremodel.GetDataByIDResponseModel, error)
- func (s *Storage) RemoveDataByID(ctx context.Context, request *filestoremodel.RemoveDataByIDRequestModel) error
- func (s *Storage) SaveData(ctx context.Context, request *filestoremodel.SaveDataRequestModel) (*filestoremodel.SaveDataResponseModel, error)
- func (s *Storage) UpdateData(ctx context.Context, request *filestoremodel.UpdateDataRequestModel) (*filestoremodel.UpdateDataResponseModel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) GetDataByID ¶
func (s *Storage) GetDataByID(ctx context.Context, request *filestoremodel.GetDataByIDRequestModel) (*filestoremodel.GetDataByIDResponseModel, error)
func (*Storage) RemoveDataByID ¶
func (s *Storage) RemoveDataByID(ctx context.Context, request *filestoremodel.RemoveDataByIDRequestModel) error
func (*Storage) SaveData ¶
func (s *Storage) SaveData(ctx context.Context, request *filestoremodel.SaveDataRequestModel) (*filestoremodel.SaveDataResponseModel, error)
func (*Storage) UpdateData ¶
func (s *Storage) UpdateData(ctx context.Context, request *filestoremodel.UpdateDataRequestModel) (*filestoremodel.UpdateDataResponseModel, error)
Click to show internal directories.
Click to hide internal directories.