utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleCmdReq added in v0.1.0

func AssembleCmdReq(cmd string) string

func AssembleCmdResp added in v0.1.0

func AssembleCmdResp(cmd string) string

func GetChatId

func GetChatId() uint64

func GetIP

func GetIP() (string, error)

Types

type IdResult

type IdResult struct {
	IdList []uint64 `json:"id_list"`
}

type WaitGroupWrapper

type WaitGroupWrapper struct {
	sync.WaitGroup
}

func (*WaitGroupWrapper) Wrap

func (w *WaitGroupWrapper) Wrap(cb func())

Jump to

Keyboard shortcuts

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