func (t *ObjType) MethodNames() []string {
	names := make([]string, 0, len(t.method))
	for name := range t.method {
		names = append(names, name)
	}
	sort.Strings(names)
	return names
}
// MethodNames returns the names of all the RPC methods
// defined on the type.
MethodNames returns the names of all the RPC methods
defined on the type.
// MethodNames returns the names of all the RPC methods // defined on the type .
func (t *ObjType) MethodNames() []string {
	names := make([]string, 0, len(t.method))
	for name := range t.method {
		names = append(names, name)
	}
	sort.Strings(names)
	return names
}
func ( t * ObjType ) MethodNames ( ) [ ] string { names := make ( [ ] string , 0 , len ( t . method ) ) for name := range t . method { names = append ( names , name ) } sort . Strings ( names ) return names }
MethodNames returns the names of all the RPC methods
defined on the type.
MethodNames returns the names of all the RPC methods defined on the type .