You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

domainresourcemodel.go 763 B

123456789101112131415161718192021222324252627
  1. package model
  2. import (
  3. "github.com/zeromicro/go-zero/core/stores/cache"
  4. "github.com/zeromicro/go-zero/core/stores/sqlx"
  5. )
  6. var _ DomainResourceModel = (*customDomainResourceModel)(nil)
  7. type (
  8. // DomainResourceModel is an interface to be customized, add more methods here,
  9. // and implement the added methods in customDomainResourceModel.
  10. DomainResourceModel interface {
  11. domainResourceModel
  12. }
  13. customDomainResourceModel struct {
  14. *defaultDomainResourceModel
  15. }
  16. )
  17. // NewDomainResourceModel returns a model for the database table.
  18. func NewDomainResourceModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) DomainResourceModel {
  19. return &customDomainResourceModel{
  20. defaultDomainResourceModel: newDomainResourceModel(conn, c, opts...),
  21. }
  22. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.