Documentation
¶
Index ¶
Constants ¶
View Source
const FrankMessageToChange = "Henllo fren. Looks like something funny here."
Variables ¶
This section is empty.
Functions ¶
func RegisterRequest ¶
func RegisterRequest(request *http.Request, event *github.PullRequestEvent)
RegisterRequest is used to drop a message in the queue
func StartConcurrentProcessorClient ¶
func StartConcurrentProcessorClient(opt *ClientOptions) error
StartConcurrentProcessorClient will run the service that will connect the ML model to GitHub. This probably should be pulled out into a better formed system, but munged together for now.
Types ¶
type ClientOptions ¶
type PullRequestEvent ¶
type PullRequestEvent struct {
Request *http.Request
Event *github.PullRequestEvent
}
func Next ¶
func Next() *PullRequestEvent
Next will return a message from the queue FIFO If no message is in the queue, the function will hang
Click to show internal directories.
Click to hide internal directories.