utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUUID

func GenerateUUID() string

func NewAwsSession

func NewAwsSession() *session.Session

Types

type RecordWatcher

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

func NewRecordWatcher

func NewRecordWatcher(bucketName string) *RecordWatcher

func (*RecordWatcher) Upload

func (a *RecordWatcher) Upload(key string) (err error)

type TokenStorage

type TokenStorage interface {
	Store(ctx context.Context, key string, token *januscluster.Ticket) error
	Resolve(ctx context.Context, key string) (*januscluster.Ticket, error)
}

func NewTokenStorage

func NewTokenStorage() TokenStorage

Jump to

Keyboard shortcuts

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