MCPcopy
hub / github.com/ory/kratos / Set

Method Set

oryx/cmdx/helper.go:253–260  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

251var _ pflag.Value = (*URL)(nil)
252
253func (u *URL) Set(s string) error {
254 uu, err := url.Parse(s)
255 if err != nil {
256 return err
257 }
258 u.URL = *uu
259 return nil
260}
261
262func (*URL) Type() string {
263 return "url"

Callers 15

applyMethod · 0.45
NewBuilderFunction · 0.45
addBodyMethod · 0.45
addRawBodyMethod · 0.45
TestNewSMTPFunction · 0.45
TestLoadTextTemplateFunction · 0.45
SetupRemoteConfigFunction · 0.45
NoCacheFunction · 0.45
RegisterWebauthnRouteFunction · 0.45

Calls 1

ParseMethod · 0.45

Tested by 15

TestNewSMTPFunction · 0.36
TestLoadTextTemplateFunction · 0.36
TestHandlerFunction · 0.36
TestSessionFunction · 0.36
TestManagerHTTPFunction · 0.36
TestInitFlowFunction · 0.36