client

package
v0.0.0-...-48663ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 11 Imported by: 0

README

Knowledge Base Client

The Client is structured as:

  • kb.convert: contains utilities for converting between text, URL, Link, Slug

Knowledge Base parts:

  • kb.Page: handles page content and operations on the content
  • kb.Stage: handles uploading, downloading pages. Staging area for page modifications.
  • kb.Lineup: contains the list of stages currently open.
  • kb.Crumbs: updates the location-bar hashes

View of KB:

  • App: main layout of the page
  • kb.Stage.View: shows a single KB.Stage with meta information and loading
  • kb.Lineup.View: displays stages side-by-side

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Domain string

	ShortTitle string
	Title      string
	Company    string

	TrackingID string
	Version    string
}

type Server

type Server struct {
	Info
	Login *auth.Server
	// contains filtered or unexported fields
}

func NewServer

func NewServer(info Info, login *auth.Server, dir string, development bool) *Server

func (*Server) ServeHTTP

func (server *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
assets
This program creates the support.js file with
This program creates the support.js file with

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL