ProtoHistoryUserLogin

package
v0.0.0-...-8e1814b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProtoHistoryUserLoginHandler

func RegisterProtoHistoryUserLoginHandler(s server.Server, hdlr ProtoHistoryUserLoginHandler, opts ...server.HandlerOption) error

Types

type AddRequest

type AddRequest struct {
	User                 *proto1.User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"`
	GeoRemoteAddr        string       `protobuf:"bytes,2,opt,name=GeoRemoteAddr,proto3" json:"GeoRemoteAddr,omitempty"`
	GeoCountry           string       `protobuf:"bytes,3,opt,name=GeoCountry,proto3" json:"GeoCountry,omitempty"`
	GeoCity              string       `protobuf:"bytes,4,opt,name=GeoCity,proto3" json:"GeoCity,omitempty"`
	DeviceDetector       string       `protobuf:"bytes,5,opt,name=DeviceDetector,proto3" json:"DeviceDetector,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*AddRequest) Descriptor

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

func (*AddRequest) GetDeviceDetector

func (m *AddRequest) GetDeviceDetector() string

func (*AddRequest) GetGeoCity

func (m *AddRequest) GetGeoCity() string

func (*AddRequest) GetGeoCountry

func (m *AddRequest) GetGeoCountry() string

func (*AddRequest) GetGeoRemoteAddr

func (m *AddRequest) GetGeoRemoteAddr() string

func (*AddRequest) GetUser

func (m *AddRequest) GetUser() *proto1.User

func (*AddRequest) ProtoMessage

func (*AddRequest) ProtoMessage()

func (*AddRequest) Reset

func (m *AddRequest) Reset()

func (*AddRequest) String

func (m *AddRequest) String() string

func (*AddRequest) XXX_DiscardUnknown

func (m *AddRequest) XXX_DiscardUnknown()

func (*AddRequest) XXX_Marshal

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

func (*AddRequest) XXX_Merge

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

func (*AddRequest) XXX_Size

func (m *AddRequest) XXX_Size() int

func (*AddRequest) XXX_Unmarshal

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

type AddResponse

type AddResponse struct {
	NewID                int64    `protobuf:"varint,1,opt,name=NewID,proto3" json:"NewID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddResponse) Descriptor

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

func (*AddResponse) GetNewID

func (m *AddResponse) GetNewID() int64

func (*AddResponse) ProtoMessage

func (*AddResponse) ProtoMessage()

func (*AddResponse) Reset

func (m *AddResponse) Reset()

func (*AddResponse) String

func (m *AddResponse) String() string

func (*AddResponse) XXX_DiscardUnknown

func (m *AddResponse) XXX_DiscardUnknown()

func (*AddResponse) XXX_Marshal

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

func (*AddResponse) XXX_Merge

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

func (*AddResponse) XXX_Size

func (m *AddResponse) XXX_Size() int

func (*AddResponse) XXX_Unmarshal

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

type ProtoHistoryUserLoginHandler

type ProtoHistoryUserLoginHandler interface {
	// 添回一条记录
	Add(context.Context, *AddRequest, *AddResponse) error
}

type ProtoHistoryUserLoginService

type ProtoHistoryUserLoginService interface {
	// 添回一条记录
	Add(ctx context.Context, in *AddRequest, opts ...client.CallOption) (*AddResponse, error)
}

func NewProtoHistoryUserLoginService

func NewProtoHistoryUserLoginService(name string, c client.Client) ProtoHistoryUserLoginService

Jump to

Keyboard shortcuts

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