v1

package
v0.0.0-...-b3a6344 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSignupServiceServer

func RegisterSignupServiceServer(s *grpc.Server, srv SignupServiceServer)

Types

type CreateSignupRequest

type CreateSignupRequest struct {
	Signup               *Signup  `protobuf:"bytes,1,opt,name=signup,proto3" json:"signup,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateSignupRequest) Descriptor

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

func (*CreateSignupRequest) GetSignup

func (m *CreateSignupRequest) GetSignup() *Signup

func (*CreateSignupRequest) ProtoMessage

func (*CreateSignupRequest) ProtoMessage()

func (*CreateSignupRequest) Reset

func (m *CreateSignupRequest) Reset()

func (*CreateSignupRequest) String

func (m *CreateSignupRequest) String() string

func (*CreateSignupRequest) XXX_DiscardUnknown

func (m *CreateSignupRequest) XXX_DiscardUnknown()

func (*CreateSignupRequest) XXX_Marshal

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

func (*CreateSignupRequest) XXX_Merge

func (dst *CreateSignupRequest) XXX_Merge(src proto.Message)

func (*CreateSignupRequest) XXX_Size

func (m *CreateSignupRequest) XXX_Size() int

func (*CreateSignupRequest) XXX_Unmarshal

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

type Signup

type Signup struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FistName             string   `protobuf:"bytes,2,opt,name=fist_name,json=fistName,proto3" json:"fist_name,omitempty"`
	LastName             string   `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email                string   `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Username             string   `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Password             string   `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	Status               int64    `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Signup) Descriptor

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

func (*Signup) GetEmail

func (m *Signup) GetEmail() string

func (*Signup) GetFistName

func (m *Signup) GetFistName() string

func (*Signup) GetId

func (m *Signup) GetId() int64

func (*Signup) GetLastName

func (m *Signup) GetLastName() string

func (*Signup) GetPassword

func (m *Signup) GetPassword() string

func (*Signup) GetStatus

func (m *Signup) GetStatus() int64

func (*Signup) GetUsername

func (m *Signup) GetUsername() string

func (*Signup) ProtoMessage

func (*Signup) ProtoMessage()

func (*Signup) Reset

func (m *Signup) Reset()

func (*Signup) String

func (m *Signup) String() string

func (*Signup) XXX_DiscardUnknown

func (m *Signup) XXX_DiscardUnknown()

func (*Signup) XXX_Marshal

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

func (*Signup) XXX_Merge

func (dst *Signup) XXX_Merge(src proto.Message)

func (*Signup) XXX_Size

func (m *Signup) XXX_Size() int

func (*Signup) XXX_Unmarshal

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

type SignupServiceClient

type SignupServiceClient interface {
	CreateSignup(ctx context.Context, in *CreateSignupRequest, opts ...grpc.CallOption) (*Signup, error)
}

SignupServiceClient is the client API for SignupService service.

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

func NewSignupServiceClient

func NewSignupServiceClient(cc *grpc.ClientConn) SignupServiceClient

type SignupServiceServer

type SignupServiceServer interface {
	CreateSignup(context.Context, *CreateSignupRequest) (*Signup, error)
}

SignupServiceServer is the server API for SignupService service.

Jump to

Keyboard shortcuts

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