Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_ADMINUSER = "admin" DEFAULT_PWD = "admin@123" )
Variables ¶
View Source
var ( DEFAULT_BASEURL = "http://localhost:7777" COMMAND = "curl" VERBOSE_OPT = "--trace-ascii -" UPLOAD_TARGET = "upload.zip" TargetFileNotFoundError = errors.New("カレントディレクトリに upload.zip ファイルが存在しない") FailLoginError = errors.New("ユーザー認証に失敗した") FailUploadError = errors.New("アップロードが成功レスポンスを返却しなかった") )
Functions ¶
This section is empty.
Types ¶
type TaskOption ¶ added in v0.1.0
type TaskOption func(*Task)
func TaskWithBaseurl ¶ added in v0.1.0
func TaskWithBaseurl(baseurl string) TaskOption
func TaskWithDestpath ¶ added in v0.2.1
func TaskWithDestpath(destpath string) TaskOption
func TaskWithLoginUser ¶ added in v0.2.0
func TaskWithLoginUser(adminuser string, pwd string) TaskOption
Click to show internal directories.
Click to hide internal directories.