env

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UploadFolder exported folder name
	UploadFolder = "upload"
)

Variables

This section is empty.

Functions

func BaseDir

func BaseDir(appName string) string

func BucketDir

func BucketDir(appName, bucketName string) string

BucketDir build bucket path

func BuildBaseDir

func BuildBaseDir(appName string) string

BuildBaseDir build directory

func BuildBucketDir

func BuildBucketDir(appName, bucketName string) string

BuildBucketDir build directory

func Token

func Token(appName string, clear bool) *b2api.AuthorizationResp

func WriteToken

func WriteToken(appName string, data []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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