MCPcopy Index your code
hub / github.com/gotify/server / withURL

Method withURL

api/message_test.go:550–553  ·  view source on GitHub ↗
(scheme, host, path, query string)

Source from the content-addressed store, hash-verified

548}
549
550func (s *MessageSuite) withURL(scheme, host, path, query string) {
551 s.ctx.Request.URL = &url.URL{Path: path, RawQuery: query}
552 s.ctx.Set("location", &url.URL{Scheme: scheme, Host: host})
553}
554
555func intPtr(x int) *int {
556 return &x

Calls

no outgoing calls

Tested by

no test coverage detected