gitlab

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTokenScope

func CheckTokenScope(token string, apiURL string) (string, error)

CheckTokenScope checks the scope of the token and returns the token name.

func Init

func Init(token string, t rt.Type, u *url.URL) (string, string, error)

Init checks the token's scope and returns the username and token name associated with the token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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