mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* wip * wip * Added more fields to JSON and added blank line between objects. * Update tests. * wip * Updated to represent recent discussions. * Fixed up the json test * More docs * Changed from blank line to bracket, newline, open bracket. * Blank line added back, easier for delimiting.
15 lines
304 B
Go
15 lines
304 B
Go
package protocol
|
|
|
|
import (
|
|
"context"
|
|
"io"
|
|
)
|
|
|
|
// DefaultProtocol is the protocol used by cold-containers
|
|
type DefaultProtocol struct{}
|
|
|
|
func (p *DefaultProtocol) IsStreamable() bool { return false }
|
|
func (d *DefaultProtocol) Dispatch(ctx context.Context, ci CallInfo, w io.Writer) error {
|
|
return nil
|
|
}
|