tokenauth

package
Version: v0.0.0-...-d645c4e Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(args *Options) (*genny.Generator, error)

New generates and modifies files via plush and genny

Types

type Options

type Options struct {
	// add your stuff here
	Prefix     string
	UserFields []string
}

Options for generating token-auth

func (*Options) Validate

func (opts *Options) Validate() error

Validate that options are usuable

Jump to

Keyboard shortcuts

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