1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-30 14:05:26 -05:00

prototype of platform specific code

This commit is contained in:
V2Ray
2015-10-09 16:48:05 +02:00
parent cdea39ff95
commit ab84639aaa
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
// Package platform provides platform specific functionalities.
package platform
type environment interface {
ExpandEnv(s string) string
}
func ExpandEnv(s string) string {
return environmentInstance.ExpandEnv(s)
}