Documentation ¶
Index ¶
Constants ¶
View Source
const HttpBindingAddressVarenv = "SUPERSECRETMESSAGE_HTTP_BINDING_ADDRESS"
View Source
const HttpsBindingAddressVarenv = "SUPERSECRETMESSAGE_HTTPS_BINDING_ADDRESS"
View Source
const HttpsRedirectEnabledVarenv = "SUPERSECRETMESSAGE_HTTPS_REDIRECT_ENABLED"
View Source
const TLSAutoDomainVarenv = "SUPERSECRETMESSAGE_TLS_AUTO_DOMAIN"
View Source
const TLSCertFilepathVarenv = "SUPERSECRETMESSAGE_TLS_CERT_FILEPATH"
View Source
const TLSCertKeyFilepathVarenv = "SUPERSECRETMESSAGE_TLS_CERT_KEY_FILEPATH"
View Source
const VaultPrefixenv = "SUPERSECRETMESSAGE_VAULT_PREFIX"
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig() conf
Types ¶
type MsgResponse ¶
type MsgResponse struct {
Msg string `json:"msg"`
}
type SecretHandlers ¶
type SecretHandlers struct {
// contains filtered or unexported fields
}
func (SecretHandlers) CreateMsgHandler ¶
func (s SecretHandlers) CreateMsgHandler(ctx echo.Context) error
func (SecretHandlers) GetMsgHandler ¶
func (s SecretHandlers) GetMsgHandler(ctx echo.Context) error
type SecretMsgStorer ¶
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.