Files
gb28181/internal/core/proxy/core.go
2025-02-11 23:08:56 +08:00

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,
}
}