mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Godoc fixes (#898)
Add some godoc comments for the api/agent package and some of its subpackages.
This commit is contained in:
12
api/agent/protocol/doc.go
Normal file
12
api/agent/protocol/doc.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Package protocol defines the protocol between the Fn Agent and the code
|
||||
// running inside of a container. When an Fn Agent wants to perform a function
|
||||
// call it needs to pass that call to a container over stdin. The call is
|
||||
// encoded in one of the following protocols.
|
||||
//
|
||||
// * Default I/O Format
|
||||
// * JSON I/O Format
|
||||
// * HTTP I/O Format
|
||||
//
|
||||
// For more information on the function formats see
|
||||
// https://github.com/fnproject/fn/blob/master/docs/developers/function-format.md.
|
||||
package protocol
|
||||
Reference in New Issue
Block a user