meta

package
v0.0.0-...-77dcaa2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package meta supplies the user with a

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Password     string
	DataDir      string
	EnableWiki   bool
	EnableMedia  bool
	EnablePastes bool
}

Config is the config that is passed to NewMeta

type Meta

type Meta struct {
	Conf Config
	// contains filtered or unexported fields
}

Meta is the meta handler, it should be everything that is needed to have muxwiki imported in other projects main.go is used just for the standalone application

func NewMeta

func NewMeta(conf Config) *Meta

NewMeta returns a new Meta instance, encompassing everything

func (*Meta) Router

func (m *Meta) Router() chi.Router

Router returns a new router

Jump to

Keyboard shortcuts

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