interfaces

package
v1.3.1-dev.18 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StatusCodeExitNormal exit code
	StatusCodeExitNormal = 0
	// StatusCodeNoOptionSelected exit code
	StatusCodeNoOptionSelected = 1
	// StatusCodeExitWithError is exit code for error
	StatusCodeExitWithError = 2
)
View Source
const (
	// JwtTokenType is passed on command line to select JWT auth tokens
	JwtTokenType string = "jwt"
	// OAuth2TokenType is passed on command line to select OAuth2 auth tokens
	OAuth2TokenType string = "oauth2"
	// RS256 JWT Alg RS256
	RS256 string = "RS256"
	// ES256 JWT Alt ES256
	ES256 string = "ES256"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Execute() (statusCode int, err error)
}

Command implement the Command pattern

Jump to

Keyboard shortcuts

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