user_srv

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterUsersHandler

func RegisterUsersHandler(s server.Server, hdlr UsersHandler, opts ...server.HandlerOption) error

Types

type ActivateRequest added in v0.3.0

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

func (*ActivateRequest) Descriptor added in v0.3.0

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

func (*ActivateRequest) GetEmail added in v0.3.0

func (m *ActivateRequest) GetEmail() string

func (*ActivateRequest) ProtoMessage added in v0.3.0

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) Reset added in v0.3.0

func (m *ActivateRequest) Reset()

func (*ActivateRequest) String added in v0.3.0

func (m *ActivateRequest) String() string

func (*ActivateRequest) XXX_DiscardUnknown added in v0.3.0

func (m *ActivateRequest) XXX_DiscardUnknown()

func (*ActivateRequest) XXX_Marshal added in v0.3.0

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

func (*ActivateRequest) XXX_Merge added in v0.3.0

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

func (*ActivateRequest) XXX_Size added in v0.3.0

func (m *ActivateRequest) XXX_Size() int

func (*ActivateRequest) XXX_Unmarshal added in v0.3.0

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

type ActivateResponse added in v0.3.0

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

func (*ActivateResponse) Descriptor added in v0.3.0

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

func (*ActivateResponse) GetMessage added in v0.3.0

func (m *ActivateResponse) GetMessage() string

func (*ActivateResponse) ProtoMessage added in v0.3.0

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) Reset added in v0.3.0

func (m *ActivateResponse) Reset()

func (*ActivateResponse) String added in v0.3.0

func (m *ActivateResponse) String() string

func (*ActivateResponse) XXX_DiscardUnknown added in v0.3.0

func (m *ActivateResponse) XXX_DiscardUnknown()

func (*ActivateResponse) XXX_Marshal added in v0.3.0

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

func (*ActivateResponse) XXX_Merge added in v0.3.0

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

func (*ActivateResponse) XXX_Size added in v0.3.0

func (m *ActivateResponse) XXX_Size() int

func (*ActivateResponse) XXX_Unmarshal added in v0.3.0

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

type AddRequest

type AddRequest struct {
	MainData             *UserMain  `protobuf:"bytes,1,opt,name=mainData,proto3" json:"mainData,omitempty"`
	ExtraData            *UserExtra `protobuf:"bytes,2,opt,name=extraData,proto3" json:"extraData,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*AddRequest) Descriptor

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

func (*AddRequest) GetExtraData

func (m *AddRequest) GetExtraData() *UserExtra

func (*AddRequest) GetMainData

func (m *AddRequest) GetMainData() *UserMain

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 {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddResponse) Descriptor

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

func (*AddResponse) GetMessage

func (m *AddResponse) GetMessage() string

func (*AddResponse) GetUserID

func (m *AddResponse) GetUserID() string

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 AuthRequest

type AuthRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Email                string   `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password             string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthRequest) Descriptor

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

func (*AuthRequest) GetEmail

func (m *AuthRequest) GetEmail() string

func (*AuthRequest) GetPassword

func (m *AuthRequest) GetPassword() string

func (*AuthRequest) GetUsername

func (m *AuthRequest) GetUsername() string

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) Reset

func (m *AuthRequest) Reset()

func (*AuthRequest) String

func (m *AuthRequest) String() string

func (*AuthRequest) XXX_DiscardUnknown

func (m *AuthRequest) XXX_DiscardUnknown()

func (*AuthRequest) XXX_Marshal

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

func (*AuthRequest) XXX_Merge

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

func (*AuthRequest) XXX_Size

func (m *AuthRequest) XXX_Size() int

func (*AuthRequest) XXX_Unmarshal

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

type AuthResponse

type AuthResponse struct {
	Valid                bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	UserID               string   `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthResponse) Descriptor

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

func (*AuthResponse) GetMessage

func (m *AuthResponse) GetMessage() string

func (*AuthResponse) GetUserID

func (m *AuthResponse) GetUserID() string

func (*AuthResponse) GetValid

func (m *AuthResponse) GetValid() bool

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) Reset

func (m *AuthResponse) Reset()

func (*AuthResponse) String

func (m *AuthResponse) String() string

func (*AuthResponse) XXX_DiscardUnknown

func (m *AuthResponse) XXX_DiscardUnknown()

func (*AuthResponse) XXX_Marshal

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

func (*AuthResponse) XXX_Merge

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

func (*AuthResponse) XXX_Size

func (m *AuthResponse) XXX_Size() int

func (*AuthResponse) XXX_Unmarshal

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

type DeleteRequest

type DeleteRequest struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password             string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Delete Function

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetPassword

func (m *DeleteRequest) GetPassword() string

func (*DeleteRequest) GetUserID

func (m *DeleteRequest) GetUserID() string

func (*DeleteRequest) GetUsername

func (m *DeleteRequest) GetUsername() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

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

func (*DeleteRequest) XXX_Merge

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

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

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

type DeleteResponse

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

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) GetMessage

func (m *DeleteResponse) GetMessage() string

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) XXX_DiscardUnknown

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal

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

func (*DeleteResponse) XXX_Merge

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

func (*DeleteResponse) XXX_Size

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal

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

type GetByUsernameOrEmailRequest

type GetByUsernameOrEmailRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Email                string   `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetByUsernameOrEmailRequest) Descriptor

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

func (*GetByUsernameOrEmailRequest) GetEmail

func (m *GetByUsernameOrEmailRequest) GetEmail() string

func (*GetByUsernameOrEmailRequest) GetUsername

func (m *GetByUsernameOrEmailRequest) GetUsername() string

func (*GetByUsernameOrEmailRequest) ProtoMessage

func (*GetByUsernameOrEmailRequest) ProtoMessage()

func (*GetByUsernameOrEmailRequest) Reset

func (m *GetByUsernameOrEmailRequest) Reset()

func (*GetByUsernameOrEmailRequest) String

func (m *GetByUsernameOrEmailRequest) String() string

func (*GetByUsernameOrEmailRequest) XXX_DiscardUnknown

func (m *GetByUsernameOrEmailRequest) XXX_DiscardUnknown()

func (*GetByUsernameOrEmailRequest) XXX_Marshal

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

func (*GetByUsernameOrEmailRequest) XXX_Merge

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

func (*GetByUsernameOrEmailRequest) XXX_Size

func (m *GetByUsernameOrEmailRequest) XXX_Size() int

func (*GetByUsernameOrEmailRequest) XXX_Unmarshal

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

type GetRequest

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

func (*GetRequest) Descriptor

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

func (*GetRequest) GetUserID

func (m *GetRequest) GetUserID() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

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

func (*GetRequest) XXX_Merge

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

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

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

type UpdateExtraRequest added in v0.6.0

type UpdateExtraRequest struct {
	UserID               string     `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Update               *UserExtra `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UpdateExtraRequest) Descriptor added in v0.6.0

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

func (*UpdateExtraRequest) GetUpdate added in v0.6.0

func (m *UpdateExtraRequest) GetUpdate() *UserExtra

func (*UpdateExtraRequest) GetUserID added in v0.6.0

func (m *UpdateExtraRequest) GetUserID() string

func (*UpdateExtraRequest) ProtoMessage added in v0.6.0

func (*UpdateExtraRequest) ProtoMessage()

func (*UpdateExtraRequest) Reset added in v0.6.0

func (m *UpdateExtraRequest) Reset()

func (*UpdateExtraRequest) String added in v0.6.0

func (m *UpdateExtraRequest) String() string

func (*UpdateExtraRequest) XXX_DiscardUnknown added in v0.6.0

func (m *UpdateExtraRequest) XXX_DiscardUnknown()

func (*UpdateExtraRequest) XXX_Marshal added in v0.6.0

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

func (*UpdateExtraRequest) XXX_Merge added in v0.6.0

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

func (*UpdateExtraRequest) XXX_Size added in v0.6.0

func (m *UpdateExtraRequest) XXX_Size() int

func (*UpdateExtraRequest) XXX_Unmarshal added in v0.6.0

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

type UpdateRequest

type UpdateRequest struct {
	UserID               string    `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Update               *UserMain `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*UpdateRequest) Descriptor

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

func (*UpdateRequest) GetUpdate

func (m *UpdateRequest) GetUpdate() *UserMain

func (*UpdateRequest) GetUserID

func (m *UpdateRequest) GetUserID() string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

func (*UpdateRequest) XXX_DiscardUnknown

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal

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

func (*UpdateRequest) XXX_Merge

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

func (*UpdateRequest) XXX_Size

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal

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

type UpdateResponse

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

func (*UpdateResponse) Descriptor

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

func (*UpdateResponse) GetMessage

func (m *UpdateResponse) GetMessage() string

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

func (*UpdateResponse) XXX_DiscardUnknown

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal

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

func (*UpdateResponse) XXX_Merge

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

func (*UpdateResponse) XXX_Size

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal

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

type UserExtra

type UserExtra struct {
	UserId               string   `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	FirstName            string   `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"`
	LastName             string   `protobuf:"bytes,3,opt,name=lastName,proto3" json:"lastName,omitempty"`
	Gender               string   `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
	BirthdayUTC          int64    `protobuf:"varint,5,opt,name=birthdayUTC,proto3" json:"birthdayUTC,omitempty"`
	Message              string   `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserExtra) Descriptor

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

func (*UserExtra) GetBirthdayUTC

func (m *UserExtra) GetBirthdayUTC() int64

func (*UserExtra) GetFirstName

func (m *UserExtra) GetFirstName() string

func (*UserExtra) GetGender

func (m *UserExtra) GetGender() string

func (*UserExtra) GetLastName

func (m *UserExtra) GetLastName() string

func (*UserExtra) GetMessage

func (m *UserExtra) GetMessage() string

func (*UserExtra) GetUserId

func (m *UserExtra) GetUserId() string

func (*UserExtra) ProtoMessage

func (*UserExtra) ProtoMessage()

func (*UserExtra) Reset

func (m *UserExtra) Reset()

func (*UserExtra) String

func (m *UserExtra) String() string

func (*UserExtra) XXX_DiscardUnknown

func (m *UserExtra) XXX_DiscardUnknown()

func (*UserExtra) XXX_Marshal

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

func (*UserExtra) XXX_Merge

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

func (*UserExtra) XXX_Size

func (m *UserExtra) XXX_Size() int

func (*UserExtra) XXX_Unmarshal

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

type UserMain

type UserMain struct {
	UserID               string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Email                string   `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Password             string   `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Message              string   `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserMain) Descriptor

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

func (*UserMain) GetEmail

func (m *UserMain) GetEmail() string

func (*UserMain) GetMessage

func (m *UserMain) GetMessage() string

func (*UserMain) GetPassword

func (m *UserMain) GetPassword() string

func (*UserMain) GetUserID

func (m *UserMain) GetUserID() string

func (*UserMain) GetUsername

func (m *UserMain) GetUsername() string

func (*UserMain) ProtoMessage

func (*UserMain) ProtoMessage()

func (*UserMain) Reset

func (m *UserMain) Reset()

func (*UserMain) String

func (m *UserMain) String() string

func (*UserMain) XXX_DiscardUnknown

func (m *UserMain) XXX_DiscardUnknown()

func (*UserMain) XXX_Marshal

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

func (*UserMain) XXX_Merge

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

func (*UserMain) XXX_Size

func (m *UserMain) XXX_Size() int

func (*UserMain) XXX_Unmarshal

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

type UsersService

type UsersService interface {
	Add(ctx context.Context, in *AddRequest, opts ...client.CallOption) (*AddResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*UserMain, error)
	GetExtra(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*UserExtra, error)
	GetByUsernameOrEmail(ctx context.Context, in *GetByUsernameOrEmailRequest, opts ...client.CallOption) (*UserMain, error)
	Auth(ctx context.Context, in *AuthRequest, opts ...client.CallOption) (*AuthResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...client.CallOption) (*UpdateResponse, error)
	UpdateExtra(ctx context.Context, in *UpdateExtraRequest, opts ...client.CallOption) (*UpdateResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error)
	Activate(ctx context.Context, in *ActivateRequest, opts ...client.CallOption) (*ActivateResponse, error)
}

func NewUsersService

func NewUsersService(name string, c client.Client) UsersService

Jump to

Keyboard shortcuts

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