EndpointTypeGetter returns a NamedTypeGetter with the specified name and getter
(name string, getter TypeGetter)
| 16 | |
| 17 | // EndpointTypeGetter returns a NamedTypeGetter with the specified name and getter |
| 18 | func EndpointTypeGetter(name string, getter TypeGetter) NamedTypeGetter { |
| 19 | return NamedTypeGetter{ |
| 20 | name: name, |
| 21 | typeGetter: getter, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | // Config is used to configure the metadata marshaler of the context ContextStore |
| 26 | type Config struct { |
no outgoing calls
searching dependent graphs…