Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnInfo ¶ added in v0.0.23
func (ColumnInfo) TitleArrow ¶ added in v0.0.23
func (c ColumnInfo) TitleArrow() string
func (ColumnInfo) URLString ¶ added in v0.0.23
func (c ColumnInfo) URLString() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a SCUD web server. The SCUD web service can serve 2 different kinda of responses. The first is basic static vendor-provided files (called "assetFiles" here). An arbitrary number of them can be placed in assets/ and served up via a path prefix of /assets. They do not need individual routes to be specified. The second is htmx responses fragments. We never automatically serve templates (ie no mapping from template name to a URL route), there will always be a specific route or routes which use one or more templates to return a response.
func Create ¶
func Create(bmm *db.BookmarkManager, cmm *db.ConfigManager) *Server
Create creates a new web server instance and sets up routing.
Click to show internal directories.
Click to hide internal directories.