test

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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