github.com/ipfans/trojan-go@v0.11.0/statistic/memory/config.go (about)

     1  package memory
     2  
     3  import (
     4  	"github.com/ipfans/trojan-go/config"
     5  )
     6  
     7  type Config struct {
     8  	Passwords []string `json:"password" yaml:"password"`
     9  }
    10  
    11  func init() {
    12  	config.RegisterConfigCreator(Name, func() interface{} {
    13  		return &Config{}
    14  	})
    15  }