MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / formatHeader

Function formatHeader

module/service/iml.go:98–106  ·  view source on GitHub ↗
(header string)

Source from the content-addressed store, hash-verified

96}
97
98func formatHeader(header string) string {
99 result, err := url.QueryUnescape(header)
100 if err != nil {
101 return header
102 }
103 result = strings.ReplaceAll(result, "&", "\n")
104 result = strings.ReplaceAll(result, "=", ": ")
105 return result
106}
107
108func (i *imlServiceModule) RestLogInfo(ctx context.Context, serviceId string, logId string) (*service_dto.RestLogInfo, error) {
109 c, err := i.clusterService.Get(ctx, cluster.DefaultClusterID)

Callers 2

RestLogInfoMethod · 0.85
AILogInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected