Documentation ¶
Index ¶
- Variables
- func MachineChallengeResponse(i *do.Injector, r *http.Request, w http.ResponseWriter) error
- func MachineChallengeResponseHandler(i *do.Injector, r *http.Request, w http.ResponseWriter, c *net.Conn)
- func NewMachineChallenge(i *do.Injector, r *http.Request, w http.ResponseWriter) error
- func NewMachineChallengeHandler(i *do.Injector, r *http.Request, w http.ResponseWriter, c *net.Conn)
- type ChallengeResponse
- type SafeChallengeResponseDict
- type Something
Constants ¶
This section is empty.
Variables ¶
View Source
var ChallengeResponseChannel = make(chan ChallengeResponse)
View Source
var ChallengeResponseDict = SafeChallengeResponseDict{ // contains filtered or unexported fields }
Functions ¶
func NewMachineChallenge ¶
Types ¶
type ChallengeResponse ¶
type SafeChallengeResponseDict ¶ added in v0.4.0
type SafeChallengeResponseDict struct {
// contains filtered or unexported fields
}
func (*SafeChallengeResponseDict) ReadChallenge ¶ added in v0.4.0
func (c *SafeChallengeResponseDict) ReadChallenge(challengePhrase string) (Something, bool)
Utility method for safely reading from the dict
func (*SafeChallengeResponseDict) WriteChallenge ¶ added in v0.4.0
func (c *SafeChallengeResponseDict) WriteChallenge(challengePhrase string, data Something)
Utility method for safely writing to the dict
Click to show internal directories.
Click to hide internal directories.