profile

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2016 License: MIT Imports: 5 Imported by: 4

Documentation

Overview

Package profile is a generated protocol buffer package.

It is generated from these files:

profile.proto

It has these top-level messages:

GetProfileRequest
GetProfileResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProfileServer

func RegisterProfileServer(s *grpc.Server, srv ProfileServer)

Types

type GetProfileRequest

type GetProfileRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

func (*GetProfileRequest) Descriptor

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

func (*GetProfileRequest) GetUserId

func (m *GetProfileRequest) GetUserId() int64

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) Reset

func (m *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (m *GetProfileRequest) String() string

type GetProfileResponse

type GetProfileResponse struct {
	UserId  int64    `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Name    string   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Company string   `protobuf:"bytes,3,opt,name=company" json:"company,omitempty"`
	Title   string   `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	Feeds   [][]byte `protobuf:"bytes,5,rep,name=feeds,proto3" json:"feeds,omitempty"`
}

func (*GetProfileResponse) Descriptor

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

func (*GetProfileResponse) GetCompany

func (m *GetProfileResponse) GetCompany() string

func (*GetProfileResponse) GetFeeds

func (m *GetProfileResponse) GetFeeds() [][]byte

func (*GetProfileResponse) GetName

func (m *GetProfileResponse) GetName() string

func (*GetProfileResponse) GetTitle

func (m *GetProfileResponse) GetTitle() string

func (*GetProfileResponse) GetUserId

func (m *GetProfileResponse) GetUserId() int64

func (*GetProfileResponse) ProtoMessage

func (*GetProfileResponse) ProtoMessage()

func (*GetProfileResponse) Reset

func (m *GetProfileResponse) Reset()

func (*GetProfileResponse) String

func (m *GetProfileResponse) String() string

type ProfileClient

type ProfileClient interface {
	GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error)
}

func NewProfileClient

func NewProfileClient(cc *grpc.ClientConn) ProfileClient

type ProfileServer

type ProfileServer interface {
	GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
}

Jump to

Keyboard shortcuts

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