mdbook

package module
v0.0.0-...-55bd97c Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 7 Imported by: 0

README

mdbook

markdown book lib

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BookServer = &MdBook{
	Engine: gin.Default(),
}

Functions

This section is empty.

Types

type Config

type Config struct {
	// 运行模式
	Mode    string
	Port    int
	BookDir string
}
var AppConfig *Config

func (*Config) GetMode

func (c *Config) GetMode() string

func (*Config) GetPort

func (c *Config) GetPort() string

type MdBook

type MdBook struct {
	Config *Config
	Engine *gin.Engine
}

func (*MdBook) Run

func (m *MdBook) Run() error

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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