accounts

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Accounts_GetAccount_FullMethodName = "/Accounts/GetAccount"
)

Variables

View Source
var Accounts_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Accounts",
	HandlerType: (*AccountsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccount",
			Handler:    _Accounts_GetAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "accounts.proto",
}

Accounts_ServiceDesc is the grpc.ServiceDesc for Accounts 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_accounts_proto protoreflect.FileDescriptor

Functions

func RegisterAccountsServer

func RegisterAccountsServer(s grpc.ServiceRegistrar, srv AccountsServer)

Types

type AccountsClient

type AccountsClient interface {
	GetAccount(ctx context.Context, in *GetAccountIn, opts ...grpc.CallOption) (*GetAccountOut, error)
}

AccountsClient is the client API for Accounts 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.

func NewAccountsClient

func NewAccountsClient(cc grpc.ClientConnInterface) AccountsClient

type AccountsServer

type AccountsServer interface {
	GetAccount(context.Context, *GetAccountIn) (*GetAccountOut, error)
	// contains filtered or unexported methods
}

AccountsServer is the server API for Accounts service. All implementations must embed UnimplementedAccountsServer for forward compatibility

type GetAccountIn

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

func (*GetAccountIn) Descriptor deprecated

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

Deprecated: Use GetAccountIn.ProtoReflect.Descriptor instead.

func (*GetAccountIn) GetAccountName

func (x *GetAccountIn) GetAccountName() string

func (*GetAccountIn) GetUserId

func (x *GetAccountIn) GetUserId() string

func (*GetAccountIn) ProtoMessage

func (*GetAccountIn) ProtoMessage()

func (*GetAccountIn) ProtoReflect

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

func (*GetAccountIn) Reset

func (x *GetAccountIn) Reset()

func (*GetAccountIn) String

func (x *GetAccountIn) String() string

type GetAccountOut

type GetAccountOut struct {
	IsActive               bool   `protobuf:"varint,1,opt,name=isActive,proto3" json:"isActive,omitempty"`
	TargetNamespace        string `protobuf:"bytes,2,opt,name=targetNamespace,proto3" json:"targetNamespace,omitempty"`
	AccountId              string `protobuf:"bytes,3,opt,name=accountId,proto3" json:"accountId,omitempty"`
	KloudliteGatewayRegion string `protobuf:"bytes,4,opt,name=kloudliteGatewayRegion,proto3" json:"kloudliteGatewayRegion,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountOut) Descriptor deprecated

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

Deprecated: Use GetAccountOut.ProtoReflect.Descriptor instead.

func (*GetAccountOut) GetAccountId

func (x *GetAccountOut) GetAccountId() string

func (*GetAccountOut) GetIsActive

func (x *GetAccountOut) GetIsActive() bool

func (*GetAccountOut) GetKloudliteGatewayRegion

func (x *GetAccountOut) GetKloudliteGatewayRegion() string

func (*GetAccountOut) GetTargetNamespace

func (x *GetAccountOut) GetTargetNamespace() string

func (*GetAccountOut) ProtoMessage

func (*GetAccountOut) ProtoMessage()

func (*GetAccountOut) ProtoReflect

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

func (*GetAccountOut) Reset

func (x *GetAccountOut) Reset()

func (*GetAccountOut) String

func (x *GetAccountOut) String() string

type UnimplementedAccountsServer

type UnimplementedAccountsServer struct {
}

UnimplementedAccountsServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountsServer) GetAccount

type UnsafeAccountsServer

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

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

Jump to

Keyboard shortcuts

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