Versions in this module Expand all Collapse all v3 v3.8.88 Aug 2, 2020 v3.8.77 Aug 2, 2020 Changes in this version + func SetupFakeAPI() (*http.ServeMux, string, func()) + func WriteJSONResponse(w http.ResponseWriter, body interface{}) error + type EnvTest struct + func NewEnvTest(keys ...string) *EnvTest + func (e *EnvTest) Apply(envVars map[string]string) + func (e *EnvTest) ClearEnv() + func (e *EnvTest) GetDomain() string + func (e *EnvTest) GetValue(key string) string + func (e *EnvTest) IsLiveTest() bool + func (e *EnvTest) RestoreEnv() + func (e *EnvTest) WithDomain(key string) *EnvTest + func (e *EnvTest) WithLiveTestExtra(extra func() bool) *EnvTest + func (e *EnvTest) WithLiveTestRequirements(keys ...string) *EnvTest Other modules containing this package github.com/luckygo666/lego