ing
This commit is contained in:
		
							parent
							
								
									9b7b98602b
								
							
						
					
					
						commit
						2eacff61a0
					
				| @ -21,6 +21,10 @@ var ( | ||||
| 	} | ||||
| ) | ||||
| 
 | ||||
| func ToCryptoType(v string) CryptoType { | ||||
| 	return cryptoTypeName[v] | ||||
| } | ||||
| 
 | ||||
| func (ct CryptoType) String() string { | ||||
| 	return cryptoTypeID[ct] | ||||
| } | ||||
|  | ||||
| @ -24,6 +24,10 @@ var ( | ||||
| 	} | ||||
| ) | ||||
| 
 | ||||
| func ToPortType(v string) PortType { | ||||
| 	return portTypeName[v] | ||||
| } | ||||
| 
 | ||||
| func (pt PortType) String() string { | ||||
| 	return portTypeID[pt] | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user