utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadFile

func UploadFile(c *stream.Client, cmd *cobra.Command, chType, chID, userID, filePath string) (string, error)

func UploadImage

func UploadImage(c *stream.Client, cmd *cobra.Command, chType, chID, userID, filePath string) (string, error)

func WaitForAsyncCompletion

func WaitForAsyncCompletion(cmd *cobra.Command, c *stream.Client, taskID string, timeoutSeconds int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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