Files
fn-serverless/api/runner/protocol/default.go
2017-05-15 11:00:15 -07:00

20 lines
341 B
Go

package protocol
import (
"context"
"github.com/treeder/functions/api/runner/task"
)
// DefaultProtocol is the protocol used by cold-containers
type DefaultProtocol struct {
}
func (p *DefaultProtocol) IsStreamable() bool {
return false
}
func (p *DefaultProtocol) Dispatch(ctx context.Context, t task.Request) error {
return nil
}