Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProcessIDContextKey = "processID" ContentType = "Content-Type" ApplicationJSON = "application/json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rest ¶
type Rest interface {
Post(ctx context.Context, url string, header map[string]string, payload any) ([]byte, int, error)
Put(ctx context.Context, url string, header map[string]string, payload any) ([]byte, int, error)
Get(ctx context.Context, url string, header map[string]string, queryParams map[string]string) ([]byte, int, error)
Delete(ctx context.Context, url string, header map[string]string, queryParams map[string]string) ([]byte, int, error)
}
Click to show internal directories.
Click to hide internal directories.