Documentation ¶
Index ¶
- Constants
- func InjectWso2RequestAuth(s *Wso2RequestAuth)
- func LoadWso2RequestAuth() baseiface.ISingleton
- type Wso2RequestAuth
- func (self *Wso2RequestAuth) CookieNew() *resty.Client
- func (self *Wso2RequestAuth) Get(url string) (*resty.Response, error)
- func (self *Wso2RequestAuth) NewR() *resty.Request
- func (self *Wso2RequestAuth) Post(body interface{}, url string) (*resty.Response, error)
- func (self *Wso2RequestAuth) R() *resty.Request
Constants ¶
View Source
const NAME_COOKIE_TOKEN = "AM_ACC_TOKEN_DEFAULT_P2"
View Source
const NAME_HEADER_TOKEN = "Authorization"
Variables ¶
This section is empty.
Functions ¶
func InjectWso2RequestAuth ¶
func InjectWso2RequestAuth(s *Wso2RequestAuth)
func LoadWso2RequestAuth ¶
func LoadWso2RequestAuth() baseiface.ISingleton
Types ¶
type Wso2RequestAuth ¶
type Wso2RequestAuth struct { basedto.BaseEntity Authorization string `json:"Authorization"` CookieToken string `json:"CookieToken"` Client *resty.Client `json:"-"` }
func FindBeanWso2RequestAuth ¶
func FindBeanWso2RequestAuth() *Wso2RequestAuth
FindBeanWso2RequestAuth
func NewWso2RequestAuth ¶
func NewWso2RequestAuth() *Wso2RequestAuth
func (*Wso2RequestAuth) CookieNew ¶
func (self *Wso2RequestAuth) CookieNew() *resty.Client
func (*Wso2RequestAuth) Get ¶
func (self *Wso2RequestAuth) Get(url string) (*resty.Response, error)
get
func (*Wso2RequestAuth) NewR ¶
func (self *Wso2RequestAuth) NewR() *resty.Request
func (*Wso2RequestAuth) Post ¶
func (self *Wso2RequestAuth) Post(body interface{}, url string) (*resty.Response, error)
post
func (*Wso2RequestAuth) R ¶
func (self *Wso2RequestAuth) R() *resty.Request
menuPanel=visible; menuPanelType=main; Hm_lvt_50d438546dfe2f605b42aa9f26f22ad8=1717123964,1717149779,1717382795,1717554626; JSESSIONID=4C2B338A60FCD92C2755D64486354780; opbs=fdb33b36-0476-4f47-b01c-b4244e5e42e6; commonAuthId=c070f214-3785-4b95-995b-a5158a2972ec
Click to show internal directories.
Click to hide internal directories.