access

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	pb.AccessManagerClient
}

func NewClient

func NewClient() (*Client, error)

func (*Client) CheckActionBundleUser

func (c *Client) CheckActionBundleUser(ctx context.Context, actionBundleIds []string, userId string) bool

func (*Client) GetActionBundleRoles

func (c *Client) GetActionBundleRoles(ctx context.Context, actionBundleIds []string) ([]*pb.Role, error)

func (*Client) GetActionBundleUsers

func (c *Client) GetActionBundleUsers(ctx context.Context, actionBundleIds []string) ([]*pb.User, error)

Jump to

Keyboard shortcuts

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