Versions in this module Expand all Collapse all v1 v1.0.0 Jun 20, 2020 Changes in this version + var File_types_proto protoreflect.FileDescriptor + func RegisterChainAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterChainAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainAPIClient) error + func RegisterChainAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterChainAPIServer(s *grpc.Server, srv ChainAPIServer) + func RegisterOrchestraAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterOrchestraAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrchestraAPIClient) error + func RegisterOrchestraAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterOrchestraAPIServer(s *grpc.Server, srv OrchestraAPIServer) + func RegisterOrderAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterOrderAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrderAPIClient) error + func RegisterOrderAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterOrderAPIServer(s *grpc.Server, srv OrderAPIServer) + type ChainAPIClient interface + Version func(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) + func NewChainAPIClient(cc grpc.ClientConnInterface) ChainAPIClient + type ChainAPIServer interface + Version func(context.Context, *VersionRequest) (*VersionResponse, error) + type ChangeConnectionParam struct + DynamicParam *ConnectionDynamicParam + ProductId string + func (*ChangeConnectionParam) Descriptor() ([]byte, []int) + func (*ChangeConnectionParam) ProtoMessage() + func (x *ChangeConnectionParam) GetDynamicParam() *ConnectionDynamicParam + func (x *ChangeConnectionParam) GetProductId() string + func (x *ChangeConnectionParam) ProtoReflect() protoreflect.Message + func (x *ChangeConnectionParam) Reset() + func (x *ChangeConnectionParam) String() string + type ChangeOrderParam struct + Buyer *User + ChangeConnectionParam []*ChangeConnectionParam + Privacy *ContractPrivacyParam + Seller *User + func (*ChangeOrderParam) Descriptor() ([]byte, []int) + func (*ChangeOrderParam) ProtoMessage() + func (x *ChangeOrderParam) GetBuyer() *User + func (x *ChangeOrderParam) GetChangeConnectionParam() []*ChangeConnectionParam + func (x *ChangeOrderParam) GetPrivacy() *ContractPrivacyParam + func (x *ChangeOrderParam) GetSeller() *User + func (x *ChangeOrderParam) ProtoReflect() protoreflect.Message + func (x *ChangeOrderParam) Reset() + func (x *ChangeOrderParam) String() string + type ConnectionDynamicParam struct + Addition float32 + Bandwidth string + BillingType string + BillingUnit string + ConnectionName string + Currency string + EndTime int64 + EndTimeStrTimeStr string + InternalId string + ItemId string + OrderId string + OrderItemId string + PaymentType string + Price float32 + QuoteId string + QuoteItemId string + ServiceClass string + StartTime int64 + StartTimeStr string + func (*ConnectionDynamicParam) Descriptor() ([]byte, []int) + func (*ConnectionDynamicParam) ProtoMessage() + func (x *ConnectionDynamicParam) GetAddition() float32 + func (x *ConnectionDynamicParam) GetBandwidth() string + func (x *ConnectionDynamicParam) GetBillingType() string + func (x *ConnectionDynamicParam) GetBillingUnit() string + func (x *ConnectionDynamicParam) GetConnectionName() string + func (x *ConnectionDynamicParam) GetCurrency() string + func (x *ConnectionDynamicParam) GetEndTime() int64 + func (x *ConnectionDynamicParam) GetEndTimeStrTimeStr() string + func (x *ConnectionDynamicParam) GetInternalId() string + func (x *ConnectionDynamicParam) GetItemId() string + func (x *ConnectionDynamicParam) GetOrderId() string + func (x *ConnectionDynamicParam) GetOrderItemId() string + func (x *ConnectionDynamicParam) GetPaymentType() string + func (x *ConnectionDynamicParam) GetPrice() float32 + func (x *ConnectionDynamicParam) GetQuoteId() string + func (x *ConnectionDynamicParam) GetQuoteItemId() string + func (x *ConnectionDynamicParam) GetServiceClass() string + func (x *ConnectionDynamicParam) GetStartTime() int64 + func (x *ConnectionDynamicParam) GetStartTimeStr() string + func (x *ConnectionDynamicParam) ProtoReflect() protoreflect.Message + func (x *ConnectionDynamicParam) Reset() + func (x *ConnectionDynamicParam) String() string + type ConnectionParam struct + DynamicParam *ConnectionDynamicParam + StaticParam *ConnectionStaticParam + func (*ConnectionParam) Descriptor() ([]byte, []int) + func (*ConnectionParam) ProtoMessage() + func (x *ConnectionParam) GetDynamicParam() *ConnectionDynamicParam + func (x *ConnectionParam) GetStaticParam() *ConnectionStaticParam + func (x *ConnectionParam) ProtoReflect() protoreflect.Message + func (x *ConnectionParam) Reset() + func (x *ConnectionParam) String() string + type ConnectionStaticParam struct + BuyerProductId string + DstCity string + DstCompanyName string + DstDataCenter string + DstPort string + DstRegion string + ProductId string + ProductOfferingId string + SrcCity string + SrcCompanyName string + SrcDataCenter string + SrcPort string + SrcRegion string + func (*ConnectionStaticParam) Descriptor() ([]byte, []int) + func (*ConnectionStaticParam) ProtoMessage() + func (x *ConnectionStaticParam) GetBuyerProductId() string + func (x *ConnectionStaticParam) GetDstCity() string + func (x *ConnectionStaticParam) GetDstCompanyName() string + func (x *ConnectionStaticParam) GetDstDataCenter() string + func (x *ConnectionStaticParam) GetDstPort() string + func (x *ConnectionStaticParam) GetDstRegion() string + func (x *ConnectionStaticParam) GetProductId() string + func (x *ConnectionStaticParam) GetProductOfferingId() string + func (x *ConnectionStaticParam) GetSrcCity() string + func (x *ConnectionStaticParam) GetSrcCompanyName() string + func (x *ConnectionStaticParam) GetSrcDataCenter() string + func (x *ConnectionStaticParam) GetSrcPort() string + func (x *ConnectionStaticParam) GetSrcRegion() string + func (x *ConnectionStaticParam) ProtoReflect() protoreflect.Message + func (x *ConnectionStaticParam) Reset() + func (x *ConnectionStaticParam) String() string + type ContractPrivacyParam struct + PrivateFor []string + PrivateFrom string + PrivateGroupID string + func (*ContractPrivacyParam) Descriptor() ([]byte, []int) + func (*ContractPrivacyParam) ProtoMessage() + func (x *ContractPrivacyParam) GetPrivateFor() []string + func (x *ContractPrivacyParam) GetPrivateFrom() string + func (x *ContractPrivacyParam) GetPrivateGroupID() string + func (x *ContractPrivacyParam) ProtoReflect() protoreflect.Message + func (x *ContractPrivacyParam) Reset() + func (x *ContractPrivacyParam) String() string + type CreateOrderParam struct + Buyer *User + ConnectionParam []*ConnectionParam + Privacy *ContractPrivacyParam + Seller *User + func (*CreateOrderParam) Descriptor() ([]byte, []int) + func (*CreateOrderParam) ProtoMessage() + func (x *CreateOrderParam) GetBuyer() *User + func (x *CreateOrderParam) GetConnectionParam() []*ConnectionParam + func (x *CreateOrderParam) GetPrivacy() *ContractPrivacyParam + func (x *CreateOrderParam) GetSeller() *User + func (x *CreateOrderParam) ProtoReflect() protoreflect.Message + func (x *CreateOrderParam) Reset() + func (x *CreateOrderParam) String() string + type GetOrderInfoParam struct + InternalId string + OrderId string + Seller *User + func (*GetOrderInfoParam) Descriptor() ([]byte, []int) + func (*GetOrderInfoParam) ProtoMessage() + func (x *GetOrderInfoParam) GetInternalId() string + func (x *GetOrderInfoParam) GetOrderId() string + func (x *GetOrderInfoParam) GetSeller() *User + func (x *GetOrderInfoParam) ProtoReflect() protoreflect.Message + func (x *GetOrderInfoParam) Reset() + func (x *GetOrderInfoParam) String() string + type OrchestraAPIClient interface + ExecCreate func(ctx context.Context, in *OrchestraCommonRequest, opts ...grpc.CallOption) (*OrchestraCommonResponse, error) + ExecFind func(ctx context.Context, in *OrchestraCommonRequest, opts ...grpc.CallOption) (*OrchestraCommonResponse, error) + ExecGet func(ctx context.Context, in *OrchestraCommonRequest, opts ...grpc.CallOption) (*OrchestraCommonResponse, error) + func NewOrchestraAPIClient(cc grpc.ClientConnInterface) OrchestraAPIClient + type OrchestraAPIServer interface + ExecCreate func(context.Context, *OrchestraCommonRequest) (*OrchestraCommonResponse, error) + ExecFind func(context.Context, *OrchestraCommonRequest) (*OrchestraCommonResponse, error) + ExecGet func(context.Context, *OrchestraCommonRequest) (*OrchestraCommonResponse, error) + type OrchestraCommonRequest struct + Action string + Data string + func (*OrchestraCommonRequest) Descriptor() ([]byte, []int) + func (*OrchestraCommonRequest) ProtoMessage() + func (x *OrchestraCommonRequest) GetAction() string + func (x *OrchestraCommonRequest) GetData() string + func (x *OrchestraCommonRequest) ProtoReflect() protoreflect.Message + func (x *OrchestraCommonRequest) Reset() + func (x *OrchestraCommonRequest) String() string + type OrchestraCommonResponse struct + Action string + Data string + ResultCount int32 + TotalCount int32 + func (*OrchestraCommonResponse) Descriptor() ([]byte, []int) + func (*OrchestraCommonResponse) ProtoMessage() + func (x *OrchestraCommonResponse) GetAction() string + func (x *OrchestraCommonResponse) GetData() string + func (x *OrchestraCommonResponse) GetResultCount() int32 + func (x *OrchestraCommonResponse) GetTotalCount() int32 + func (x *OrchestraCommonResponse) ProtoReflect() protoreflect.Message + func (x *OrchestraCommonResponse) Reset() + func (x *OrchestraCommonResponse) String() string + type OrderAPIClient interface + ChangeOrder func(ctx context.Context, in *ChangeOrderParam, opts ...grpc.CallOption) (*OrderId, error) + CreateOrder func(ctx context.Context, in *CreateOrderParam, opts ...grpc.CallOption) (*OrderId, error) + GetOrderInfo func(ctx context.Context, in *GetOrderInfoParam, opts ...grpc.CallOption) (*OrderInfo, error) + TerminateOrder func(ctx context.Context, in *TerminateOrderParam, opts ...grpc.CallOption) (*OrderId, error) + func NewOrderAPIClient(cc grpc.ClientConnInterface) OrderAPIClient + type OrderAPIServer interface + ChangeOrder func(context.Context, *ChangeOrderParam) (*OrderId, error) + CreateOrder func(context.Context, *CreateOrderParam) (*OrderId, error) + GetOrderInfo func(context.Context, *GetOrderInfoParam) (*OrderInfo, error) + TerminateOrder func(context.Context, *TerminateOrderParam) (*OrderId, error) + type OrderId struct + InternalId string + func (*OrderId) Descriptor() ([]byte, []int) + func (*OrderId) ProtoMessage() + func (x *OrderId) GetInternalId() string + func (x *OrderId) ProtoReflect() protoreflect.Message + func (x *OrderId) Reset() + func (x *OrderId) String() string + type OrderInfo struct + Buyer *User + Connections []*ConnectionParam + ContractState string + OrderId string + OrderState string + OrderType string + Seller *User + Track []*OrderLifeTrack + func (*OrderInfo) Descriptor() ([]byte, []int) + func (*OrderInfo) ProtoMessage() + func (x *OrderInfo) GetBuyer() *User + func (x *OrderInfo) GetConnections() []*ConnectionParam + func (x *OrderInfo) GetContractState() string + func (x *OrderInfo) GetOrderId() string + func (x *OrderInfo) GetOrderState() string + func (x *OrderInfo) GetOrderType() string + func (x *OrderInfo) GetSeller() *User + func (x *OrderInfo) GetTrack() []*OrderLifeTrack + func (x *OrderInfo) ProtoReflect() protoreflect.Message + func (x *OrderInfo) Reset() + func (x *OrderInfo) String() string + type OrderLifeTrack struct + ContractState string + Hash string + OrderState string + Reason string + Time int64 + func (*OrderLifeTrack) Descriptor() ([]byte, []int) + func (*OrderLifeTrack) ProtoMessage() + func (x *OrderLifeTrack) GetContractState() string + func (x *OrderLifeTrack) GetHash() string + func (x *OrderLifeTrack) GetOrderState() string + func (x *OrderLifeTrack) GetReason() string + func (x *OrderLifeTrack) GetTime() int64 + func (x *OrderLifeTrack) ProtoReflect() protoreflect.Message + func (x *OrderLifeTrack) Reset() + func (x *OrderLifeTrack) String() string + type TerminateConnectionParam struct + DynamicParam *ConnectionDynamicParam + ProductId string + func (*TerminateConnectionParam) Descriptor() ([]byte, []int) + func (*TerminateConnectionParam) ProtoMessage() + func (x *TerminateConnectionParam) GetDynamicParam() *ConnectionDynamicParam + func (x *TerminateConnectionParam) GetProductId() string + func (x *TerminateConnectionParam) ProtoReflect() protoreflect.Message + func (x *TerminateConnectionParam) Reset() + func (x *TerminateConnectionParam) String() string + type TerminateOrderParam struct + Buyer *User + Privacy *ContractPrivacyParam + Seller *User + TerminateConnectionParam []*TerminateConnectionParam + func (*TerminateOrderParam) Descriptor() ([]byte, []int) + func (*TerminateOrderParam) ProtoMessage() + func (x *TerminateOrderParam) GetBuyer() *User + func (x *TerminateOrderParam) GetPrivacy() *ContractPrivacyParam + func (x *TerminateOrderParam) GetSeller() *User + func (x *TerminateOrderParam) GetTerminateConnectionParam() []*TerminateConnectionParam + func (x *TerminateOrderParam) ProtoReflect() protoreflect.Message + func (x *TerminateOrderParam) Reset() + func (x *TerminateOrderParam) String() string + type UnimplementedChainAPIServer struct + func (*UnimplementedChainAPIServer) Version(context.Context, *VersionRequest) (*VersionResponse, error) + type UnimplementedOrchestraAPIServer struct + func (*UnimplementedOrchestraAPIServer) ExecCreate(context.Context, *OrchestraCommonRequest) (*OrchestraCommonResponse, error) + func (*UnimplementedOrchestraAPIServer) ExecFind(context.Context, *OrchestraCommonRequest) (*OrchestraCommonResponse, error) + func (*UnimplementedOrchestraAPIServer) ExecGet(context.Context, *OrchestraCommonRequest) (*OrchestraCommonResponse, error) + type UnimplementedOrderAPIServer struct + func (*UnimplementedOrderAPIServer) ChangeOrder(context.Context, *ChangeOrderParam) (*OrderId, error) + func (*UnimplementedOrderAPIServer) CreateOrder(context.Context, *CreateOrderParam) (*OrderId, error) + func (*UnimplementedOrderAPIServer) GetOrderInfo(context.Context, *GetOrderInfoParam) (*OrderInfo, error) + func (*UnimplementedOrderAPIServer) TerminateOrder(context.Context, *TerminateOrderParam) (*OrderId, error) + type User struct + Address string + Name string + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (x *User) GetAddress() string + func (x *User) GetName() string + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string + type VersionRequest struct + func (*VersionRequest) Descriptor() ([]byte, []int) + func (*VersionRequest) ProtoMessage() + func (x *VersionRequest) ProtoReflect() protoreflect.Message + func (x *VersionRequest) Reset() + func (x *VersionRequest) String() string + type VersionResponse struct + BuildTime string + Hash string + Version string + func (*VersionResponse) Descriptor() ([]byte, []int) + func (*VersionResponse) ProtoMessage() + func (x *VersionResponse) GetBuildTime() string + func (x *VersionResponse) GetHash() string + func (x *VersionResponse) GetVersion() string + func (x *VersionResponse) ProtoReflect() protoreflect.Message + func (x *VersionResponse) Reset() + func (x *VersionResponse) String() string