Documentation ¶ Index ¶ func MakeInterruptibleContext(ctx context.Context) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MakeInterruptibleContext ¶ func MakeInterruptibleContext(ctx context.Context) context.Context MakeInterruptibleContext returns a context that will be cancelled when an interrupt signal is received. This allows a command line tool to be cancelled by Ctrl+C. Types ¶ This section is empty. Source Files ¶ View all Source files context.go Click to show internal directories. Click to hide internal directories.