Categorygithub.com/SwissOpenEM/globus
modulepackage
0.1.1
Repository: https://github.com/swissopenem/globus.git
Documentation: pkg.go.dev

# README

Globus Go Library

Description

This library should provide a way for an app to request and monitor transfers from Globus after authentication.

For authentication with Globus, the standard OAuth2 implementation for Go is used (github.com/golang/oauth2).

CLI app

The cmd/ subfolder contains a full implementation of all capabilities of this library in the form of a command line application.

The client credential / code grant based authentication requires the user to authenticate each time, as passing a refresh/auth token is not supported at this time. The library itself should be capable of doing this eventually.

# Packages

Copyright © 2024 NAME HERE <EMAIL ADDRESS> */.

# Functions

Returns a two-legged (client credental) http client with oauth2 authentication.
This is a very basic function that returns an oauth2 config with the token url hard-coded to the one provided by Globus.
No description provided by the author
creates a list of scopes to access data on the specified Globus endpoints.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
this could be represented by a TransferItem too, technically.
No description provided by the author
TODO: confirm that this works correctly with replies.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author