Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EphemeralStorage ¶ added in v0.1.73
func EphemeralStorage() ephemeralStorageOption
EphemeralStorage instructs SHAR to use memory rather than disk for storage. This is not recommended for production use.
func PanicRecovery ¶ added in v0.1.171
func PanicRecovery(enabled bool) panicOption
PanicRecovery enables or disables SHAR's ability to recover from server panics. This is on by default, and disabling it is not recommended for production use.
Types ¶
type Option ¶ added in v0.1.86
type Option interface {
// contains filtered or unexported methods
}
Option represents a SHAR server option
Click to show internal directories.
Click to hide internal directories.