github.com/456vv/valexa@v1.0.2-0.20200706152242-1fb922d71ce5/EchoApplication.go (about)

     1  package valexa
     2  
     3  import (
     4  	"net/http"
     5  )
     6  
     7  //Echo程序的配置
     8  type EchoApplication struct {
     9  	Version					[]string									// 支持的版本号
    10      IsDevelop               bool                                      	// 调试
    11  	ValidReqTimestamp		int											// 有效时间,秒为单位
    12  	CertFolder				string										// 证书保存目录
    13  	HandleFunc     			http.HandlerFunc							// 原生处理函数
    14  }