netdisksign

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DevUID

func DevUID(feature string) string

func ShareSURLInfoSign

func ShareSURLInfoSign(shareID int64) []byte

func Sign2

func Sign2(j, r []rune) []byte

Types

type LocateDownloadSign

type LocateDownloadSign struct {
	Time   int64
	Rand   string
	DevUID string
}

func NewLocateDownloadSign

func NewLocateDownloadSign(uid uint64, bduss string) *LocateDownloadSign

func NewLocateDownloadSignWithTimeAndDevUID

func NewLocateDownloadSignWithTimeAndDevUID(timeunix int64, devuid string, uid uint64, bduss string) *LocateDownloadSign

func (*LocateDownloadSign) Sign

func (s *LocateDownloadSign) Sign(uid uint64, bduss string)

func (*LocateDownloadSign) URLParam

func (s *LocateDownloadSign) URLParam() string

Jump to

Keyboard shortcuts

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