ui

package
v0.0.0-...-ac0b2cf Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	// contains filtered or unexported fields
}

UI serves the built-in or an external UI for IAM and provides a configuration endpoint

func New

func New(builtInBox *packr.Box) *UI

New creates a new UI module serving files from builtInBox if not specified differently

func (*UI) AddFlags

func (ui *UI) AddFlags(flags *pflag.FlagSet)

AddFlags configures any UI flags

func (*UI) Directive

func (ui *UI) Directive() service.Directive

Directive returns a configuration directive for this UI module

func (*UI) Module

func (ui *UI) Module() api.Module

Module returns an api.Module definition

Jump to

Keyboard shortcuts

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