apis

package
v0.0.161 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCustomUserID added in v0.0.158

func GetCustomUserID(ctx context.Context, url, token string) (int, error)

func GetGitHubUserID

func GetGitHubUserID(ctx context.Context, token string) (int, error)

func GetGoogleUserID

func GetGoogleUserID(ctx context.Context, token string) (string, error)

Types

type GoogleUserResponse

type GoogleUserResponse struct {
	ID string `json:"id"`
}

type UserResponse

type UserResponse struct {
	ID int `json:"id"`
}

Jump to

Keyboard shortcuts

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