MCPcopy Index your code
hub / github.com/docker/docker-agent / WithFirstMessage

Function WithFirstMessage

pkg/app/app.go:65–69  ·  view source on GitHub ↗

WithFirstMessage sets the first message to send.

(msg string)

Source from the content-addressed store, hash-verified

63
64// WithFirstMessage sets the first message to send.
65func WithFirstMessage(msg string) Opt {
66 return func(a *App) {
67 a.firstMessage = &msg
68 }
69}
70
71// WithFirstMessageAttachment sets the attachment path for the first message.
72func WithFirstMessageAttachment(path string) Opt {

Callers 3

runNewCommandMethod · 0.92
buildAppOptsMethod · 0.92
runFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected