otel: go.opentelemetry.io/otel/example/grpc/api Index | Files

package api

import "go.opentelemetry.io/otel/example/grpc/api"

Index

Package Files

hello-service.pb.go

func RegisterHelloServiceServer Uses

func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer)

type HelloRequest Uses

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

func (*HelloRequest) Descriptor Uses

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

func (*HelloRequest) GetGreeting Uses

func (m *HelloRequest) GetGreeting() string

func (*HelloRequest) ProtoMessage Uses

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) Reset Uses

func (m *HelloRequest) Reset()

func (*HelloRequest) String Uses

func (m *HelloRequest) String() string

func (*HelloRequest) XXX_DiscardUnknown Uses

func (m *HelloRequest) XXX_DiscardUnknown()

func (*HelloRequest) XXX_Marshal Uses

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

func (*HelloRequest) XXX_Merge Uses

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

func (*HelloRequest) XXX_Size Uses

func (m *HelloRequest) XXX_Size() int

func (*HelloRequest) XXX_Unmarshal Uses

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

type HelloResponse Uses

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

func (*HelloResponse) Descriptor Uses

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

func (*HelloResponse) GetReply Uses

func (m *HelloResponse) GetReply() string

func (*HelloResponse) ProtoMessage Uses

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) Reset Uses

func (m *HelloResponse) Reset()

func (*HelloResponse) String Uses

func (m *HelloResponse) String() string

func (*HelloResponse) XXX_DiscardUnknown Uses

func (m *HelloResponse) XXX_DiscardUnknown()

func (*HelloResponse) XXX_Marshal Uses

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

func (*HelloResponse) XXX_Merge Uses

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

func (*HelloResponse) XXX_Size Uses

func (m *HelloResponse) XXX_Size() int

func (*HelloResponse) XXX_Unmarshal Uses

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

type HelloServiceClient Uses

type HelloServiceClient interface {
    SayHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error)
}

HelloServiceClient is the client API for HelloService service.

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

func NewHelloServiceClient Uses

func NewHelloServiceClient(cc *grpc.ClientConn) HelloServiceClient

type HelloServiceServer Uses

type HelloServiceServer interface {
    SayHello(context.Context, *HelloRequest) (*HelloResponse, error)
}

HelloServiceServer is the server API for HelloService service.

type UnimplementedHelloServiceServer Uses

type UnimplementedHelloServiceServer struct {
}

UnimplementedHelloServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHelloServiceServer) SayHello Uses

func (*UnimplementedHelloServiceServer) SayHello(ctx context.Context, req *HelloRequest) (*HelloResponse, error)

Package api imports 7 packages (graph) and is imported by 2 packages. Updated 2019-12-18. Refresh now. Tools for package owners.