appserver

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAppServerServiceServer

func RegisterAppServerServiceServer(s *grpc.Server, srv AppServerServiceServer)

func RegisterM2MServerServiceServer

func RegisterM2MServerServiceServer(s *grpc.Server, srv M2MServerServiceServer)

Types

type AddDeviceInM2MServerRequest

type AddDeviceInM2MServerRequest struct {
	OrgId                int64                   `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	DevProfile           *AppServerDeviceProfile `protobuf:"bytes,2,opt,name=dev_profile,json=devProfile,proto3" json:"dev_profile,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*AddDeviceInM2MServerRequest) Descriptor

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

func (*AddDeviceInM2MServerRequest) GetDevProfile

func (*AddDeviceInM2MServerRequest) GetOrgId

func (m *AddDeviceInM2MServerRequest) GetOrgId() int64

func (*AddDeviceInM2MServerRequest) ProtoMessage

func (*AddDeviceInM2MServerRequest) ProtoMessage()

func (*AddDeviceInM2MServerRequest) Reset

func (m *AddDeviceInM2MServerRequest) Reset()

func (*AddDeviceInM2MServerRequest) String

func (m *AddDeviceInM2MServerRequest) String() string

func (*AddDeviceInM2MServerRequest) XXX_DiscardUnknown

func (m *AddDeviceInM2MServerRequest) XXX_DiscardUnknown()

func (*AddDeviceInM2MServerRequest) XXX_Marshal

func (m *AddDeviceInM2MServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddDeviceInM2MServerRequest) XXX_Merge

func (m *AddDeviceInM2MServerRequest) XXX_Merge(src proto.Message)

func (*AddDeviceInM2MServerRequest) XXX_Size

func (m *AddDeviceInM2MServerRequest) XXX_Size() int

func (*AddDeviceInM2MServerRequest) XXX_Unmarshal

func (m *AddDeviceInM2MServerRequest) XXX_Unmarshal(b []byte) error

type AddDeviceInM2MServerResponse

type AddDeviceInM2MServerResponse struct {
	DevId                int64    `protobuf:"varint,1,opt,name=dev_id,json=devId,proto3" json:"dev_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddDeviceInM2MServerResponse) Descriptor

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

func (*AddDeviceInM2MServerResponse) GetDevId

func (m *AddDeviceInM2MServerResponse) GetDevId() int64

func (*AddDeviceInM2MServerResponse) ProtoMessage

func (*AddDeviceInM2MServerResponse) ProtoMessage()

func (*AddDeviceInM2MServerResponse) Reset

func (m *AddDeviceInM2MServerResponse) Reset()

func (*AddDeviceInM2MServerResponse) String

func (*AddDeviceInM2MServerResponse) XXX_DiscardUnknown

func (m *AddDeviceInM2MServerResponse) XXX_DiscardUnknown()

func (*AddDeviceInM2MServerResponse) XXX_Marshal

func (m *AddDeviceInM2MServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddDeviceInM2MServerResponse) XXX_Merge

func (m *AddDeviceInM2MServerResponse) XXX_Merge(src proto.Message)

func (*AddDeviceInM2MServerResponse) XXX_Size

func (m *AddDeviceInM2MServerResponse) XXX_Size() int

func (*AddDeviceInM2MServerResponse) XXX_Unmarshal

func (m *AddDeviceInM2MServerResponse) XXX_Unmarshal(b []byte) error

type AddGatewayInM2MServerRequest

type AddGatewayInM2MServerRequest struct {
	OrgId                int64                    `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	GwProfile            *AppServerGatewayProfile `protobuf:"bytes,2,opt,name=gw_profile,json=gwProfile,proto3" json:"gw_profile,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*AddGatewayInM2MServerRequest) Descriptor

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

func (*AddGatewayInM2MServerRequest) GetGwProfile

func (*AddGatewayInM2MServerRequest) GetOrgId

func (m *AddGatewayInM2MServerRequest) GetOrgId() int64

func (*AddGatewayInM2MServerRequest) ProtoMessage

func (*AddGatewayInM2MServerRequest) ProtoMessage()

func (*AddGatewayInM2MServerRequest) Reset

func (m *AddGatewayInM2MServerRequest) Reset()

func (*AddGatewayInM2MServerRequest) String

func (*AddGatewayInM2MServerRequest) XXX_DiscardUnknown

func (m *AddGatewayInM2MServerRequest) XXX_DiscardUnknown()

func (*AddGatewayInM2MServerRequest) XXX_Marshal

func (m *AddGatewayInM2MServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddGatewayInM2MServerRequest) XXX_Merge

func (m *AddGatewayInM2MServerRequest) XXX_Merge(src proto.Message)

func (*AddGatewayInM2MServerRequest) XXX_Size

func (m *AddGatewayInM2MServerRequest) XXX_Size() int

func (*AddGatewayInM2MServerRequest) XXX_Unmarshal

func (m *AddGatewayInM2MServerRequest) XXX_Unmarshal(b []byte) error

type AddGatewayInM2MServerResponse

type AddGatewayInM2MServerResponse struct {
	GwId                 int64    `protobuf:"varint,1,opt,name=gw_id,json=gwId,proto3" json:"gw_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddGatewayInM2MServerResponse) Descriptor

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

func (*AddGatewayInM2MServerResponse) GetGwId

func (m *AddGatewayInM2MServerResponse) GetGwId() int64

func (*AddGatewayInM2MServerResponse) ProtoMessage

func (*AddGatewayInM2MServerResponse) ProtoMessage()

func (*AddGatewayInM2MServerResponse) Reset

func (m *AddGatewayInM2MServerResponse) Reset()

func (*AddGatewayInM2MServerResponse) String

func (*AddGatewayInM2MServerResponse) XXX_DiscardUnknown

func (m *AddGatewayInM2MServerResponse) XXX_DiscardUnknown()

func (*AddGatewayInM2MServerResponse) XXX_Marshal

func (m *AddGatewayInM2MServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddGatewayInM2MServerResponse) XXX_Merge

func (m *AddGatewayInM2MServerResponse) XXX_Merge(src proto.Message)

func (*AddGatewayInM2MServerResponse) XXX_Size

func (m *AddGatewayInM2MServerResponse) XXX_Size() int

func (*AddGatewayInM2MServerResponse) XXX_Unmarshal

func (m *AddGatewayInM2MServerResponse) XXX_Unmarshal(b []byte) error

type AppServerDeviceProfile

type AppServerDeviceProfile struct {
	DevEui               string               `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"`
	ApplicationId        int64                `protobuf:"varint,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	Name                 string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AppServerDeviceProfile) Descriptor

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

func (*AppServerDeviceProfile) GetApplicationId

func (m *AppServerDeviceProfile) GetApplicationId() int64

func (*AppServerDeviceProfile) GetCreatedAt

func (m *AppServerDeviceProfile) GetCreatedAt() *timestamp.Timestamp

func (*AppServerDeviceProfile) GetDevEui

func (m *AppServerDeviceProfile) GetDevEui() string

func (*AppServerDeviceProfile) GetName

func (m *AppServerDeviceProfile) GetName() string

func (*AppServerDeviceProfile) ProtoMessage

func (*AppServerDeviceProfile) ProtoMessage()

func (*AppServerDeviceProfile) Reset

func (m *AppServerDeviceProfile) Reset()

func (*AppServerDeviceProfile) String

func (m *AppServerDeviceProfile) String() string

func (*AppServerDeviceProfile) XXX_DiscardUnknown

func (m *AppServerDeviceProfile) XXX_DiscardUnknown()

func (*AppServerDeviceProfile) XXX_Marshal

func (m *AppServerDeviceProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppServerDeviceProfile) XXX_Merge

func (m *AppServerDeviceProfile) XXX_Merge(src proto.Message)

func (*AppServerDeviceProfile) XXX_Size

func (m *AppServerDeviceProfile) XXX_Size() int

func (*AppServerDeviceProfile) XXX_Unmarshal

func (m *AppServerDeviceProfile) XXX_Unmarshal(b []byte) error

type AppServerGatewayProfile

type AppServerGatewayProfile struct {
	Mac                  string               `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	OrgId                int64                `protobuf:"varint,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Description          string               `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Name                 string               `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AppServerGatewayProfile) Descriptor

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

func (*AppServerGatewayProfile) GetCreatedAt

func (m *AppServerGatewayProfile) GetCreatedAt() *timestamp.Timestamp

func (*AppServerGatewayProfile) GetDescription

func (m *AppServerGatewayProfile) GetDescription() string

func (*AppServerGatewayProfile) GetMac

func (m *AppServerGatewayProfile) GetMac() string

func (*AppServerGatewayProfile) GetName

func (m *AppServerGatewayProfile) GetName() string

func (*AppServerGatewayProfile) GetOrgId

func (m *AppServerGatewayProfile) GetOrgId() int64

func (*AppServerGatewayProfile) ProtoMessage

func (*AppServerGatewayProfile) ProtoMessage()

func (*AppServerGatewayProfile) Reset

func (m *AppServerGatewayProfile) Reset()

func (*AppServerGatewayProfile) String

func (m *AppServerGatewayProfile) String() string

func (*AppServerGatewayProfile) XXX_DiscardUnknown

func (m *AppServerGatewayProfile) XXX_DiscardUnknown()

func (*AppServerGatewayProfile) XXX_Marshal

func (m *AppServerGatewayProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppServerGatewayProfile) XXX_Merge

func (m *AppServerGatewayProfile) XXX_Merge(src proto.Message)

func (*AppServerGatewayProfile) XXX_Size

func (m *AppServerGatewayProfile) XXX_Size() int

func (*AppServerGatewayProfile) XXX_Unmarshal

func (m *AppServerGatewayProfile) XXX_Unmarshal(b []byte) error

type AppServerServiceClient

type AppServerServiceClient interface {
	GetDeviceByDevEui(ctx context.Context, in *GetDeviceByDevEuiRequest, opts ...grpc.CallOption) (*GetDeviceByDevEuiResponse, error)
	GetGatewayByMac(ctx context.Context, in *GetGatewayByMacRequest, opts ...grpc.CallOption) (*GetGatewayByMacResponse, error)
	GetDeviceDevEuiList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetDeviceDevEuiListResponse, error)
	GetGatewayMacList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetGatewayMacListResponse, error)
}

AppServerServiceClient is the client API for AppServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAppServerServiceClient

func NewAppServerServiceClient(cc *grpc.ClientConn) AppServerServiceClient

type AppServerServiceServer

type AppServerServiceServer interface {
	GetDeviceByDevEui(context.Context, *GetDeviceByDevEuiRequest) (*GetDeviceByDevEuiResponse, error)
	GetGatewayByMac(context.Context, *GetGatewayByMacRequest) (*GetGatewayByMacResponse, error)
	GetDeviceDevEuiList(context.Context, *empty.Empty) (*GetDeviceDevEuiListResponse, error)
	GetGatewayMacList(context.Context, *empty.Empty) (*GetGatewayMacListResponse, error)
}

AppServerServiceServer is the server API for AppServerService service.

type DeleteDeviceInM2MServerRequest

type DeleteDeviceInM2MServerRequest struct {
	DevEui               string   `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteDeviceInM2MServerRequest) Descriptor

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

func (*DeleteDeviceInM2MServerRequest) GetDevEui

func (m *DeleteDeviceInM2MServerRequest) GetDevEui() string

func (*DeleteDeviceInM2MServerRequest) ProtoMessage

func (*DeleteDeviceInM2MServerRequest) ProtoMessage()

func (*DeleteDeviceInM2MServerRequest) Reset

func (m *DeleteDeviceInM2MServerRequest) Reset()

func (*DeleteDeviceInM2MServerRequest) String

func (*DeleteDeviceInM2MServerRequest) XXX_DiscardUnknown

func (m *DeleteDeviceInM2MServerRequest) XXX_DiscardUnknown()

func (*DeleteDeviceInM2MServerRequest) XXX_Marshal

func (m *DeleteDeviceInM2MServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDeviceInM2MServerRequest) XXX_Merge

func (m *DeleteDeviceInM2MServerRequest) XXX_Merge(src proto.Message)

func (*DeleteDeviceInM2MServerRequest) XXX_Size

func (m *DeleteDeviceInM2MServerRequest) XXX_Size() int

func (*DeleteDeviceInM2MServerRequest) XXX_Unmarshal

func (m *DeleteDeviceInM2MServerRequest) XXX_Unmarshal(b []byte) error

type DeleteDeviceInM2MServerResponse

type DeleteDeviceInM2MServerResponse struct {
	Status               bool     `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteDeviceInM2MServerResponse) Descriptor

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

func (*DeleteDeviceInM2MServerResponse) GetStatus

func (m *DeleteDeviceInM2MServerResponse) GetStatus() bool

func (*DeleteDeviceInM2MServerResponse) ProtoMessage

func (*DeleteDeviceInM2MServerResponse) ProtoMessage()

func (*DeleteDeviceInM2MServerResponse) Reset

func (*DeleteDeviceInM2MServerResponse) String

func (*DeleteDeviceInM2MServerResponse) XXX_DiscardUnknown

func (m *DeleteDeviceInM2MServerResponse) XXX_DiscardUnknown()

func (*DeleteDeviceInM2MServerResponse) XXX_Marshal

func (m *DeleteDeviceInM2MServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDeviceInM2MServerResponse) XXX_Merge

func (m *DeleteDeviceInM2MServerResponse) XXX_Merge(src proto.Message)

func (*DeleteDeviceInM2MServerResponse) XXX_Size

func (m *DeleteDeviceInM2MServerResponse) XXX_Size() int

func (*DeleteDeviceInM2MServerResponse) XXX_Unmarshal

func (m *DeleteDeviceInM2MServerResponse) XXX_Unmarshal(b []byte) error

type DeleteGatewayInM2MServerRequest

type DeleteGatewayInM2MServerRequest struct {
	MacAddress           string   `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteGatewayInM2MServerRequest) Descriptor

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

func (*DeleteGatewayInM2MServerRequest) GetMacAddress

func (m *DeleteGatewayInM2MServerRequest) GetMacAddress() string

func (*DeleteGatewayInM2MServerRequest) ProtoMessage

func (*DeleteGatewayInM2MServerRequest) ProtoMessage()

func (*DeleteGatewayInM2MServerRequest) Reset

func (*DeleteGatewayInM2MServerRequest) String

func (*DeleteGatewayInM2MServerRequest) XXX_DiscardUnknown

func (m *DeleteGatewayInM2MServerRequest) XXX_DiscardUnknown()

func (*DeleteGatewayInM2MServerRequest) XXX_Marshal

func (m *DeleteGatewayInM2MServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteGatewayInM2MServerRequest) XXX_Merge

func (m *DeleteGatewayInM2MServerRequest) XXX_Merge(src proto.Message)

func (*DeleteGatewayInM2MServerRequest) XXX_Size

func (m *DeleteGatewayInM2MServerRequest) XXX_Size() int

func (*DeleteGatewayInM2MServerRequest) XXX_Unmarshal

func (m *DeleteGatewayInM2MServerRequest) XXX_Unmarshal(b []byte) error

type DeleteGatewayInM2MServerResponse

type DeleteGatewayInM2MServerResponse struct {
	Status               bool     `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteGatewayInM2MServerResponse) Descriptor

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

func (*DeleteGatewayInM2MServerResponse) GetStatus

func (m *DeleteGatewayInM2MServerResponse) GetStatus() bool

func (*DeleteGatewayInM2MServerResponse) ProtoMessage

func (*DeleteGatewayInM2MServerResponse) ProtoMessage()

func (*DeleteGatewayInM2MServerResponse) Reset

func (*DeleteGatewayInM2MServerResponse) String

func (*DeleteGatewayInM2MServerResponse) XXX_DiscardUnknown

func (m *DeleteGatewayInM2MServerResponse) XXX_DiscardUnknown()

func (*DeleteGatewayInM2MServerResponse) XXX_Marshal

func (m *DeleteGatewayInM2MServerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteGatewayInM2MServerResponse) XXX_Merge

func (*DeleteGatewayInM2MServerResponse) XXX_Size

func (m *DeleteGatewayInM2MServerResponse) XXX_Size() int

func (*DeleteGatewayInM2MServerResponse) XXX_Unmarshal

func (m *DeleteGatewayInM2MServerResponse) XXX_Unmarshal(b []byte) error

type GetDeviceByDevEuiRequest

type GetDeviceByDevEuiRequest struct {
	DevEui               string   `protobuf:"bytes,1,opt,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDeviceByDevEuiRequest) Descriptor

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

func (*GetDeviceByDevEuiRequest) GetDevEui

func (m *GetDeviceByDevEuiRequest) GetDevEui() string

func (*GetDeviceByDevEuiRequest) ProtoMessage

func (*GetDeviceByDevEuiRequest) ProtoMessage()

func (*GetDeviceByDevEuiRequest) Reset

func (m *GetDeviceByDevEuiRequest) Reset()

func (*GetDeviceByDevEuiRequest) String

func (m *GetDeviceByDevEuiRequest) String() string

func (*GetDeviceByDevEuiRequest) XXX_DiscardUnknown

func (m *GetDeviceByDevEuiRequest) XXX_DiscardUnknown()

func (*GetDeviceByDevEuiRequest) XXX_Marshal

func (m *GetDeviceByDevEuiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeviceByDevEuiRequest) XXX_Merge

func (m *GetDeviceByDevEuiRequest) XXX_Merge(src proto.Message)

func (*GetDeviceByDevEuiRequest) XXX_Size

func (m *GetDeviceByDevEuiRequest) XXX_Size() int

func (*GetDeviceByDevEuiRequest) XXX_Unmarshal

func (m *GetDeviceByDevEuiRequest) XXX_Unmarshal(b []byte) error

type GetDeviceByDevEuiResponse

type GetDeviceByDevEuiResponse struct {
	OrgId                int64                   `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	DevProfile           *AppServerDeviceProfile `protobuf:"bytes,2,opt,name=dev_profile,json=devProfile,proto3" json:"dev_profile,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*GetDeviceByDevEuiResponse) Descriptor

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

func (*GetDeviceByDevEuiResponse) GetDevProfile

func (*GetDeviceByDevEuiResponse) GetOrgId

func (m *GetDeviceByDevEuiResponse) GetOrgId() int64

func (*GetDeviceByDevEuiResponse) ProtoMessage

func (*GetDeviceByDevEuiResponse) ProtoMessage()

func (*GetDeviceByDevEuiResponse) Reset

func (m *GetDeviceByDevEuiResponse) Reset()

func (*GetDeviceByDevEuiResponse) String

func (m *GetDeviceByDevEuiResponse) String() string

func (*GetDeviceByDevEuiResponse) XXX_DiscardUnknown

func (m *GetDeviceByDevEuiResponse) XXX_DiscardUnknown()

func (*GetDeviceByDevEuiResponse) XXX_Marshal

func (m *GetDeviceByDevEuiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeviceByDevEuiResponse) XXX_Merge

func (m *GetDeviceByDevEuiResponse) XXX_Merge(src proto.Message)

func (*GetDeviceByDevEuiResponse) XXX_Size

func (m *GetDeviceByDevEuiResponse) XXX_Size() int

func (*GetDeviceByDevEuiResponse) XXX_Unmarshal

func (m *GetDeviceByDevEuiResponse) XXX_Unmarshal(b []byte) error

type GetDeviceDevEuiListResponse

type GetDeviceDevEuiListResponse struct {
	DevEui               []string `protobuf:"bytes,1,rep,name=dev_eui,json=devEui,proto3" json:"dev_eui,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDeviceDevEuiListResponse) Descriptor

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

func (*GetDeviceDevEuiListResponse) GetDevEui

func (m *GetDeviceDevEuiListResponse) GetDevEui() []string

func (*GetDeviceDevEuiListResponse) ProtoMessage

func (*GetDeviceDevEuiListResponse) ProtoMessage()

func (*GetDeviceDevEuiListResponse) Reset

func (m *GetDeviceDevEuiListResponse) Reset()

func (*GetDeviceDevEuiListResponse) String

func (m *GetDeviceDevEuiListResponse) String() string

func (*GetDeviceDevEuiListResponse) XXX_DiscardUnknown

func (m *GetDeviceDevEuiListResponse) XXX_DiscardUnknown()

func (*GetDeviceDevEuiListResponse) XXX_Marshal

func (m *GetDeviceDevEuiListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeviceDevEuiListResponse) XXX_Merge

func (m *GetDeviceDevEuiListResponse) XXX_Merge(src proto.Message)

func (*GetDeviceDevEuiListResponse) XXX_Size

func (m *GetDeviceDevEuiListResponse) XXX_Size() int

func (*GetDeviceDevEuiListResponse) XXX_Unmarshal

func (m *GetDeviceDevEuiListResponse) XXX_Unmarshal(b []byte) error

type GetGatewayByMacRequest

type GetGatewayByMacRequest struct {
	Mac                  string   `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGatewayByMacRequest) Descriptor

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

func (*GetGatewayByMacRequest) GetMac

func (m *GetGatewayByMacRequest) GetMac() string

func (*GetGatewayByMacRequest) ProtoMessage

func (*GetGatewayByMacRequest) ProtoMessage()

func (*GetGatewayByMacRequest) Reset

func (m *GetGatewayByMacRequest) Reset()

func (*GetGatewayByMacRequest) String

func (m *GetGatewayByMacRequest) String() string

func (*GetGatewayByMacRequest) XXX_DiscardUnknown

func (m *GetGatewayByMacRequest) XXX_DiscardUnknown()

func (*GetGatewayByMacRequest) XXX_Marshal

func (m *GetGatewayByMacRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGatewayByMacRequest) XXX_Merge

func (m *GetGatewayByMacRequest) XXX_Merge(src proto.Message)

func (*GetGatewayByMacRequest) XXX_Size

func (m *GetGatewayByMacRequest) XXX_Size() int

func (*GetGatewayByMacRequest) XXX_Unmarshal

func (m *GetGatewayByMacRequest) XXX_Unmarshal(b []byte) error

type GetGatewayByMacResponse

type GetGatewayByMacResponse struct {
	OrgId                int64                    `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	GwProfile            *AppServerGatewayProfile `protobuf:"bytes,2,opt,name=gw_profile,json=gwProfile,proto3" json:"gw_profile,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*GetGatewayByMacResponse) Descriptor

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

func (*GetGatewayByMacResponse) GetGwProfile

func (*GetGatewayByMacResponse) GetOrgId

func (m *GetGatewayByMacResponse) GetOrgId() int64

func (*GetGatewayByMacResponse) ProtoMessage

func (*GetGatewayByMacResponse) ProtoMessage()

func (*GetGatewayByMacResponse) Reset

func (m *GetGatewayByMacResponse) Reset()

func (*GetGatewayByMacResponse) String

func (m *GetGatewayByMacResponse) String() string

func (*GetGatewayByMacResponse) XXX_DiscardUnknown

func (m *GetGatewayByMacResponse) XXX_DiscardUnknown()

func (*GetGatewayByMacResponse) XXX_Marshal

func (m *GetGatewayByMacResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGatewayByMacResponse) XXX_Merge

func (m *GetGatewayByMacResponse) XXX_Merge(src proto.Message)

func (*GetGatewayByMacResponse) XXX_Size

func (m *GetGatewayByMacResponse) XXX_Size() int

func (*GetGatewayByMacResponse) XXX_Unmarshal

func (m *GetGatewayByMacResponse) XXX_Unmarshal(b []byte) error

type GetGatewayMacListResponse

type GetGatewayMacListResponse struct {
	GatewayMac           []string `protobuf:"bytes,1,rep,name=gateway_mac,json=gatewayMac,proto3" json:"gateway_mac,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGatewayMacListResponse) Descriptor

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

func (*GetGatewayMacListResponse) GetGatewayMac

func (m *GetGatewayMacListResponse) GetGatewayMac() []string

func (*GetGatewayMacListResponse) ProtoMessage

func (*GetGatewayMacListResponse) ProtoMessage()

func (*GetGatewayMacListResponse) Reset

func (m *GetGatewayMacListResponse) Reset()

func (*GetGatewayMacListResponse) String

func (m *GetGatewayMacListResponse) String() string

func (*GetGatewayMacListResponse) XXX_DiscardUnknown

func (m *GetGatewayMacListResponse) XXX_DiscardUnknown()

func (*GetGatewayMacListResponse) XXX_Marshal

func (m *GetGatewayMacListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGatewayMacListResponse) XXX_Merge

func (m *GetGatewayMacListResponse) XXX_Merge(src proto.Message)

func (*GetGatewayMacListResponse) XXX_Size

func (m *GetGatewayMacListResponse) XXX_Size() int

func (*GetGatewayMacListResponse) XXX_Unmarshal

func (m *GetGatewayMacListResponse) XXX_Unmarshal(b []byte) error

type GetWalletBalanceRequest

type GetWalletBalanceRequest struct {
	OrgId                int64    `protobuf:"varint,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetWalletBalanceRequest) Descriptor

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

func (*GetWalletBalanceRequest) GetOrgId

func (m *GetWalletBalanceRequest) GetOrgId() int64

func (*GetWalletBalanceRequest) ProtoMessage

func (*GetWalletBalanceRequest) ProtoMessage()

func (*GetWalletBalanceRequest) Reset

func (m *GetWalletBalanceRequest) Reset()

func (*GetWalletBalanceRequest) String

func (m *GetWalletBalanceRequest) String() string

func (*GetWalletBalanceRequest) XXX_DiscardUnknown

func (m *GetWalletBalanceRequest) XXX_DiscardUnknown()

func (*GetWalletBalanceRequest) XXX_Marshal

func (m *GetWalletBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetWalletBalanceRequest) XXX_Merge

func (m *GetWalletBalanceRequest) XXX_Merge(src proto.Message)

func (*GetWalletBalanceRequest) XXX_Size

func (m *GetWalletBalanceRequest) XXX_Size() int

func (*GetWalletBalanceRequest) XXX_Unmarshal

func (m *GetWalletBalanceRequest) XXX_Unmarshal(b []byte) error

type GetWalletBalanceResponse

type GetWalletBalanceResponse struct {
	Balance              float64  `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetWalletBalanceResponse) Descriptor

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

func (*GetWalletBalanceResponse) GetBalance

func (m *GetWalletBalanceResponse) GetBalance() float64

func (*GetWalletBalanceResponse) ProtoMessage

func (*GetWalletBalanceResponse) ProtoMessage()

func (*GetWalletBalanceResponse) Reset

func (m *GetWalletBalanceResponse) Reset()

func (*GetWalletBalanceResponse) String

func (m *GetWalletBalanceResponse) String() string

func (*GetWalletBalanceResponse) XXX_DiscardUnknown

func (m *GetWalletBalanceResponse) XXX_DiscardUnknown()

func (*GetWalletBalanceResponse) XXX_Marshal

func (m *GetWalletBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetWalletBalanceResponse) XXX_Merge

func (m *GetWalletBalanceResponse) XXX_Merge(src proto.Message)

func (*GetWalletBalanceResponse) XXX_Size

func (m *GetWalletBalanceResponse) XXX_Size() int

func (*GetWalletBalanceResponse) XXX_Unmarshal

func (m *GetWalletBalanceResponse) XXX_Unmarshal(b []byte) error

type M2MServerServiceClient

type M2MServerServiceClient interface {
	AddDeviceInM2MServer(ctx context.Context, in *AddDeviceInM2MServerRequest, opts ...grpc.CallOption) (*AddDeviceInM2MServerResponse, error)
	DeleteDeviceInM2MServer(ctx context.Context, in *DeleteDeviceInM2MServerRequest, opts ...grpc.CallOption) (*DeleteDeviceInM2MServerResponse, error)
	AddGatewayInM2MServer(ctx context.Context, in *AddGatewayInM2MServerRequest, opts ...grpc.CallOption) (*AddGatewayInM2MServerResponse, error)
	DeleteGatewayInM2MServer(ctx context.Context, in *DeleteGatewayInM2MServerRequest, opts ...grpc.CallOption) (*DeleteGatewayInM2MServerResponse, error)
	GetWalletBalance(ctx context.Context, in *GetWalletBalanceRequest, opts ...grpc.CallOption) (*GetWalletBalanceResponse, error)
}

M2MServerServiceClient is the client API for M2MServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewM2MServerServiceClient

func NewM2MServerServiceClient(cc *grpc.ClientConn) M2MServerServiceClient

type M2MServerServiceServer

M2MServerServiceServer is the server API for M2MServerService service.

type UnimplementedAppServerServiceServer

type UnimplementedAppServerServiceServer struct {
}

UnimplementedAppServerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAppServerServiceServer) GetDeviceByDevEui

func (*UnimplementedAppServerServiceServer) GetDeviceDevEuiList

func (*UnimplementedAppServerServiceServer) GetGatewayByMac

func (*UnimplementedAppServerServiceServer) GetGatewayMacList

type UnimplementedM2MServerServiceServer

type UnimplementedM2MServerServiceServer struct {
}

UnimplementedM2MServerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedM2MServerServiceServer) AddDeviceInM2MServer

func (*UnimplementedM2MServerServiceServer) AddGatewayInM2MServer

func (*UnimplementedM2MServerServiceServer) DeleteDeviceInM2MServer

func (*UnimplementedM2MServerServiceServer) DeleteGatewayInM2MServer

func (*UnimplementedM2MServerServiceServer) GetWalletBalance

Jump to

Keyboard shortcuts

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