Stephane Barbarie | 3559506 | 2018-02-08 08:34:39 -0500 | [diff] [blame] | 1 | package core |
2 | |||||
3 | type PonSimApiType uint8 | ||||
4 | |||||
5 | const ( | ||||
6 | PONSIM PonSimApiType = iota | ||||
7 | BAL | ||||
8 | ) | ||||
9 | |||||
10 | var enum_ponsim_api_types = []string{ | ||||
11 | "PONSIM", | ||||
12 | "BAL", | ||||
13 | } | ||||
14 | |||||
15 | func (t PonSimApiType) String() string { | ||||
16 | return enum_ponsim_api_types[t] | ||||
17 | } |