common

package
v0.0.0-...-f17293a Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAppInfo

func DecryptAppInfo(app *ent.App) error

func EncryptAppInfo

func EncryptAppInfo()

func GenerateStsTokenByApp

func GenerateStsTokenByApp(app *ent.App) (string, error)

func GetAppByAppId

func GetAppByAppId(ctx context.Context, AppId string) (*ent.App, error)

func GetAppById

func GetAppById(ctx context.Context, id int) (*ent.App, error)

func GetMediaById

func GetMediaById(ctx context.Context, id string, app *ent.App) (*ent.Media, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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