Documentation
¶
Index ¶
- type Config
- type FileResponseWriteCloser
- type LocalCache
- func (l *LocalCache) GetFile(f func(value ...any) ([]byte, error), value ...any) (*web.File, error)
- func (l *LocalCache) GetFileForSuffix(suffix string, f func(value ...any) ([]byte, error), value ...any) (*web.File, error)
- func (l *LocalCache) GetFileResponseWrite(response web.Response, ...) error
- func (l *LocalCache) GetPath(value ...any) string
- func (l *LocalCache) HasFile(value ...any) bool
- func (l *LocalCache) Init(context context.Context, cfg config2.IConfig) error
- func (l *LocalCache) SaveBase64File(base64file string) (string, error)
- func (l *LocalCache) SaveBase64FileForPath(base64file string, savePath string, suffix string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileResponseWriteCloser ¶
type FileResponseWriteCloser struct {
// contains filtered or unexported fields
}
func (*FileResponseWriteCloser) Close ¶
func (w *FileResponseWriteCloser) Close() error
type LocalCache ¶
type LocalCache struct {
// contains filtered or unexported fields
}
func (*LocalCache) GetFileForSuffix ¶
func (*LocalCache) GetFileResponseWrite ¶
func (l *LocalCache) GetFileResponseWrite(response web.Response, f func(fileResponseWriteCloser *FileResponseWriteCloser, value ...any) error, value ...any) error
func (*LocalCache) GetPath ¶
func (l *LocalCache) GetPath(value ...any) string
func (*LocalCache) HasFile ¶
func (l *LocalCache) HasFile(value ...any) bool
func (*LocalCache) SaveBase64File ¶
func (l *LocalCache) SaveBase64File(base64file string) (string, error)
func (*LocalCache) SaveBase64FileForPath ¶
Click to show internal directories.
Click to hide internal directories.