bootstraptoken

package
v0.0.0-...-9a4926e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapToken

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

func NewBootstrapToken

func NewBootstrapToken(id, secret string) *BootstrapToken

func ParseFromString

func ParseFromString(value string) *BootstrapToken

func (*BootstrapToken) CreationTime

func (t *BootstrapToken) CreationTime() *time.Time

func (*BootstrapToken) CreationUnixTime

func (t *BootstrapToken) CreationUnixTime() (val *date.UnixTime)

func (*BootstrapToken) ExpirationString

func (t *BootstrapToken) ExpirationString() (expiration string)

func (*BootstrapToken) ExpirationTime

func (t *BootstrapToken) ExpirationTime() *time.Time

func (*BootstrapToken) ExpirationUnixTime

func (t *BootstrapToken) ExpirationUnixTime() (val *date.UnixTime)

func (*BootstrapToken) FullToken

func (t *BootstrapToken) FullToken() string

func (*BootstrapToken) Id

func (t *BootstrapToken) Id() string

func (*BootstrapToken) Secret

func (t *BootstrapToken) Secret() string

func (*BootstrapToken) SetCreationTime

func (t *BootstrapToken) SetCreationTime(val time.Time)

func (*BootstrapToken) SetCreationUnixTime

func (t *BootstrapToken) SetCreationUnixTime(val date.UnixTime)

func (*BootstrapToken) SetExpirationTime

func (t *BootstrapToken) SetExpirationTime(val time.Time)

func (*BootstrapToken) SetExpirationUnixTime

func (t *BootstrapToken) SetExpirationUnixTime(val date.UnixTime)

Jump to

Keyboard shortcuts

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