mirror of
https://github.com/gowvp/gb28181.git
synced 2025-10-30 10:27:06 +08:00
24 lines
435 B
Go
Executable File
24 lines
435 B
Go
Executable File
// Code generated by gowebx, DO AVOID EDIT.
|
|
package proxy
|
|
|
|
import "github.com/gowvp/gb28181/internal/core/uniqueid"
|
|
|
|
// Storer data persistence
|
|
type Storer interface {
|
|
StreamProxy() StreamProxyStorer
|
|
}
|
|
|
|
// Core business domain
|
|
type Core struct {
|
|
store Storer
|
|
uniqueID uniqueid.Core
|
|
}
|
|
|
|
// NewCore create business domain
|
|
func NewCore(store Storer, uni uniqueid.Core) *Core {
|
|
return &Core{
|
|
store: store,
|
|
uniqueID: uni,
|
|
}
|
|
}
|