MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetProtocol

Method GetProtocol

validator/validator.pb.go:1404–1409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1402}
1403
1404func (x *UrlSpec) GetProtocol() []string {
1405 if x != nil {
1406 return x.Protocol
1407 }
1408 return nil
1409}
1410
1411func (x *UrlSpec) GetAllowRelative() bool {
1412 if x != nil && x.AllowRelative != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected