domain

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OssStsToken

type OssStsToken struct {
	AccessKey     string
	AccessSecret  string
	SecurityToken string
	Expiration    string
	BucketName    string
	Region        string
	Url           string
	EndPoint      string
}

func ToDomainOssStsToken

func ToDomainOssStsToken(data interface{}) *OssStsToken

ToDomainOssStsToken 将pb结构体转换为domain包下的OssStsToken结构体

func (*OssStsToken) ToDomain

func (oss *OssStsToken) ToDomain(data interface{}) *OssStsToken

ToDomain 将pb结构体转换为domain结构体

func (*OssStsToken) ToPb

func (oss *OssStsToken) ToPb() *fileV1.OssStsTokenResponse

ToPb 将domain结构体转换为pb结构体

Jump to

Keyboard shortcuts

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