aboutsummaryrefslogblamecommitdiff
path: root/transport/transport.go
blob: 2a5429556b236bcfedb217a4aa562d79d99cea75 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                         
package transport

import (
	"context"
	"io"
)

type Transport interface {
	Run(ctx context.Context, resolver Resolver) error
}

type Resolver interface {
	Resolve(context.Context, io.Reader, io.Writer)
}