client

package
Version: v0.0.0-...-f307403 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 8 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)

Source Files

Directories

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL