svc

package
v0.0.0-...-9c056d5 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSvc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSvc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSvc = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterSvcService

func RegisterSvcService(srv *github_com_containerd_ttrpc.Server, svc SvcService)

Types

type FooRequest

type FooRequest struct {
	S                    string   `protobuf:"bytes,2,opt,name=s,proto3" json:"s,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooRequest) Descriptor

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

func (*FooRequest) Marshal

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

func (*FooRequest) MarshalTo

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

func (*FooRequest) MarshalToSizedBuffer

func (m *FooRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FooRequest) ProtoMessage

func (*FooRequest) ProtoMessage()

func (*FooRequest) Reset

func (m *FooRequest) Reset()

func (*FooRequest) Size

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

func (*FooRequest) String

func (this *FooRequest) String() string

func (*FooRequest) Unmarshal

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

func (*FooRequest) XXX_DiscardUnknown

func (m *FooRequest) XXX_DiscardUnknown()

func (*FooRequest) XXX_Marshal

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

func (*FooRequest) XXX_Merge

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

func (*FooRequest) XXX_Size

func (m *FooRequest) XXX_Size() int

func (*FooRequest) XXX_Unmarshal

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

type FooResponse

type FooResponse struct {
	S                    string   `protobuf:"bytes,2,opt,name=s,proto3" json:"s,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooResponse) Descriptor

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

func (*FooResponse) Marshal

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

func (*FooResponse) MarshalTo

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

func (*FooResponse) MarshalToSizedBuffer

func (m *FooResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FooResponse) ProtoMessage

func (*FooResponse) ProtoMessage()

func (*FooResponse) Reset

func (m *FooResponse) Reset()

func (*FooResponse) Size

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

func (*FooResponse) String

func (this *FooResponse) String() string

func (*FooResponse) Unmarshal

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

func (*FooResponse) XXX_DiscardUnknown

func (m *FooResponse) XXX_DiscardUnknown()

func (*FooResponse) XXX_Marshal

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

func (*FooResponse) XXX_Merge

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

func (*FooResponse) XXX_Size

func (m *FooResponse) XXX_Size() int

func (*FooResponse) XXX_Unmarshal

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

type SvcService

type SvcService interface {
	Foo(ctx context.Context, req *FooRequest) (*FooResponse, error)
}

func NewSvcClient

func NewSvcClient(client *github_com_containerd_ttrpc.Client) SvcService

Jump to

Keyboard shortcuts

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