markdown

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const Route = "/markdown"

Route is the route under which the plugin should be registered in our router for the rest api.

Variables

This section is empty.

Functions

func Register

func Register(clusters *clusters.Clusters, plugins *plugin.Plugins, config Config) chi.Router

Register returns a new router which can be used in the router for the kobs rest api.

Types

type Config

type Config struct{}

Config is the structure of the configuration for the markdown plugin.

type Router

type Router struct {
	*chi.Mux
	// contains filtered or unexported fields
}

Router implements the router for the resources plugin, which can be registered in the router for our rest api.

Source Files

Jump to

Keyboard shortcuts

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