role

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoleManagerService_CreateRequestRoleIntent_FullMethodName = "/role.RoleManagerService/CreateRequestRoleIntent"
	RoleManagerService_IsRoleAvailable_FullMethodName         = "/role.RoleManagerService/IsRoleAvailable"
	RoleManagerService_IsRoleHeld_FullMethodName              = "/role.RoleManagerService/IsRoleHeld"
)

Variables

View Source
var File_proto_role_role_proto protoreflect.FileDescriptor
View Source
var RoleManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "role.RoleManagerService",
	HandlerType: (*RoleManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRequestRoleIntent",
			Handler:    _RoleManagerService_CreateRequestRoleIntent_Handler,
		},
		{
			MethodName: "IsRoleAvailable",
			Handler:    _RoleManagerService_IsRoleAvailable_Handler,
		},
		{
			MethodName: "IsRoleHeld",
			Handler:    _RoleManagerService_IsRoleHeld_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/role/role.proto",
}

RoleManagerService_ServiceDesc is the grpc.ServiceDesc for RoleManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRoleManagerServiceServer

func RegisterRoleManagerServiceServer(s grpc.ServiceRegistrar, srv RoleManagerServiceServer)

Types

type CreateRequestRoleIntentRequest

type CreateRequestRoleIntentRequest struct {
	Arg0 string `protobuf:"bytes,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequestRoleIntentRequest) Descriptor deprecated

func (*CreateRequestRoleIntentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequestRoleIntentRequest.ProtoReflect.Descriptor instead.

func (*CreateRequestRoleIntentRequest) GetArg0

func (*CreateRequestRoleIntentRequest) ProtoMessage

func (*CreateRequestRoleIntentRequest) ProtoMessage()

func (*CreateRequestRoleIntentRequest) ProtoReflect

func (*CreateRequestRoleIntentRequest) Reset

func (x *CreateRequestRoleIntentRequest) Reset()

func (*CreateRequestRoleIntentRequest) String

type CreateRequestRoleIntentResponse

type CreateRequestRoleIntentResponse struct {
	Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequestRoleIntentResponse) Descriptor deprecated

func (*CreateRequestRoleIntentResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequestRoleIntentResponse.ProtoReflect.Descriptor instead.

func (*CreateRequestRoleIntentResponse) GetResult

func (x *CreateRequestRoleIntentResponse) GetResult() int64

func (*CreateRequestRoleIntentResponse) ProtoMessage

func (*CreateRequestRoleIntentResponse) ProtoMessage()

func (*CreateRequestRoleIntentResponse) ProtoReflect

func (*CreateRequestRoleIntentResponse) Reset

func (*CreateRequestRoleIntentResponse) String

type IsRoleAvailableRequest

type IsRoleAvailableRequest struct {
	Arg0 string `protobuf:"bytes,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
	// contains filtered or unexported fields
}

func (*IsRoleAvailableRequest) Descriptor deprecated

func (*IsRoleAvailableRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsRoleAvailableRequest.ProtoReflect.Descriptor instead.

func (*IsRoleAvailableRequest) GetArg0

func (x *IsRoleAvailableRequest) GetArg0() string

func (*IsRoleAvailableRequest) ProtoMessage

func (*IsRoleAvailableRequest) ProtoMessage()

func (*IsRoleAvailableRequest) ProtoReflect

func (x *IsRoleAvailableRequest) ProtoReflect() protoreflect.Message

func (*IsRoleAvailableRequest) Reset

func (x *IsRoleAvailableRequest) Reset()

func (*IsRoleAvailableRequest) String

func (x *IsRoleAvailableRequest) String() string

type IsRoleAvailableResponse

type IsRoleAvailableResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*IsRoleAvailableResponse) Descriptor deprecated

func (*IsRoleAvailableResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsRoleAvailableResponse.ProtoReflect.Descriptor instead.

func (*IsRoleAvailableResponse) GetResult

func (x *IsRoleAvailableResponse) GetResult() bool

func (*IsRoleAvailableResponse) ProtoMessage

func (*IsRoleAvailableResponse) ProtoMessage()

func (*IsRoleAvailableResponse) ProtoReflect

func (x *IsRoleAvailableResponse) ProtoReflect() protoreflect.Message

func (*IsRoleAvailableResponse) Reset

func (x *IsRoleAvailableResponse) Reset()

func (*IsRoleAvailableResponse) String

func (x *IsRoleAvailableResponse) String() string

type IsRoleHeldRequest

type IsRoleHeldRequest struct {
	Arg0 string `protobuf:"bytes,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
	// contains filtered or unexported fields
}

func (*IsRoleHeldRequest) Descriptor deprecated

func (*IsRoleHeldRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsRoleHeldRequest.ProtoReflect.Descriptor instead.

func (*IsRoleHeldRequest) GetArg0

func (x *IsRoleHeldRequest) GetArg0() string

func (*IsRoleHeldRequest) ProtoMessage

func (*IsRoleHeldRequest) ProtoMessage()

func (*IsRoleHeldRequest) ProtoReflect

func (x *IsRoleHeldRequest) ProtoReflect() protoreflect.Message

func (*IsRoleHeldRequest) Reset

func (x *IsRoleHeldRequest) Reset()

func (*IsRoleHeldRequest) String

func (x *IsRoleHeldRequest) String() string

type IsRoleHeldResponse

type IsRoleHeldResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*IsRoleHeldResponse) Descriptor deprecated

func (*IsRoleHeldResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsRoleHeldResponse.ProtoReflect.Descriptor instead.

func (*IsRoleHeldResponse) GetResult

func (x *IsRoleHeldResponse) GetResult() bool

func (*IsRoleHeldResponse) ProtoMessage

func (*IsRoleHeldResponse) ProtoMessage()

func (*IsRoleHeldResponse) ProtoReflect

func (x *IsRoleHeldResponse) ProtoReflect() protoreflect.Message

func (*IsRoleHeldResponse) Reset

func (x *IsRoleHeldResponse) Reset()

func (*IsRoleHeldResponse) String

func (x *IsRoleHeldResponse) String() string

type RoleManagerServiceClient

type RoleManagerServiceClient interface {
	CreateRequestRoleIntent(ctx context.Context, in *CreateRequestRoleIntentRequest, opts ...grpc.CallOption) (*CreateRequestRoleIntentResponse, error)
	IsRoleAvailable(ctx context.Context, in *IsRoleAvailableRequest, opts ...grpc.CallOption) (*IsRoleAvailableResponse, error)
	IsRoleHeld(ctx context.Context, in *IsRoleHeldRequest, opts ...grpc.CallOption) (*IsRoleHeldResponse, error)
}

RoleManagerServiceClient is the client API for RoleManagerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RoleManagerServiceServer

type RoleManagerServiceServer interface {
	CreateRequestRoleIntent(context.Context, *CreateRequestRoleIntentRequest) (*CreateRequestRoleIntentResponse, error)
	IsRoleAvailable(context.Context, *IsRoleAvailableRequest) (*IsRoleAvailableResponse, error)
	IsRoleHeld(context.Context, *IsRoleHeldRequest) (*IsRoleHeldResponse, error)
	// contains filtered or unexported methods
}

RoleManagerServiceServer is the server API for RoleManagerService service. All implementations must embed UnimplementedRoleManagerServiceServer for forward compatibility.

type UnimplementedRoleManagerServiceServer

type UnimplementedRoleManagerServiceServer struct{}

UnimplementedRoleManagerServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRoleManagerServiceServer) IsRoleAvailable

func (UnimplementedRoleManagerServiceServer) IsRoleHeld

type UnsafeRoleManagerServiceServer

type UnsafeRoleManagerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRoleManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleManagerServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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