Documentation ¶
Overview ¶
Package autodocs houses a series of data structures shared through the Auto Docs application. These structures give a shared method of communicating across components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Git captures details about working with git. Git Git // Listen contains the host:port for listening on HTTP // requests incoming. Listen string // Name is the identifier and brand for auto-docs. Name string }
Config manages all configuration attributes for auto-docs.
type Git ¶
type Git struct { // Branch is used for checking against a particular branch. // If not specified, master is used. Branch string // LocalPath contains a local location that is used to store // and interact with the repository. LocalPath string // Password is used for the username authentication. Password string // SSHKey captures a key for use with SSH authentication. SSHKey string // Timeout specifies length of time to wait before terminating // checking for an update. Timeout int // URI for the repository remote. URI string // Username captures the user to connect as. Username string // Period provides a way to specify the number of seconds // between polling git for new commits. Period int }
Git is a structure to capture information about working with a git repository.
Directories ¶
Path | Synopsis |
---|---|
Package main is where the base binary will be built from.
|
Package main is where the base binary will be built from. |
data
Package data provides functionality to interact with sources of documentation data.
|
Package data provides functionality to interact with sources of documentation data. |
docs
Package docs provides storage and retrieval for a series of data points based around a tree structure of page content.
|
Package docs provides storage and retrieval for a series of data points based around a tree structure of page content. |
server
Package server provides capabilities to manage and process incoming HTTP requests.
|
Package server provides capabilities to manage and process incoming HTTP requests. |
Click to show internal directories.
Click to hide internal directories.