role

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 3 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 {
	// contains filtered or unexported fields
}

Client wraps the gRPC ManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new role client.

func (*Client) CreateRequestRoleIntent

func (c *Client) CreateRequestRoleIntent(ctx context.Context, arg0 string) (int64, error)

CreateRequestRoleIntent calls the CreateRequestRoleIntent RPC.

func (*Client) IsRoleAvailable

func (c *Client) IsRoleAvailable(ctx context.Context, arg0 string) (bool, error)

IsRoleAvailable calls the IsRoleAvailable RPC.

func (*Client) IsRoleHeld

func (c *Client) IsRoleHeld(ctx context.Context, arg0 string) (bool, error)

IsRoleHeld calls the IsRoleHeld RPC.

Jump to

Keyboard shortcuts

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