go-agent: github.com/newrelic/go-agent/v3/integrations/nrmicro/example/proto Index | Files

package greeter

import "github.com/newrelic/go-agent/v3/integrations/nrmicro/example/proto"

Index

Package Files

greeter.micro.go greeter.pb.go

func RegisterGreeterHandler Uses

func RegisterGreeterHandler(s server.Server, hdlr GreeterHandler, opts ...server.HandlerOption) error

type GreeterHandler Uses

type GreeterHandler interface {
    Hello(context.Context, *HelloRequest, *HelloResponse) error
}

type GreeterService Uses

type GreeterService interface {
    Hello(ctx context.Context, in *HelloRequest, opts ...client.CallOption) (*HelloResponse, error)
}

func NewGreeterService Uses

func NewGreeterService(name string, c client.Client) GreeterService

type HelloRequest Uses

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

func (*HelloRequest) Descriptor Uses

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

func (*HelloRequest) GetName Uses

func (m *HelloRequest) GetName() 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 {
    Greeting             string   `protobuf:"bytes,2,opt,name=greeting,proto3" json:"greeting,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*HelloResponse) Descriptor Uses

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

func (*HelloResponse) GetGreeting Uses

func (m *HelloResponse) GetGreeting() 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

Package greeter imports 6 packages (graph) and is imported by 3 packages. Updated 2020-07-07. Refresh now. Tools for package owners.