Documentation
¶
Index ¶
- Variables
- func RegisterAccountServer(s *grpc.Server, srv AccountServer)
- type AccountClient
- type AccountServer
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetBallastAccountId() string
- func (x *CreateAccountRequest) GetCompanyId() string
- func (x *CreateAccountRequest) GetDocumentNumber() string
- func (x *CreateAccountRequest) GetExternalId() string
- func (x *CreateAccountRequest) GetName() string
- func (x *CreateAccountRequest) GetTrackingId() string
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetId() string
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- type UnimplementedAccountServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pb_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountServer ¶
func RegisterAccountServer(s *grpc.Server, srv AccountServer)
Types ¶
type AccountClient ¶
type AccountClient interface {
CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error)
}
AccountClient is the client API for Account service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountClient ¶
func NewAccountClient(cc grpc.ClientConnInterface) AccountClient
type AccountServer ¶
type AccountServer interface {
CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
}
AccountServer is the server API for Account service.
type CreateAccountRequest ¶
type CreateAccountRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TrackingId string `protobuf:"bytes,2,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` DocumentNumber string `protobuf:"bytes,4,opt,name=document_number,json=documentNumber,proto3" json:"document_number,omitempty"` CompanyId string `protobuf:"bytes,5,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` BallastAccountId string `protobuf:"bytes,6,opt,name=ballast_account_id,json=ballastAccountId,proto3" json:"ballast_account_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetBallastAccountId ¶
func (x *CreateAccountRequest) GetBallastAccountId() string
func (*CreateAccountRequest) GetCompanyId ¶
func (x *CreateAccountRequest) GetCompanyId() string
func (*CreateAccountRequest) GetDocumentNumber ¶
func (x *CreateAccountRequest) GetDocumentNumber() string
func (*CreateAccountRequest) GetExternalId ¶
func (x *CreateAccountRequest) GetExternalId() string
func (*CreateAccountRequest) GetName ¶
func (x *CreateAccountRequest) GetName() string
func (*CreateAccountRequest) GetTrackingId ¶
func (x *CreateAccountRequest) GetTrackingId() string
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
type CreateAccountResponse ¶
type CreateAccountResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetId ¶
func (x *CreateAccountResponse) GetId() string
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
func (x *CreateAccountResponse) String() string
type UnimplementedAccountServer ¶
type UnimplementedAccountServer struct { }
UnimplementedAccountServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServer) CreateAccount ¶
func (*UnimplementedAccountServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
Click to show internal directories.
Click to hide internal directories.