Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCtx ¶
type AppCtx struct {
Mode AppMode
Env constants.PlatformEnvType
Credential *cHttp.AppCredential
}
func (*AppCtx) GetEnv ¶
func (a *AppCtx) GetEnv() constants.PlatformEnvType
type FileUploadResult ¶ added in v0.0.8
type FileUploadResult struct {
Data *struct {
URL string `json:"url,omitempty" bson:"url,omitempty"`
*UploadError
} `json:"data" bson:"data"`
}
type Option ¶ added in v0.0.8
type Option struct {
Type string `json:"type,omitempty"` // http content type
}
type RecordOnlyId ¶ added in v0.0.8
type UploadError ¶ added in v0.0.8
type UploadError struct {
Code int `json:"code,omitempty"`
Message string `json:"message,omitempty"`
}
func (UploadError) Error ¶ added in v0.0.8
func (e UploadError) Error() error
type UploadResult ¶ added in v0.0.8
type UploadResult struct {
URL string `json:"url,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.