NFT_Bidding_Platform

package
v0.0.0-...-a9fa8a7 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthGrpcService_AccessTokenSearch_FullMethodName = "/AuthGrpcService/AccessTokenSearch"
	AuthGrpcService_RolesCount_FullMethodName        = "/AuthGrpcService/RolesCount"
)

Variables

View Source
var AuthGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "AuthGrpcService",
	HandlerType: (*AuthGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AccessTokenSearch",
			Handler:    _AuthGrpcService_AccessTokenSearch_Handler,
		},
		{
			MethodName: "RolesCount",
			Handler:    _AuthGrpcService_RolesCount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "modules/auth/authPb/authPb.proto",
}

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

View Source
var File_modules_auth_authPb_authPb_proto protoreflect.FileDescriptor

Functions

func RegisterAuthGrpcServiceServer

func RegisterAuthGrpcServiceServer(s grpc.ServiceRegistrar, srv AuthGrpcServiceServer)

Types

type AccessTokenSearchReq

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

Structures

func (*AccessTokenSearchReq) Descriptor deprecated

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

Deprecated: Use AccessTokenSearchReq.ProtoReflect.Descriptor instead.

func (*AccessTokenSearchReq) GetAccessToken

func (x *AccessTokenSearchReq) GetAccessToken() string

func (*AccessTokenSearchReq) ProtoMessage

func (*AccessTokenSearchReq) ProtoMessage()

func (*AccessTokenSearchReq) ProtoReflect

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

func (*AccessTokenSearchReq) Reset

func (x *AccessTokenSearchReq) Reset()

func (*AccessTokenSearchReq) String

func (x *AccessTokenSearchReq) String() string

type AccessTokenSearchRes

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

func (*AccessTokenSearchRes) Descriptor deprecated

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

Deprecated: Use AccessTokenSearchRes.ProtoReflect.Descriptor instead.

func (*AccessTokenSearchRes) GetIsValid

func (x *AccessTokenSearchRes) GetIsValid() bool

func (*AccessTokenSearchRes) ProtoMessage

func (*AccessTokenSearchRes) ProtoMessage()

func (*AccessTokenSearchRes) ProtoReflect

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

func (*AccessTokenSearchRes) Reset

func (x *AccessTokenSearchRes) Reset()

func (*AccessTokenSearchRes) String

func (x *AccessTokenSearchRes) String() string

type AuthGrpcServiceClient

type AuthGrpcServiceClient interface {
	AccessTokenSearch(ctx context.Context, in *AccessTokenSearchReq, opts ...grpc.CallOption) (*AccessTokenSearchRes, error)
	RolesCount(ctx context.Context, in *RolesCountReq, opts ...grpc.CallOption) (*RolesCountRes, error)
}

AuthGrpcServiceClient is the client API for AuthGrpcService 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 AuthGrpcServiceServer

type AuthGrpcServiceServer interface {
	AccessTokenSearch(context.Context, *AccessTokenSearchReq) (*AccessTokenSearchRes, error)
	RolesCount(context.Context, *RolesCountReq) (*RolesCountRes, error)
	// contains filtered or unexported methods
}

AuthGrpcServiceServer is the server API for AuthGrpcService service. All implementations must embed UnimplementedAuthGrpcServiceServer for forward compatibility

type RolesCountReq

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

func (*RolesCountReq) Descriptor deprecated

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

Deprecated: Use RolesCountReq.ProtoReflect.Descriptor instead.

func (*RolesCountReq) ProtoMessage

func (*RolesCountReq) ProtoMessage()

func (*RolesCountReq) ProtoReflect

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

func (*RolesCountReq) Reset

func (x *RolesCountReq) Reset()

func (*RolesCountReq) String

func (x *RolesCountReq) String() string

type RolesCountRes

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

func (*RolesCountRes) Descriptor deprecated

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

Deprecated: Use RolesCountRes.ProtoReflect.Descriptor instead.

func (*RolesCountRes) GetCount

func (x *RolesCountRes) GetCount() int64

func (*RolesCountRes) ProtoMessage

func (*RolesCountRes) ProtoMessage()

func (*RolesCountRes) ProtoReflect

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

func (*RolesCountRes) Reset

func (x *RolesCountRes) Reset()

func (*RolesCountRes) String

func (x *RolesCountRes) String() string

type UnimplementedAuthGrpcServiceServer

type UnimplementedAuthGrpcServiceServer struct {
}

UnimplementedAuthGrpcServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthGrpcServiceServer) AccessTokenSearch

func (UnimplementedAuthGrpcServiceServer) RolesCount

type UnsafeAuthGrpcServiceServer

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

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

Jump to

Keyboard shortcuts

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