GroupDao

package
v0.0.0-...-41ddd9f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MainInfoInGroupHost = flag.String("MainInfoInGroupHost",
		"127.0.0.1:6409", "MainInfoInGroupHost")
)

Functions

This section is empty.

Types

type MIIGDImpl

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

func NewMIIGDImpl

func NewMIIGDImpl() *MIIGDImpl

func (*MIIGDImpl) CreateGroup

func (M *MIIGDImpl) CreateGroup(groupName string, uid string) (err error)

func (*MIIGDImpl) DeleteGroup

func (M *MIIGDImpl) DeleteGroup(groupName string, uid string) (err error)

func (*MIIGDImpl) GetAllGroup

func (M *MIIGDImpl) GetAllGroup() (groupNameList, uidList []string, err error)

only be used in new keeper initial

type MainInfoInGroupDao

type MainInfoInGroupDao interface {
	CreateGroup(groupName string, uid string) error
	DeleteGroup(groupName string, uid string) error
	// get all group and master-user of them.
	GetAllGroup() ([]string, []string, error)
}

Jump to

Keyboard shortcuts

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