utils

package
v0.0.0-...-700b64f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFilePaths

func CheckFilePaths(expected, received string)

func CheckFs3Status

func CheckFs3Status(received fs3.Status)

func GetAuthClient

func GetAuthClient() authservice.AuthClient

func GetFs3Client

func GetFs3Client() fs3.Fs3Client

* creates grpc client to make call to fs3 server * exits if fails to make a connection

func GetToken

func GetToken() string

func ReadToken

func ReadToken() (string, error)

func WriteToken

func WriteToken(token string) error

Types

type Fs3JwtClaims

type Fs3JwtClaims struct {
	Username string `json:"user"`
	jwt.RegisteredClaims
}

Jump to

Keyboard shortcuts

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