mdoc

package module
v0.0.0-...-23bed4d Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 18 Imported by: 0

README

mdoc

A dead simple document server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableLog

func EnableLog()

func GetConfig

func GetConfig() *model.Config

func InitWithFile

func InitWithFile(customConfigFile string) (err error)

InitWithFile initializes configuration from conf assets and given custom configuration file. If `customConf` is empty, it falls back to default location, i.e. "<WORK DIR>/custom".

func Serve

func Serve(cfg *model.Config) error

Types

This section is empty.

Directories

Path Synopsis
cmd
internal
doc
log

Jump to

Keyboard shortcuts

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