Versions in this module Expand all Collapse all v0 v0.4.0 Jun 10, 2024 Changes in this version + const HttpBindingAddressVarenv + const HttpsBindingAddressVarenv + const HttpsRedirectEnabledVarenv + const TLSAutoDomainVarenv + const TLSCertFilepathVarenv + const TLSCertKeyFilepathVarenv + const VaultPrefixenv + func LoadConfig() conf + func Serve(cnf conf) + type MsgResponse struct + Msg string + type SecretHandlers struct + func (s SecretHandlers) CreateMsgHandler(ctx echo.Context) error + func (s SecretHandlers) GetMsgHandler(ctx echo.Context) error + type SecretMsgStorer interface + Get func(token string) (msg string, err error) + Store func(string, ttl string) (token string, err error) + type TokenResponse struct + FileName string + FileToken string + Token string