Documentation ¶
Index ¶
- type Config
- type ImageBoard
- func (i *ImageBoard) Disable()
- func (i *ImageBoard) Enable()
- func (i *ImageBoard) Enabled() bool
- func (i *ImageBoard) GetHTTPHandlers() ([]*board.HTTPHandler, error)
- func (i *ImageBoard) HasPriority() bool
- func (i *ImageBoard) Name() string
- func (i *ImageBoard) Render(ctx context.Context, canvas board.Canvas) error
- func (i *ImageBoard) ScrollMode() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BoardDelay string `json:"boardDelay"` Enabled *atomic.Bool `json:"enabled"` Directories []string `json:"directories"` UseDiskCache *atomic.Bool `json:"useDiskCache"` UseMemCache *atomic.Bool `json:"useMemCache"` // contains filtered or unexported fields }
Config ...
type ImageBoard ¶
ImageBoard is a board for displaying image files
func (*ImageBoard) GetHTTPHandlers ¶
func (i *ImageBoard) GetHTTPHandlers() ([]*board.HTTPHandler, error)
GetHTTPHandlers ...
func (*ImageBoard) ScrollMode ¶ added in v0.0.29
func (i *ImageBoard) ScrollMode() bool
ScrollMode ...
Click to show internal directories.
Click to hide internal directories.