add recorder
This commit is contained in:
17
recorder/recorder.go
Normal file
17
recorder/recorder.go
Normal file
@ -0,0 +1,17 @@
|
||||
package recorder
|
||||
|
||||
import "context"
|
||||
|
||||
type Recorder interface {
|
||||
Record(ctx context.Context, b []byte) error
|
||||
}
|
||||
|
||||
type RecorderObject struct {
|
||||
Recorder Recorder
|
||||
Record string
|
||||
}
|
||||
|
||||
const (
|
||||
RecorderServiceRouterDialAddress = "recorder.service.router.dial.address"
|
||||
RecorderServiceRouterDialAddressError = "recorder.service.router.dial.address.error"
|
||||
)
|
Reference in New Issue
Block a user