credentials

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	MerchantID  int
	UserID      int
	ClientID    int
	IP          string
	Fingerprint string
	UserAgent   string
	SessionID   string
	AccessToken string
}

func GetCredentialsFromCtx

func GetCredentialsFromCtx(ctx *gin.Context) Credentials

func NewCredentials

func NewCredentials(merchantID, userID, clientID int, ip, fingerprint, userAgent, sessionID, accessToken string) Credentials

Jump to

Keyboard shortcuts

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