SyncResponseLocation returns a new syncResponse with a location.
(success bool, metadata any, location string)
| 135 | |
| 136 | // SyncResponseLocation returns a new syncResponse with a location. |
| 137 | func SyncResponseLocation(success bool, metadata any, location string) Response { |
| 138 | return &syncResponse{success: success, metadata: metadata, location: location} |
| 139 | } |
| 140 | |
| 141 | // SyncResponseRedirect returns a new syncResponse with a location, indicating |
| 142 | // a permanent redirect. |
no outgoing calls
no test coverage detected
searching dependent graphs…