Documentation
¶
Index ¶
- func AddFunctionInPQueue(pq *pqueue.PriorityQueue, function any, functionArgs []any, priority int) (*pqueue.QueueItem, error)
- func GetChat(queue *pqueue.PriorityQueue, function any, args []any, priority int) (*tg_client.Chat, error)
- func GetChats(queue *pqueue.PriorityQueue, function any, args []any, priority int) ([]tg_client.Chat, error)
- func GetFunctionName(function interface{}) string
- func GetFunctionSignature(function interface{}, args []interface{}) string
- func GetRequestError(queue *pqueue.PriorityQueue, function any, args []any, priority int) error
- func GetString(queue *pqueue.PriorityQueue, function any, args []any, priority int) (string, error)
- func GetUser(queue *pqueue.PriorityQueue, function any, args []any, priority int) (*data.User, error)
- func GetUsers(queue *pqueue.PriorityQueue, function any, args []any, priority int) ([]data.User, error)
- func RemoveDuplicateColumn(arr []string) []string
- func RetrieveChat(chats []tg_client.Chat, msg data.ModulePayload) *tg_client.Chat
- func ValidateNonEmptyString(str string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFunctionInPQueue ¶
func GetFunctionName ¶
func GetFunctionName(function interface{}) string
func GetFunctionSignature ¶
func GetFunctionSignature(function interface{}, args []interface{}) string
func GetRequestError ¶
func RemoveDuplicateColumn ¶
func RetrieveChat ¶
func ValidateNonEmptyString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.