Documentation
¶
Index ¶
- Constants
- type RequestSt
- type ResponseSt
- type St
- func (c *St) Clean()
- func (c *St) GetOptions() httpc.OptionsSt
- func (c *St) GetRequest(path string, obj any) (*RequestSt, bool)
- func (c *St) GetRequests() []*RequestSt
- func (c *St) Send(reqBody []byte, opts httpc.OptionsSt) ([]byte, error)
- func (c *St) SendJson(reqObj any, opts httpc.OptionsSt) ([]byte, error)
- func (c *St) SendJsonRecvJson(reqObj, repObj any, opts httpc.OptionsSt) ([]byte, error)
- func (c *St) SendRecvJson(reqBody []byte, repObj any, opts httpc.OptionsSt) ([]byte, error)
- func (c *St) SetResponse(path string, response ResponseSt)
- func (c *St) SetResponses(responses map[string]ResponseSt)
Constants ¶
View Source
const (
ErrPageNotFound = dopErrs.Err("page_not_found")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseSt ¶
type St ¶
type St struct {
// contains filtered or unexported fields
}
func (*St) GetOptions ¶
func (*St) GetRequests ¶
func (*St) SendJsonRecvJson ¶
func (*St) SendRecvJson ¶
func (*St) SetResponse ¶
func (c *St) SetResponse(path string, response ResponseSt)
func (*St) SetResponses ¶
func (c *St) SetResponses(responses map[string]ResponseSt)
Click to show internal directories.
Click to hide internal directories.