Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppRequest ¶
type AppRequest struct { ID string `json:"id"` Method string `json:"method"` Verb string `json:"verb"` Header http.Header `json:"header"` QueryValue url.Values `json:"query_value"` Body []byte `json:"body"` }
func (*AppRequest) String ¶
func (a *AppRequest) String() string
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func NewHTTPClient(httpPort string) *HTTPClient
func (*HTTPClient) Call ¶
func (c *HTTPClient) Call(ctx context.Context, req *AppRequest) (*http.Response, error)
Call http invake dapr sidecar.
Click to show internal directories.
Click to hide internal directories.