util

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	ImUserID        string
	ProxyHeader     string
	ChatAdminUserID string
}

func (*Api) GetClientIP

func (o *Api) GetClientIP(c *gin.Context) (string, error)

func (*Api) GetDefaultIMAdminUserID

func (o *Api) GetDefaultIMAdminUserID() string

func (*Api) WithAdminUser

func (o *Api) WithAdminUser(ctx context.Context) context.Context

Jump to

Keyboard shortcuts

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