mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Add internal mock modules
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
"github.com/datarhei/core/v16/iam"
|
||||
"github.com/datarhei/core/v16/iam/identity"
|
||||
"github.com/datarhei/core/v16/iam/policy"
|
||||
"github.com/datarhei/core/v16/internal/mock/restream"
|
||||
"github.com/datarhei/core/v16/io/fs"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
@@ -27,7 +28,7 @@ type Response struct {
|
||||
}
|
||||
|
||||
func getDummyRestreamHandler() (*ProcessHandler, error) {
|
||||
rs, err := mock.DummyRestreamer("../../mock")
|
||||
rs, err := restream.New(nil, nil, nil, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user