github.com/ipfans/trojan-go@v0.11.0/proxy/server/config.go (about)

     1  package server
     2  
     3  import (
     4  	"github.com/ipfans/trojan-go/config"
     5  	"github.com/ipfans/trojan-go/proxy/client"
     6  )
     7  
     8  func init() {
     9  	config.RegisterConfigCreator(Name, func() interface{} {
    10  		return new(client.Config)
    11  	})
    12  }