Documentation ¶
Index ¶
Constants ¶
View Source
const Hello = "B3vUNO|I,|\"FAco9b<fIPj0K:r,Zsj\"?KFOA}.z1N&LZOP1GYq"
View Source
const (
TokenKey = "X-enputi-Token"
)
Variables ¶
View Source
var ( ErrTohruNotfound = errors.New("tohru notfound") ErrWrongPassword = errors.New("wrong password") )
View Source
var Tohru = newTohru()
Functions ¶
This section is empty.
Types ¶
type ChangePasswordReq ¶
type ChangePasswordReq struct { // 当前Tohru的版本 TohruKey string `yaml:"tohru_key" json:"tohru_key" validate:"required"` OldTohruPassword string `yaml:"old_tohru_password" json:"old_tohru_password" validate:"required"` NewTohruPassword string `yaml:"new_tohru_password" json:"new_tohru_password" validate:"required"` }
type ChangePasswordRsp ¶
type ChangePasswordRsp struct { }
type CheckUsableReq ¶
type CheckUsableRsp ¶
type RegistrationReq ¶
type RegistrationRsp ¶
type RegistrationRsp struct { }
type SyncNodeReq ¶
type SyncNodeReq struct {
NodeList string `yaml:"node_list" json:"node_list" validate:"required"`
}
type SyncNodeRsp ¶
type SyncNodeRsp struct {
NodeList string `yaml:"node_list" json:"node_list"`
}
Click to show internal directories.
Click to hide internal directories.