group

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(c framework.Container) *Service

func (*Service) AddGroup

func (s *Service) AddGroup(mapData map[string]interface{}, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) AddResourcesToGroup

func (s *Service) AddResourcesToGroup(request []base.CabinInReceive, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) DeleteGroup

func (s *Service) DeleteGroup(ids string, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) GetGroupById

func (s *Service) GetGroupById(id string, grpcService contract.ServiceGrpc) ([]map[string]interface{}, error)

func (*Service) GetGroupList

func (s *Service) GetGroupList(request base.PageRequest, grpcService contract.ServiceGrpc, param ...interface{}) (base.PageResult, error)

func (*Service) GetGroupsResource

func (s *Service) GetGroupsResource(name string, domain string, grpcService contract.ServiceGrpc, param ...interface{}) ([]map[string]interface{}, error)

func (*Service) GetRepository

func (s *Service) GetRepository() *base.Repository

func (*Service) ModifyGroup

func (s *Service) ModifyGroup(mapData map[string]interface{}, grpcService contract.ServiceGrpc, param ...interface{}) error

func (*Service) SetRepository

func (s *Service) SetRepository(model interface{}) *base.Repository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL