formatter

package
v0.0.0-...-c182ff6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AddrHeader   = "CLIENT ADDR"
	TLLHeader    = "TOKEN TLL"
	DeviceHeader = "DEVICE"
	TokenHeader  = "TOKEN"

	QuietFormat    = "{{.Token}}"
	JwtTableFormat = "table {{.Addr}}\t{{.Tll}}\t{{.Device}}\t{{.Token}}"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonWebToken

type JsonWebToken struct {
	context.BaseSubjectContext
	// contains filtered or unexported fields
}

func (*JsonWebToken) Addr

func (j *JsonWebToken) Addr() string

func (*JsonWebToken) Device

func (j *JsonWebToken) Device() string

func (*JsonWebToken) Tll

func (j *JsonWebToken) Tll() string

func (*JsonWebToken) Token

func (j *JsonWebToken) Token() string

type JsonWebTokenContext

type JsonWebTokenContext struct {
	context.Context
	JsonWebTokens []response.JsonWebToken
}

func (JsonWebTokenContext) Write

func (ctx JsonWebTokenContext) Write()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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