Documentation
¶
Index ¶
- func AddSecret(value string)
- func GetValue(name string) (value string, ok bool)
- func ReplaceVars(data []byte) []byte
- func SecretResponse(w http.ResponseWriter) http.ResponseWriter
- func SecretString(s string) string
- func SecretWriter(w io.Writer) io.Writer
- func SetStorage(s Storage)
- func SetValue(name, value string) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceVars ¶
ReplaceVars - support format ${CAMERA_PASSWORD} and ${RTSP_USER:admin}
func SecretResponse ¶
func SecretResponse(w http.ResponseWriter) http.ResponseWriter
func SecretString ¶
func SetStorage ¶
func SetStorage(s Storage)
Types ¶
Click to show internal directories.
Click to hide internal directories.