utils

package
v0.0.0-...-6f193cf Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHash

func CreateHash(id string) string

func EncodeMD5

func EncodeMD5(value string) string

EncodeMD5 md5 encryption

func RandSeq

func RandSeq(n int) string

RandSeq generate a random string

func RenameToSendToIPFS

func RenameToSendToIPFS(path, resourceID string)

RenameToSendToIPFS rename all videos to send to ipfs

func SendError

func SendError(function string, err error)

SendError send error to sentry

func SpaceFieldsJoin

func SpaceFieldsJoin(str string) string

SpaceFieldsJoin remove space into string

func VerifyBeforeSendToIPFS

func VerifyBeforeSendToIPFS(path string) bool

VerifyBeforeSendToIPFS verify if has the necessary to send to ipfs

Types

This section is empty.

Jump to

Keyboard shortcuts

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