v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

AddPointReply
AddPointReq
AllConfigReply
AllConfigReq
CloseReply
CloseReq
ConfigReply
ConfigReq
ConsumePointReply
ConsumePointReq
ModelArgPoint
ModelArgPointAdd
ModelArgPointConsume
ModelOldPointHistory
ModelPointHistory
ModelPointInfo
OldPointHistoryReply
OldPointHistoryReq
PingReply
PingReq
PointAddByBpReply
PointAddByBpReq
PointHistoryReply
PointHistoryReq
PointInfoReply
PointInfoReq

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterPointServer

func RegisterPointServer(s *grpc.Server, srv PointServer)

Types

type AddPointReply

type AddPointReply struct {
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
}

func (*AddPointReply) Descriptor

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

func (*AddPointReply) GetStatus

func (m *AddPointReply) GetStatus() int32

func (*AddPointReply) Marshal

func (m *AddPointReply) Marshal() (dAtA []byte, err error)

func (*AddPointReply) MarshalTo

func (m *AddPointReply) MarshalTo(dAtA []byte) (int, error)

func (*AddPointReply) ProtoMessage

func (*AddPointReply) ProtoMessage()

func (*AddPointReply) Reset

func (m *AddPointReply) Reset()

func (*AddPointReply) Size

func (m *AddPointReply) Size() (n int)

func (*AddPointReply) String

func (m *AddPointReply) String() string

func (*AddPointReply) Unmarshal

func (m *AddPointReply) Unmarshal(dAtA []byte) error

type AddPointReq

type AddPointReq struct {
	Pc *ModelArgPoint `protobuf:"bytes,2,opt,name=pc" json:"pc,omitempty"`
}

func (*AddPointReq) Descriptor

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

func (*AddPointReq) GetPc

func (m *AddPointReq) GetPc() *ModelArgPoint

func (*AddPointReq) Marshal

func (m *AddPointReq) Marshal() (dAtA []byte, err error)

func (*AddPointReq) MarshalTo

func (m *AddPointReq) MarshalTo(dAtA []byte) (int, error)

func (*AddPointReq) ProtoMessage

func (*AddPointReq) ProtoMessage()

func (*AddPointReq) Reset

func (m *AddPointReq) Reset()

func (*AddPointReq) Size

func (m *AddPointReq) Size() (n int)

func (*AddPointReq) String

func (m *AddPointReq) String() string

func (*AddPointReq) Unmarshal

func (m *AddPointReq) Unmarshal(dAtA []byte) error

type AllConfigReply

type AllConfigReply struct {
	Data_0 map[string]int64 `` /* 158-byte string literal not displayed */
}

func (*AllConfigReply) Descriptor

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

func (*AllConfigReply) GetData_0

func (m *AllConfigReply) GetData_0() map[string]int64

func (*AllConfigReply) Marshal

func (m *AllConfigReply) Marshal() (dAtA []byte, err error)

func (*AllConfigReply) MarshalTo

func (m *AllConfigReply) MarshalTo(dAtA []byte) (int, error)

func (*AllConfigReply) ProtoMessage

func (*AllConfigReply) ProtoMessage()

func (*AllConfigReply) Reset

func (m *AllConfigReply) Reset()

func (*AllConfigReply) Size

func (m *AllConfigReply) Size() (n int)

func (*AllConfigReply) String

func (m *AllConfigReply) String() string

func (*AllConfigReply) Unmarshal

func (m *AllConfigReply) Unmarshal(dAtA []byte) error

type AllConfigReq

type AllConfigReq struct {
}

func (*AllConfigReq) Descriptor

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

func (*AllConfigReq) Marshal

func (m *AllConfigReq) Marshal() (dAtA []byte, err error)

func (*AllConfigReq) MarshalTo

func (m *AllConfigReq) MarshalTo(dAtA []byte) (int, error)

func (*AllConfigReq) ProtoMessage

func (*AllConfigReq) ProtoMessage()

func (*AllConfigReq) Reset

func (m *AllConfigReq) Reset()

func (*AllConfigReq) Size

func (m *AllConfigReq) Size() (n int)

func (*AllConfigReq) String

func (m *AllConfigReq) String() string

func (*AllConfigReq) Unmarshal

func (m *AllConfigReq) Unmarshal(dAtA []byte) error

type CloseReply

type CloseReply struct {
}

func (*CloseReply) Descriptor

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

func (*CloseReply) Marshal

func (m *CloseReply) Marshal() (dAtA []byte, err error)

func (*CloseReply) MarshalTo

func (m *CloseReply) MarshalTo(dAtA []byte) (int, error)

func (*CloseReply) ProtoMessage

func (*CloseReply) ProtoMessage()

func (*CloseReply) Reset

func (m *CloseReply) Reset()

func (*CloseReply) Size

func (m *CloseReply) Size() (n int)

func (*CloseReply) String

func (m *CloseReply) String() string

func (*CloseReply) Unmarshal

func (m *CloseReply) Unmarshal(dAtA []byte) error

type CloseReq

type CloseReq struct {
}

func (*CloseReq) Descriptor

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

func (*CloseReq) Marshal

func (m *CloseReq) Marshal() (dAtA []byte, err error)

func (*CloseReq) MarshalTo

func (m *CloseReq) MarshalTo(dAtA []byte) (int, error)

func (*CloseReq) ProtoMessage

func (*CloseReq) ProtoMessage()

func (*CloseReq) Reset

func (m *CloseReq) Reset()

func (*CloseReq) Size

func (m *CloseReq) Size() (n int)

func (*CloseReq) String

func (m *CloseReq) String() string

func (*CloseReq) Unmarshal

func (m *CloseReq) Unmarshal(dAtA []byte) error

type ConfigReply

type ConfigReply struct {
	Point int64 `protobuf:"varint,1,opt,name=point,proto3" json:"point,omitempty"`
}

func (*ConfigReply) Descriptor

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

func (*ConfigReply) GetPoint

func (m *ConfigReply) GetPoint() int64

func (*ConfigReply) Marshal

func (m *ConfigReply) Marshal() (dAtA []byte, err error)

func (*ConfigReply) MarshalTo

func (m *ConfigReply) MarshalTo(dAtA []byte) (int, error)

func (*ConfigReply) ProtoMessage

func (*ConfigReply) ProtoMessage()

func (*ConfigReply) Reset

func (m *ConfigReply) Reset()

func (*ConfigReply) Size

func (m *ConfigReply) Size() (n int)

func (*ConfigReply) String

func (m *ConfigReply) String() string

func (*ConfigReply) Unmarshal

func (m *ConfigReply) Unmarshal(dAtA []byte) error

type ConfigReq

type ConfigReq struct {
	ChangeType int32   `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	Mid        int64   `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
	Bp         float64 `protobuf:"fixed64,4,opt,name=bp,proto3" json:"bp,omitempty"`
}

func (*ConfigReq) Descriptor

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

func (*ConfigReq) GetBp

func (m *ConfigReq) GetBp() float64

func (*ConfigReq) GetChangeType

func (m *ConfigReq) GetChangeType() int32

func (*ConfigReq) GetMid

func (m *ConfigReq) GetMid() int64

func (*ConfigReq) Marshal

func (m *ConfigReq) Marshal() (dAtA []byte, err error)

func (*ConfigReq) MarshalTo

func (m *ConfigReq) MarshalTo(dAtA []byte) (int, error)

func (*ConfigReq) ProtoMessage

func (*ConfigReq) ProtoMessage()

func (*ConfigReq) Reset

func (m *ConfigReq) Reset()

func (*ConfigReq) Size

func (m *ConfigReq) Size() (n int)

func (*ConfigReq) String

func (m *ConfigReq) String() string

func (*ConfigReq) Unmarshal

func (m *ConfigReq) Unmarshal(dAtA []byte) error

type ConsumePointReply

type ConsumePointReply struct {
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
}

func (*ConsumePointReply) Descriptor

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

func (*ConsumePointReply) GetStatus

func (m *ConsumePointReply) GetStatus() int32

func (*ConsumePointReply) Marshal

func (m *ConsumePointReply) Marshal() (dAtA []byte, err error)

func (*ConsumePointReply) MarshalTo

func (m *ConsumePointReply) MarshalTo(dAtA []byte) (int, error)

func (*ConsumePointReply) ProtoMessage

func (*ConsumePointReply) ProtoMessage()

func (*ConsumePointReply) Reset

func (m *ConsumePointReply) Reset()

func (*ConsumePointReply) Size

func (m *ConsumePointReply) Size() (n int)

func (*ConsumePointReply) String

func (m *ConsumePointReply) String() string

func (*ConsumePointReply) Unmarshal

func (m *ConsumePointReply) Unmarshal(dAtA []byte) error

type ConsumePointReq

type ConsumePointReq struct {
	Pc *ModelArgPointConsume `protobuf:"bytes,2,opt,name=pc" json:"pc,omitempty"`
}

func (*ConsumePointReq) Descriptor

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

func (*ConsumePointReq) GetPc

func (*ConsumePointReq) Marshal

func (m *ConsumePointReq) Marshal() (dAtA []byte, err error)

func (*ConsumePointReq) MarshalTo

func (m *ConsumePointReq) MarshalTo(dAtA []byte) (int, error)

func (*ConsumePointReq) ProtoMessage

func (*ConsumePointReq) ProtoMessage()

func (*ConsumePointReq) Reset

func (m *ConsumePointReq) Reset()

func (*ConsumePointReq) Size

func (m *ConsumePointReq) Size() (n int)

func (*ConsumePointReq) String

func (m *ConsumePointReq) String() string

func (*ConsumePointReq) Unmarshal

func (m *ConsumePointReq) Unmarshal(dAtA []byte) error

type ModelArgPoint

type ModelArgPoint struct {
	Mid        int64  `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	ChangeType int64  `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	Point      int64  `protobuf:"varint,3,opt,name=point,proto3" json:"point,omitempty"`
	Remark     string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"`
	Operator   string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"`
}

func (*ModelArgPoint) Descriptor

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

func (*ModelArgPoint) GetChangeType

func (m *ModelArgPoint) GetChangeType() int64

func (*ModelArgPoint) GetMid

func (m *ModelArgPoint) GetMid() int64

func (*ModelArgPoint) GetOperator

func (m *ModelArgPoint) GetOperator() string

func (*ModelArgPoint) GetPoint

func (m *ModelArgPoint) GetPoint() int64

func (*ModelArgPoint) GetRemark

func (m *ModelArgPoint) GetRemark() string

func (*ModelArgPoint) Marshal

func (m *ModelArgPoint) Marshal() (dAtA []byte, err error)

func (*ModelArgPoint) MarshalTo

func (m *ModelArgPoint) MarshalTo(dAtA []byte) (int, error)

func (*ModelArgPoint) ProtoMessage

func (*ModelArgPoint) ProtoMessage()

func (*ModelArgPoint) Reset

func (m *ModelArgPoint) Reset()

func (*ModelArgPoint) Size

func (m *ModelArgPoint) Size() (n int)

func (*ModelArgPoint) String

func (m *ModelArgPoint) String() string

func (*ModelArgPoint) Unmarshal

func (m *ModelArgPoint) Unmarshal(dAtA []byte) error

type ModelArgPointAdd

type ModelArgPointAdd struct {
	Mid        int64   `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	ChangeType int32   `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	RelationId string  `protobuf:"bytes,3,opt,name=relation_id,json=relationId,proto3" json:"relation_id,omitempty"`
	Bcoin      float64 `protobuf:"fixed64,4,opt,name=bcoin,proto3" json:"bcoin,omitempty"`
	Remark     string  `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
	OrderId    string  `protobuf:"bytes,6,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
}

func (*ModelArgPointAdd) Descriptor

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

func (*ModelArgPointAdd) GetBcoin

func (m *ModelArgPointAdd) GetBcoin() float64

func (*ModelArgPointAdd) GetChangeType

func (m *ModelArgPointAdd) GetChangeType() int32

func (*ModelArgPointAdd) GetMid

func (m *ModelArgPointAdd) GetMid() int64

func (*ModelArgPointAdd) GetOrderId

func (m *ModelArgPointAdd) GetOrderId() string

func (*ModelArgPointAdd) GetRelationId

func (m *ModelArgPointAdd) GetRelationId() string

func (*ModelArgPointAdd) GetRemark

func (m *ModelArgPointAdd) GetRemark() string

func (*ModelArgPointAdd) Marshal

func (m *ModelArgPointAdd) Marshal() (dAtA []byte, err error)

func (*ModelArgPointAdd) MarshalTo

func (m *ModelArgPointAdd) MarshalTo(dAtA []byte) (int, error)

func (*ModelArgPointAdd) ProtoMessage

func (*ModelArgPointAdd) ProtoMessage()

func (*ModelArgPointAdd) Reset

func (m *ModelArgPointAdd) Reset()

func (*ModelArgPointAdd) Size

func (m *ModelArgPointAdd) Size() (n int)

func (*ModelArgPointAdd) String

func (m *ModelArgPointAdd) String() string

func (*ModelArgPointAdd) Unmarshal

func (m *ModelArgPointAdd) Unmarshal(dAtA []byte) error

type ModelArgPointConsume

type ModelArgPointConsume struct {
	Mid        int64  `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	ChangeType int64  `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	RelationId string `protobuf:"bytes,3,opt,name=relation_id,json=relationId,proto3" json:"relation_id,omitempty"`
	Point      int64  `protobuf:"varint,4,opt,name=point,proto3" json:"point,omitempty"`
	Remark     string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
}

func (*ModelArgPointConsume) Descriptor

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

func (*ModelArgPointConsume) GetChangeType

func (m *ModelArgPointConsume) GetChangeType() int64

func (*ModelArgPointConsume) GetMid

func (m *ModelArgPointConsume) GetMid() int64

func (*ModelArgPointConsume) GetPoint

func (m *ModelArgPointConsume) GetPoint() int64

func (*ModelArgPointConsume) GetRelationId

func (m *ModelArgPointConsume) GetRelationId() string

func (*ModelArgPointConsume) GetRemark

func (m *ModelArgPointConsume) GetRemark() string

func (*ModelArgPointConsume) Marshal

func (m *ModelArgPointConsume) Marshal() (dAtA []byte, err error)

func (*ModelArgPointConsume) MarshalTo

func (m *ModelArgPointConsume) MarshalTo(dAtA []byte) (int, error)

func (*ModelArgPointConsume) ProtoMessage

func (*ModelArgPointConsume) ProtoMessage()

func (*ModelArgPointConsume) Reset

func (m *ModelArgPointConsume) Reset()

func (*ModelArgPointConsume) Size

func (m *ModelArgPointConsume) Size() (n int)

func (*ModelArgPointConsume) String

func (m *ModelArgPointConsume) String() string

func (*ModelArgPointConsume) Unmarshal

func (m *ModelArgPointConsume) Unmarshal(dAtA []byte) error

type ModelOldPointHistory

type ModelOldPointHistory struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Mid          int64  `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	Point        int64  `protobuf:"varint,3,opt,name=point,proto3" json:"point,omitempty"`
	OrderId      string `protobuf:"bytes,4,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	ChangeType   int32  `protobuf:"varint,5,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	ChangeTime   int64  `protobuf:"varint,6,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	RelationId   string `protobuf:"bytes,7,opt,name=relation_id,json=relationId,proto3" json:"relation_id,omitempty"`
	PointBalance int64  `protobuf:"varint,8,opt,name=point_balance,json=pointBalance,proto3" json:"point_balance,omitempty"`
	Remark       string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
	Operator     string `protobuf:"bytes,10,opt,name=operator,proto3" json:"operator,omitempty"`
}

func (*ModelOldPointHistory) Descriptor

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

func (*ModelOldPointHistory) GetChangeTime

func (m *ModelOldPointHistory) GetChangeTime() int64

func (*ModelOldPointHistory) GetChangeType

func (m *ModelOldPointHistory) GetChangeType() int32

func (*ModelOldPointHistory) GetId

func (m *ModelOldPointHistory) GetId() int64

func (*ModelOldPointHistory) GetMid

func (m *ModelOldPointHistory) GetMid() int64

func (*ModelOldPointHistory) GetOperator

func (m *ModelOldPointHistory) GetOperator() string

func (*ModelOldPointHistory) GetOrderId

func (m *ModelOldPointHistory) GetOrderId() string

func (*ModelOldPointHistory) GetPoint

func (m *ModelOldPointHistory) GetPoint() int64

func (*ModelOldPointHistory) GetPointBalance

func (m *ModelOldPointHistory) GetPointBalance() int64

func (*ModelOldPointHistory) GetRelationId

func (m *ModelOldPointHistory) GetRelationId() string

func (*ModelOldPointHistory) GetRemark

func (m *ModelOldPointHistory) GetRemark() string

func (*ModelOldPointHistory) Marshal

func (m *ModelOldPointHistory) Marshal() (dAtA []byte, err error)

func (*ModelOldPointHistory) MarshalTo

func (m *ModelOldPointHistory) MarshalTo(dAtA []byte) (int, error)

func (*ModelOldPointHistory) ProtoMessage

func (*ModelOldPointHistory) ProtoMessage()

func (*ModelOldPointHistory) Reset

func (m *ModelOldPointHistory) Reset()

func (*ModelOldPointHistory) Size

func (m *ModelOldPointHistory) Size() (n int)

func (*ModelOldPointHistory) String

func (m *ModelOldPointHistory) String() string

func (*ModelOldPointHistory) Unmarshal

func (m *ModelOldPointHistory) Unmarshal(dAtA []byte) error

type ModelPointHistory

type ModelPointHistory struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Mid          int64  `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	Point        int64  `protobuf:"varint,3,opt,name=point,proto3" json:"point,omitempty"`
	OrderId      string `protobuf:"bytes,4,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	ChangeType   int32  `protobuf:"varint,5,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
	ChangeTime   int64  `protobuf:"varint,6,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	RelationId   string `protobuf:"bytes,7,opt,name=relation_id,json=relationId,proto3" json:"relation_id,omitempty"`
	PointBalance int64  `protobuf:"varint,8,opt,name=point_balance,json=pointBalance,proto3" json:"point_balance,omitempty"`
	Remark       string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
	Operator     string `protobuf:"bytes,10,opt,name=operator,proto3" json:"operator,omitempty"`
}

func (*ModelPointHistory) Descriptor

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

func (*ModelPointHistory) GetChangeTime

func (m *ModelPointHistory) GetChangeTime() int64

func (*ModelPointHistory) GetChangeType

func (m *ModelPointHistory) GetChangeType() int32

func (*ModelPointHistory) GetId

func (m *ModelPointHistory) GetId() int64

func (*ModelPointHistory) GetMid

func (m *ModelPointHistory) GetMid() int64

func (*ModelPointHistory) GetOperator

func (m *ModelPointHistory) GetOperator() string

func (*ModelPointHistory) GetOrderId

func (m *ModelPointHistory) GetOrderId() string

func (*ModelPointHistory) GetPoint

func (m *ModelPointHistory) GetPoint() int64

func (*ModelPointHistory) GetPointBalance

func (m *ModelPointHistory) GetPointBalance() int64

func (*ModelPointHistory) GetRelationId

func (m *ModelPointHistory) GetRelationId() string

func (*ModelPointHistory) GetRemark

func (m *ModelPointHistory) GetRemark() string

func (*ModelPointHistory) Marshal

func (m *ModelPointHistory) Marshal() (dAtA []byte, err error)

func (*ModelPointHistory) MarshalTo

func (m *ModelPointHistory) MarshalTo(dAtA []byte) (int, error)

func (*ModelPointHistory) ProtoMessage

func (*ModelPointHistory) ProtoMessage()

func (*ModelPointHistory) Reset

func (m *ModelPointHistory) Reset()

func (*ModelPointHistory) Size

func (m *ModelPointHistory) Size() (n int)

func (*ModelPointHistory) String

func (m *ModelPointHistory) String() string

func (*ModelPointHistory) Unmarshal

func (m *ModelPointHistory) Unmarshal(dAtA []byte) error

type ModelPointInfo

type ModelPointInfo struct {
	Mid          int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	PointBalance int64 `protobuf:"varint,2,opt,name=point_balance,json=pointBalance,proto3" json:"point_balance,omitempty"`
	Ver          int64 `protobuf:"varint,3,opt,name=ver,proto3" json:"ver,omitempty"`
}

func (*ModelPointInfo) Descriptor

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

func (*ModelPointInfo) GetMid

func (m *ModelPointInfo) GetMid() int64

func (*ModelPointInfo) GetPointBalance

func (m *ModelPointInfo) GetPointBalance() int64

func (*ModelPointInfo) GetVer

func (m *ModelPointInfo) GetVer() int64

func (*ModelPointInfo) Marshal

func (m *ModelPointInfo) Marshal() (dAtA []byte, err error)

func (*ModelPointInfo) MarshalTo

func (m *ModelPointInfo) MarshalTo(dAtA []byte) (int, error)

func (*ModelPointInfo) ProtoMessage

func (*ModelPointInfo) ProtoMessage()

func (*ModelPointInfo) Reset

func (m *ModelPointInfo) Reset()

func (*ModelPointInfo) Size

func (m *ModelPointInfo) Size() (n int)

func (*ModelPointInfo) String

func (m *ModelPointInfo) String() string

func (*ModelPointInfo) Unmarshal

func (m *ModelPointInfo) Unmarshal(dAtA []byte) error

type OldPointHistoryReply

type OldPointHistoryReply struct {
	Phs   []*ModelOldPointHistory `protobuf:"bytes,1,rep,name=phs" json:"phs,omitempty"`
	Total int32                   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
}

func (*OldPointHistoryReply) Descriptor

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

func (*OldPointHistoryReply) GetPhs

func (*OldPointHistoryReply) GetTotal

func (m *OldPointHistoryReply) GetTotal() int32

func (*OldPointHistoryReply) Marshal

func (m *OldPointHistoryReply) Marshal() (dAtA []byte, err error)

func (*OldPointHistoryReply) MarshalTo

func (m *OldPointHistoryReply) MarshalTo(dAtA []byte) (int, error)

func (*OldPointHistoryReply) ProtoMessage

func (*OldPointHistoryReply) ProtoMessage()

func (*OldPointHistoryReply) Reset

func (m *OldPointHistoryReply) Reset()

func (*OldPointHistoryReply) Size

func (m *OldPointHistoryReply) Size() (n int)

func (*OldPointHistoryReply) String

func (m *OldPointHistoryReply) String() string

func (*OldPointHistoryReply) Unmarshal

func (m *OldPointHistoryReply) Unmarshal(dAtA []byte) error

type OldPointHistoryReq

type OldPointHistoryReq struct {
	Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	Pn  int32 `protobuf:"varint,3,opt,name=pn,proto3" json:"pn,omitempty"`
	Ps  int32 `protobuf:"varint,4,opt,name=ps,proto3" json:"ps,omitempty"`
}

func (*OldPointHistoryReq) Descriptor

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

func (*OldPointHistoryReq) GetMid

func (m *OldPointHistoryReq) GetMid() int64

func (*OldPointHistoryReq) GetPn

func (m *OldPointHistoryReq) GetPn() int32

func (*OldPointHistoryReq) GetPs

func (m *OldPointHistoryReq) GetPs() int32

func (*OldPointHistoryReq) Marshal

func (m *OldPointHistoryReq) Marshal() (dAtA []byte, err error)

func (*OldPointHistoryReq) MarshalTo

func (m *OldPointHistoryReq) MarshalTo(dAtA []byte) (int, error)

func (*OldPointHistoryReq) ProtoMessage

func (*OldPointHistoryReq) ProtoMessage()

func (*OldPointHistoryReq) Reset

func (m *OldPointHistoryReq) Reset()

func (*OldPointHistoryReq) Size

func (m *OldPointHistoryReq) Size() (n int)

func (*OldPointHistoryReq) String

func (m *OldPointHistoryReq) String() string

func (*OldPointHistoryReq) Unmarshal

func (m *OldPointHistoryReq) Unmarshal(dAtA []byte) error

type PingReply

type PingReply struct {
}

func (*PingReply) Descriptor

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

func (*PingReply) Marshal

func (m *PingReply) Marshal() (dAtA []byte, err error)

func (*PingReply) MarshalTo

func (m *PingReply) MarshalTo(dAtA []byte) (int, error)

func (*PingReply) ProtoMessage

func (*PingReply) ProtoMessage()

func (*PingReply) Reset

func (m *PingReply) Reset()

func (*PingReply) Size

func (m *PingReply) Size() (n int)

func (*PingReply) String

func (m *PingReply) String() string

func (*PingReply) Unmarshal

func (m *PingReply) Unmarshal(dAtA []byte) error

type PingReq

type PingReq struct {
}

func (*PingReq) Descriptor

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

func (*PingReq) Marshal

func (m *PingReq) Marshal() (dAtA []byte, err error)

func (*PingReq) MarshalTo

func (m *PingReq) MarshalTo(dAtA []byte) (int, error)

func (*PingReq) ProtoMessage

func (*PingReq) ProtoMessage()

func (*PingReq) Reset

func (m *PingReq) Reset()

func (*PingReq) Size

func (m *PingReq) Size() (n int)

func (*PingReq) String

func (m *PingReq) String() string

func (*PingReq) Unmarshal

func (m *PingReq) Unmarshal(dAtA []byte) error

type PointAddByBpReply

type PointAddByBpReply struct {
	P int64 `protobuf:"varint,1,opt,name=p,proto3" json:"p,omitempty"`
}

func (*PointAddByBpReply) Descriptor

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

func (*PointAddByBpReply) GetP

func (m *PointAddByBpReply) GetP() int64

func (*PointAddByBpReply) Marshal

func (m *PointAddByBpReply) Marshal() (dAtA []byte, err error)

func (*PointAddByBpReply) MarshalTo

func (m *PointAddByBpReply) MarshalTo(dAtA []byte) (int, error)

func (*PointAddByBpReply) ProtoMessage

func (*PointAddByBpReply) ProtoMessage()

func (*PointAddByBpReply) Reset

func (m *PointAddByBpReply) Reset()

func (*PointAddByBpReply) Size

func (m *PointAddByBpReply) Size() (n int)

func (*PointAddByBpReply) String

func (m *PointAddByBpReply) String() string

func (*PointAddByBpReply) Unmarshal

func (m *PointAddByBpReply) Unmarshal(dAtA []byte) error

type PointAddByBpReq

type PointAddByBpReq struct {
	Pa *ModelArgPointAdd `protobuf:"bytes,2,opt,name=pa" json:"pa,omitempty"`
}

func (*PointAddByBpReq) Descriptor

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

func (*PointAddByBpReq) GetPa

func (m *PointAddByBpReq) GetPa() *ModelArgPointAdd

func (*PointAddByBpReq) Marshal

func (m *PointAddByBpReq) Marshal() (dAtA []byte, err error)

func (*PointAddByBpReq) MarshalTo

func (m *PointAddByBpReq) MarshalTo(dAtA []byte) (int, error)

func (*PointAddByBpReq) ProtoMessage

func (*PointAddByBpReq) ProtoMessage()

func (*PointAddByBpReq) Reset

func (m *PointAddByBpReq) Reset()

func (*PointAddByBpReq) Size

func (m *PointAddByBpReq) Size() (n int)

func (*PointAddByBpReq) String

func (m *PointAddByBpReq) String() string

func (*PointAddByBpReq) Unmarshal

func (m *PointAddByBpReq) Unmarshal(dAtA []byte) error

type PointClient

type PointClient interface {
	// Config get point config.
	Config(ctx context.Context, in *ConfigReq, opts ...grpc.CallOption) (*ConfigReply, error)
	// AllConfig all point config
	AllConfig(ctx context.Context, in *AllConfigReq, opts ...grpc.CallOption) (*AllConfigReply, error)
	// Ping Service
	Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PingReply, error)
	// Close Service
	Close(ctx context.Context, in *CloseReq, opts ...grpc.CallOption) (*CloseReply, error)
	// PointInfo .
	PointInfo(ctx context.Context, in *PointInfoReq, opts ...grpc.CallOption) (*PointInfoReply, error)
	// PointHistory .
	PointHistory(ctx context.Context, in *PointHistoryReq, opts ...grpc.CallOption) (*PointHistoryReply, error)
	// OldPointHistory old point history .
	OldPointHistory(ctx context.Context, in *OldPointHistoryReq, opts ...grpc.CallOption) (*OldPointHistoryReply, error)
	// PointAddByBp by bp.
	PointAddByBp(ctx context.Context, in *PointAddByBpReq, opts ...grpc.CallOption) (*PointAddByBpReply, error)
	// ConsumePoint .
	ConsumePoint(ctx context.Context, in *ConsumePointReq, opts ...grpc.CallOption) (*ConsumePointReply, error)
	// AddPoint .
	AddPoint(ctx context.Context, in *AddPointReq, opts ...grpc.CallOption) (*AddPointReply, error)
}

func NewPointClient

func NewPointClient(cc *grpc.ClientConn) PointClient

type PointHistoryReply

type PointHistoryReply struct {
	Phs     []*ModelPointHistory `protobuf:"bytes,1,rep,name=phs" json:"phs,omitempty"`
	Total   int32                `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Ncursor int32                `protobuf:"varint,3,opt,name=ncursor,proto3" json:"ncursor,omitempty"`
}

func (*PointHistoryReply) Descriptor

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

func (*PointHistoryReply) GetNcursor

func (m *PointHistoryReply) GetNcursor() int32

func (*PointHistoryReply) GetPhs

func (m *PointHistoryReply) GetPhs() []*ModelPointHistory

func (*PointHistoryReply) GetTotal

func (m *PointHistoryReply) GetTotal() int32

func (*PointHistoryReply) Marshal

func (m *PointHistoryReply) Marshal() (dAtA []byte, err error)

func (*PointHistoryReply) MarshalTo

func (m *PointHistoryReply) MarshalTo(dAtA []byte) (int, error)

func (*PointHistoryReply) ProtoMessage

func (*PointHistoryReply) ProtoMessage()

func (*PointHistoryReply) Reset

func (m *PointHistoryReply) Reset()

func (*PointHistoryReply) Size

func (m *PointHistoryReply) Size() (n int)

func (*PointHistoryReply) String

func (m *PointHistoryReply) String() string

func (*PointHistoryReply) Unmarshal

func (m *PointHistoryReply) Unmarshal(dAtA []byte) error

type PointHistoryReq

type PointHistoryReq struct {
	Mid    int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	Cursor int32 `protobuf:"varint,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Ps     int32 `protobuf:"varint,4,opt,name=ps,proto3" json:"ps,omitempty"`
}

func (*PointHistoryReq) Descriptor

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

func (*PointHistoryReq) GetCursor

func (m *PointHistoryReq) GetCursor() int32

func (*PointHistoryReq) GetMid

func (m *PointHistoryReq) GetMid() int64

func (*PointHistoryReq) GetPs

func (m *PointHistoryReq) GetPs() int32

func (*PointHistoryReq) Marshal

func (m *PointHistoryReq) Marshal() (dAtA []byte, err error)

func (*PointHistoryReq) MarshalTo

func (m *PointHistoryReq) MarshalTo(dAtA []byte) (int, error)

func (*PointHistoryReq) ProtoMessage

func (*PointHistoryReq) ProtoMessage()

func (*PointHistoryReq) Reset

func (m *PointHistoryReq) Reset()

func (*PointHistoryReq) Size

func (m *PointHistoryReq) Size() (n int)

func (*PointHistoryReq) String

func (m *PointHistoryReq) String() string

func (*PointHistoryReq) Unmarshal

func (m *PointHistoryReq) Unmarshal(dAtA []byte) error

type PointInfoReply

type PointInfoReply struct {
	Pi *ModelPointInfo `protobuf:"bytes,1,opt,name=pi" json:"pi,omitempty"`
}

func (*PointInfoReply) Descriptor

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

func (*PointInfoReply) GetPi

func (m *PointInfoReply) GetPi() *ModelPointInfo

func (*PointInfoReply) Marshal

func (m *PointInfoReply) Marshal() (dAtA []byte, err error)

func (*PointInfoReply) MarshalTo

func (m *PointInfoReply) MarshalTo(dAtA []byte) (int, error)

func (*PointInfoReply) ProtoMessage

func (*PointInfoReply) ProtoMessage()

func (*PointInfoReply) Reset

func (m *PointInfoReply) Reset()

func (*PointInfoReply) Size

func (m *PointInfoReply) Size() (n int)

func (*PointInfoReply) String

func (m *PointInfoReply) String() string

func (*PointInfoReply) Unmarshal

func (m *PointInfoReply) Unmarshal(dAtA []byte) error

type PointInfoReq

type PointInfoReq struct {
	Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
}

func (*PointInfoReq) Descriptor

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

func (*PointInfoReq) GetMid

func (m *PointInfoReq) GetMid() int64

func (*PointInfoReq) Marshal

func (m *PointInfoReq) Marshal() (dAtA []byte, err error)

func (*PointInfoReq) MarshalTo

func (m *PointInfoReq) MarshalTo(dAtA []byte) (int, error)

func (*PointInfoReq) ProtoMessage

func (*PointInfoReq) ProtoMessage()

func (*PointInfoReq) Reset

func (m *PointInfoReq) Reset()

func (*PointInfoReq) Size

func (m *PointInfoReq) Size() (n int)

func (*PointInfoReq) String

func (m *PointInfoReq) String() string

func (*PointInfoReq) Unmarshal

func (m *PointInfoReq) Unmarshal(dAtA []byte) error

type PointServer

type PointServer interface {
	// Config get point config.
	Config(context.Context, *ConfigReq) (*ConfigReply, error)
	// AllConfig all point config
	AllConfig(context.Context, *AllConfigReq) (*AllConfigReply, error)
	// Ping Service
	Ping(context.Context, *PingReq) (*PingReply, error)
	// Close Service
	Close(context.Context, *CloseReq) (*CloseReply, error)
	// PointInfo .
	PointInfo(context.Context, *PointInfoReq) (*PointInfoReply, error)
	// PointHistory .
	PointHistory(context.Context, *PointHistoryReq) (*PointHistoryReply, error)
	// OldPointHistory old point history .
	OldPointHistory(context.Context, *OldPointHistoryReq) (*OldPointHistoryReply, error)
	// PointAddByBp by bp.
	PointAddByBp(context.Context, *PointAddByBpReq) (*PointAddByBpReply, error)
	// ConsumePoint .
	ConsumePoint(context.Context, *ConsumePointReq) (*ConsumePointReply, error)
	// AddPoint .
	AddPoint(context.Context, *AddPointReq) (*AddPointReply, error)
}

Jump to

Keyboard shortcuts

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