business

package
v0.0.0-...-9d06c01 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BusinessListService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "business.BusinessListService",
	HandlerType: (*BusinessListServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAsClaim",
			Handler:    _BusinessListService_ListAsClaim_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "business/business_list_as_claim.proto",
}

BusinessListService_ServiceDesc is the grpc.ServiceDesc for BusinessListService 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_business_business_list_as_claim_proto protoreflect.FileDescriptor

Functions

func RegisterBusinessListServiceServer

func RegisterBusinessListServiceServer(s grpc.ServiceRegistrar, srv BusinessListServiceServer)

Types

type Business

type Business struct {
	Uuid        string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	AccountName string   `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	NickName    string   `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
	Roles       []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*Business) Descriptor deprecated

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

Deprecated: Use Business.ProtoReflect.Descriptor instead.

func (*Business) GetAccountName

func (x *Business) GetAccountName() string

func (*Business) GetNickName

func (x *Business) GetNickName() string

func (*Business) GetRoles

func (x *Business) GetRoles() []string

func (*Business) GetUuid

func (x *Business) GetUuid() string

func (*Business) ProtoMessage

func (*Business) ProtoMessage()

func (*Business) ProtoReflect

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

func (*Business) Reset

func (x *Business) Reset()

func (*Business) String

func (x *Business) String() string

type BusinessListAsClaimRequest

type BusinessListAsClaimRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BusinessListAsClaimRequest) Descriptor deprecated

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

Deprecated: Use BusinessListAsClaimRequest.ProtoReflect.Descriptor instead.

func (*BusinessListAsClaimRequest) GetUserId

func (x *BusinessListAsClaimRequest) GetUserId() string

func (*BusinessListAsClaimRequest) ProtoMessage

func (*BusinessListAsClaimRequest) ProtoMessage()

func (*BusinessListAsClaimRequest) ProtoReflect

func (*BusinessListAsClaimRequest) Reset

func (x *BusinessListAsClaimRequest) Reset()

func (*BusinessListAsClaimRequest) String

func (x *BusinessListAsClaimRequest) String() string

type BusinessListAsClaimResult

type BusinessListAsClaimResult struct {
	Business []*Business `protobuf:"bytes,1,rep,name=business,proto3" json:"business,omitempty"`
	// contains filtered or unexported fields
}

func (*BusinessListAsClaimResult) Descriptor deprecated

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

Deprecated: Use BusinessListAsClaimResult.ProtoReflect.Descriptor instead.

func (*BusinessListAsClaimResult) GetBusiness

func (x *BusinessListAsClaimResult) GetBusiness() []*Business

func (*BusinessListAsClaimResult) ProtoMessage

func (*BusinessListAsClaimResult) ProtoMessage()

func (*BusinessListAsClaimResult) ProtoReflect

func (*BusinessListAsClaimResult) Reset

func (x *BusinessListAsClaimResult) Reset()

func (*BusinessListAsClaimResult) String

func (x *BusinessListAsClaimResult) String() string

type BusinessListServiceClient

type BusinessListServiceClient interface {
	ListAsClaim(ctx context.Context, in *BusinessListAsClaimRequest, opts ...grpc.CallOption) (*BusinessListAsClaimResult, error)
}

BusinessListServiceClient is the client API for BusinessListService 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 BusinessListServiceServer

type BusinessListServiceServer interface {
	ListAsClaim(context.Context, *BusinessListAsClaimRequest) (*BusinessListAsClaimResult, error)
	// contains filtered or unexported methods
}

BusinessListServiceServer is the server API for BusinessListService service. All implementations must embed UnimplementedBusinessListServiceServer for forward compatibility

type UnimplementedBusinessListServiceServer

type UnimplementedBusinessListServiceServer struct {
}

UnimplementedBusinessListServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBusinessListServiceServer) ListAsClaim

type UnsafeBusinessListServiceServer

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

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

Jump to

Keyboard shortcuts

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