Documentation ¶
Index ¶
Constants ¶
View Source
const CName = "common.acl.aclclient"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclJoiningClient ¶
type AclJoiningClient interface { app.Component AclGetRecords(ctx context.Context, spaceId, aclHead string) ([]*consensusproto.RawRecordWithId, error) RequestJoin(ctx context.Context, spaceId string, payload list.RequestJoinPayload) error }
func NewAclJoiningClient ¶
func NewAclJoiningClient() AclJoiningClient
type AclSpaceClient ¶
type AclSpaceClient interface { app.Component GenerateInvite() (list.InviteResult, error) AddRecord(ctx context.Context, consRec *consensusproto.RawRecord) error RemoveAccounts(ctx context.Context, payload list.AccountRemovePayload) error AcceptRequest(ctx context.Context, payload list.RequestAcceptPayload) error }
func NewAclSpaceClient ¶
func NewAclSpaceClient() AclSpaceClient
type GetRecordsResponse ¶
type GetRecordsResponse struct {
Records []*consensusproto.RawRecordWithId
}
type InviteResponse ¶
type InviteResponse struct { InviteRec *consensusproto.RawRecord InviteKey crypto.PrivKey }
type InviteSaveFunc ¶
type InviteSaveFunc func()
Click to show internal directories.
Click to hide internal directories.