service

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package main is a generated protocol buffer package.

It is generated from these files:

service.proto

It has these top-level messages:

TestReq
TestRsp
AddReq
AddRsp
ErrReq
ErrRsp
EventReq

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type AddReq

type AddReq struct {
	A int32 `protobuf:"varint,1,opt,name=A" json:"A"`
	B int32 `protobuf:"varint,2,opt,name=B" json:"B"`
}

func (*AddReq) Descriptor

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

func (*AddReq) Equal

func (this *AddReq) Equal(that interface{}) bool

func (*AddReq) GoString

func (this *AddReq) GoString() string

func (*AddReq) Marshal

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

func (*AddReq) MarshalTo

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

func (*AddReq) ProtoMessage

func (*AddReq) ProtoMessage()

func (*AddReq) Reset

func (m *AddReq) Reset()

func (*AddReq) Size

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

func (*AddReq) String

func (this *AddReq) String() string

func (*AddReq) Unmarshal

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

func (*AddReq) VerboseEqual

func (this *AddReq) VerboseEqual(that interface{}) error

type AddRsp

type AddRsp struct {
	Sum int32 `protobuf:"varint,1,opt,name=Sum" json:"Sum"`
}

func (*AddRsp) Descriptor

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

func (*AddRsp) Equal

func (this *AddRsp) Equal(that interface{}) bool

func (*AddRsp) GoString

func (this *AddRsp) GoString() string

func (*AddRsp) Marshal

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

func (*AddRsp) MarshalTo

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

func (*AddRsp) ProtoMessage

func (*AddRsp) ProtoMessage()

func (*AddRsp) Reset

func (m *AddRsp) Reset()

func (*AddRsp) Size

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

func (*AddRsp) String

func (this *AddRsp) String() string

func (*AddRsp) Unmarshal

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

func (*AddRsp) VerboseEqual

func (this *AddRsp) VerboseEqual(that interface{}) error

type ErrReq

type ErrReq struct {
	A int32 `protobuf:"varint,1,opt,name=A" json:"A"`
}

func (*ErrReq) Descriptor

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

func (*ErrReq) Equal

func (this *ErrReq) Equal(that interface{}) bool

func (*ErrReq) GoString

func (this *ErrReq) GoString() string

func (*ErrReq) Marshal

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

func (*ErrReq) MarshalTo

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

func (*ErrReq) ProtoMessage

func (*ErrReq) ProtoMessage()

func (*ErrReq) Reset

func (m *ErrReq) Reset()

func (*ErrReq) Size

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

func (*ErrReq) String

func (this *ErrReq) String() string

func (*ErrReq) Unmarshal

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

func (*ErrReq) VerboseEqual

func (this *ErrReq) VerboseEqual(that interface{}) error

type ErrRsp

type ErrRsp struct {
	A int32 `protobuf:"varint,1,opt,name=A" json:"A"`
}

func (*ErrRsp) Descriptor

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

func (*ErrRsp) Equal

func (this *ErrRsp) Equal(that interface{}) bool

func (*ErrRsp) GoString

func (this *ErrRsp) GoString() string

func (*ErrRsp) Marshal

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

func (*ErrRsp) MarshalTo

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

func (*ErrRsp) ProtoMessage

func (*ErrRsp) ProtoMessage()

func (*ErrRsp) Reset

func (m *ErrRsp) Reset()

func (*ErrRsp) Size

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

func (*ErrRsp) String

func (this *ErrRsp) String() string

func (*ErrRsp) Unmarshal

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

func (*ErrRsp) VerboseEqual

func (this *ErrRsp) VerboseEqual(that interface{}) error

type EventReq

type EventReq struct {
	A string `protobuf:"bytes,1,opt,name=A" json:"A"`
}

func (*EventReq) Descriptor

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

func (*EventReq) Equal

func (this *EventReq) Equal(that interface{}) bool

func (*EventReq) GoString

func (this *EventReq) GoString() string

func (*EventReq) Marshal

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

func (*EventReq) MarshalTo

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

func (*EventReq) ProtoMessage

func (*EventReq) ProtoMessage()

func (*EventReq) Reset

func (m *EventReq) Reset()

func (*EventReq) Size

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

func (*EventReq) String

func (this *EventReq) String() string

func (*EventReq) Unmarshal

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

func (*EventReq) VerboseEqual

func (this *EventReq) VerboseEqual(that interface{}) error

type TestReq

type TestReq struct {
	A string `protobuf:"bytes,1,opt,name=A" json:"A"`
	B string `protobuf:"bytes,2,opt,name=B" json:"B"`
	C string `protobuf:"bytes,3,opt,name=C" json:"C"`
}

func (*TestReq) Descriptor

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

func (*TestReq) Equal

func (this *TestReq) Equal(that interface{}) bool

func (*TestReq) GoString

func (this *TestReq) GoString() string

func (*TestReq) Marshal

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

func (*TestReq) MarshalTo

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

func (*TestReq) ProtoMessage

func (*TestReq) ProtoMessage()

func (*TestReq) Reset

func (m *TestReq) Reset()

func (*TestReq) Size

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

func (*TestReq) String

func (this *TestReq) String() string

func (*TestReq) Unmarshal

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

func (*TestReq) VerboseEqual

func (this *TestReq) VerboseEqual(that interface{}) error

type TestRsp

type TestRsp struct {
	A string `protobuf:"bytes,1,opt,name=A" json:"A"`
}

func (*TestRsp) Descriptor

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

func (*TestRsp) Equal

func (this *TestRsp) Equal(that interface{}) bool

func (*TestRsp) GoString

func (this *TestRsp) GoString() string

func (*TestRsp) Marshal

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

func (*TestRsp) MarshalTo

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

func (*TestRsp) ProtoMessage

func (*TestRsp) ProtoMessage()

func (*TestRsp) Reset

func (m *TestRsp) Reset()

func (*TestRsp) Size

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

func (*TestRsp) String

func (this *TestRsp) String() string

func (*TestRsp) Unmarshal

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

func (*TestRsp) VerboseEqual

func (this *TestRsp) VerboseEqual(that interface{}) error

type TestService

type TestService struct {
	// contains filtered or unexported fields
}

func (*TestService) Add

func (r *TestService) Add(req *AddReq, rsp *AddRsp) error

func (*TestService) Err

func (r *TestService) Err(req *ErrReq, rsp *ErrRsp) error

func (*TestService) Event

func (r *TestService) Event(req *EventReq) error

func (*TestService) Service

func (r *TestService) Service() string

func (*TestService) Test

func (r *TestService) Test(req *TestReq, rsp *TestRsp) error

func (*TestService) Version

func (r *TestService) Version() string

Jump to

Keyboard shortcuts

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