route.go 333 B

12345678910111213
  1. package config
  2. type Route struct {
  3. Type string `json:"type"`
  4. }
  5. type SimpleRule struct {
  6. Inbound []string `json:"inbound,omitempty"`
  7. IPVersion []int `json:"ip_version,omitempty"`
  8. Network []string `json:"network,omitempty"`
  9. Protocol []string `json:"protocol,omitempty"`
  10. Outbound string `json:"outbound,omitempty"`
  11. }