Documentation
¶
Index ¶
- Variables
- func Init()
- type TelegramStorage
- func (t *TelegramStorage) Delete(ctx context.Context, detail shared.StorageDetail) error
- func (t *TelegramStorage) GetFile(ctx context.Context, detail shared.StorageDetail) (io.ReadCloser, error)
- func (t *TelegramStorage) Init(ctx context.Context) error
- func (t *TelegramStorage) Save(ctx context.Context, r io.Reader, storPath string) (*shared.StorageDetail, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type TelegramStorage ¶
type TelegramStorage struct {
// contains filtered or unexported fields
}
func (*TelegramStorage) Delete ¶
func (t *TelegramStorage) Delete(ctx context.Context, detail shared.StorageDetail) error
func (*TelegramStorage) GetFile ¶
func (t *TelegramStorage) GetFile(ctx context.Context, detail shared.StorageDetail) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.