(method methodTyp)
| 128 | } |
| 129 | |
| 130 | func (s endpoints) Value(method methodTyp) *endpoint { |
| 131 | mh, ok := s[method] |
| 132 | if !ok { |
| 133 | mh = &endpoint{} |
| 134 | s[method] = mh |
| 135 | } |
| 136 | return mh |
| 137 | } |
| 138 | |
| 139 | func (n *node) InsertRoute(method methodTyp, pattern string, handler http.Handler) *node { |
| 140 | var parent *node |
no outgoing calls