accounts

package
v0.0.0-...-be3d2a3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2022 Evan Hazlett

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccounts        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccounts          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccounts = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterAccountsServer

func RegisterAccountsServer(s *grpc.Server, srv AccountsServer)

Types

type Account

type Account struct {
	ID        string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	Admin     bool      `protobuf:"varint,3,opt,name=admin,proto3" json:"admin,omitempty"`
	Username  string    `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	FirstName string    `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string    `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email     string    `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	// password is only used in account creation and password resets
	// and is hashed with bcrypt and then cleared and never stored
	Password             string   `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	PasswordCrypt        []byte   `protobuf:"bytes,9,opt,name=password_crypt,json=passwordCrypt,proto3" json:"password_crypt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAdmin

func (m *Account) GetAdmin() bool

func (*Account) GetCreatedAt

func (m *Account) GetCreatedAt() time.Time

func (*Account) GetEmail

func (m *Account) GetEmail() string

func (*Account) GetFirstName

func (m *Account) GetFirstName() string

func (*Account) GetID

func (m *Account) GetID() string

func (*Account) GetLastName

func (m *Account) GetLastName() string

func (*Account) GetPassword

func (m *Account) GetPassword() string

func (*Account) GetPasswordCrypt

func (m *Account) GetPasswordCrypt() []byte

func (*Account) GetUsername

func (m *Account) GetUsername() string

func (*Account) Marshal

func (m *Account) Marshal() (dAtA []byte, err error)

func (*Account) MarshalTo

func (m *Account) MarshalTo(dAtA []byte) (int, error)

func (*Account) MarshalToSizedBuffer

func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) Size

func (m *Account) Size() (n int)

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

func (m *Account) Unmarshal(dAtA []byte) error

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountsClient

type AccountsClient interface {
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*types.Empty, error)
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error)
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*types.Empty, error)
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*types.Empty, error)
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	GetAccountProfile(ctx context.Context, in *GetAccountProfileRequest, opts ...grpc.CallOption) (*GetAccountProfileResponse, error)
}

AccountsClient is the client API for Accounts service.

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

func NewAccountsClient

func NewAccountsClient(cc *grpc.ClientConn) AccountsClient

type AccountsServer

AccountsServer is the server API for Accounts service.

type AuthenticateRequest

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

func (*AuthenticateRequest) Descriptor

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

func (*AuthenticateRequest) GetPassword

func (m *AuthenticateRequest) GetPassword() []byte

func (*AuthenticateRequest) GetUsername

func (m *AuthenticateRequest) GetUsername() string

func (*AuthenticateRequest) Marshal

func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error)

func (*AuthenticateRequest) MarshalTo

func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticateRequest) MarshalToSizedBuffer

func (m *AuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) Reset

func (m *AuthenticateRequest) Reset()

func (*AuthenticateRequest) Size

func (m *AuthenticateRequest) Size() (n int)

func (*AuthenticateRequest) String

func (m *AuthenticateRequest) String() string

func (*AuthenticateRequest) Unmarshal

func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error

func (*AuthenticateRequest) XXX_DiscardUnknown

func (m *AuthenticateRequest) XXX_DiscardUnknown()

func (*AuthenticateRequest) XXX_Marshal

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

func (*AuthenticateRequest) XXX_Merge

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

func (*AuthenticateRequest) XXX_Size

func (m *AuthenticateRequest) XXX_Size() int

func (*AuthenticateRequest) XXX_Unmarshal

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

type AuthenticateResponse

type AuthenticateResponse struct {
	Account              *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Config               []byte   `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthenticateResponse) Descriptor

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

func (*AuthenticateResponse) GetAccount

func (m *AuthenticateResponse) GetAccount() *Account

func (*AuthenticateResponse) GetConfig

func (m *AuthenticateResponse) GetConfig() []byte

func (*AuthenticateResponse) Marshal

func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error)

func (*AuthenticateResponse) MarshalTo

func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticateResponse) MarshalToSizedBuffer

func (m *AuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) Reset

func (m *AuthenticateResponse) Reset()

func (*AuthenticateResponse) Size

func (m *AuthenticateResponse) Size() (n int)

func (*AuthenticateResponse) String

func (m *AuthenticateResponse) String() string

func (*AuthenticateResponse) Unmarshal

func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error

func (*AuthenticateResponse) XXX_DiscardUnknown

func (m *AuthenticateResponse) XXX_DiscardUnknown()

func (*AuthenticateResponse) XXX_Marshal

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

func (*AuthenticateResponse) XXX_Merge

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

func (*AuthenticateResponse) XXX_Size

func (m *AuthenticateResponse) XXX_Size() int

func (*AuthenticateResponse) XXX_Unmarshal

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

type ChangePasswordRequest

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

func (*ChangePasswordRequest) Descriptor

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

func (*ChangePasswordRequest) GetPassword

func (m *ChangePasswordRequest) GetPassword() []byte

func (*ChangePasswordRequest) GetUsername

func (m *ChangePasswordRequest) GetUsername() string

func (*ChangePasswordRequest) Marshal

func (m *ChangePasswordRequest) Marshal() (dAtA []byte, err error)

func (*ChangePasswordRequest) MarshalTo

func (m *ChangePasswordRequest) MarshalTo(dAtA []byte) (int, error)

func (*ChangePasswordRequest) MarshalToSizedBuffer

func (m *ChangePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) Reset

func (m *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) Size

func (m *ChangePasswordRequest) Size() (n int)

func (*ChangePasswordRequest) String

func (m *ChangePasswordRequest) String() string

func (*ChangePasswordRequest) Unmarshal

func (m *ChangePasswordRequest) Unmarshal(dAtA []byte) error

func (*ChangePasswordRequest) XXX_DiscardUnknown

func (m *ChangePasswordRequest) XXX_DiscardUnknown()

func (*ChangePasswordRequest) XXX_Marshal

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

func (*ChangePasswordRequest) XXX_Merge

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

func (*ChangePasswordRequest) XXX_Size

func (m *ChangePasswordRequest) XXX_Size() int

func (*ChangePasswordRequest) XXX_Unmarshal

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

type CreateAccountRequest

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

func (*CreateAccountRequest) Descriptor

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

func (*CreateAccountRequest) GetAccount

func (m *CreateAccountRequest) GetAccount() *Account

func (*CreateAccountRequest) Marshal

func (m *CreateAccountRequest) Marshal() (dAtA []byte, err error)

func (*CreateAccountRequest) MarshalTo

func (m *CreateAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateAccountRequest) MarshalToSizedBuffer

func (m *CreateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) Reset

func (m *CreateAccountRequest) Reset()

func (*CreateAccountRequest) Size

func (m *CreateAccountRequest) Size() (n int)

func (*CreateAccountRequest) String

func (m *CreateAccountRequest) String() string

func (*CreateAccountRequest) Unmarshal

func (m *CreateAccountRequest) Unmarshal(dAtA []byte) error

func (*CreateAccountRequest) XXX_DiscardUnknown

func (m *CreateAccountRequest) XXX_DiscardUnknown()

func (*CreateAccountRequest) XXX_Marshal

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

func (*CreateAccountRequest) XXX_Merge

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

func (*CreateAccountRequest) XXX_Size

func (m *CreateAccountRequest) XXX_Size() int

func (*CreateAccountRequest) XXX_Unmarshal

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

type DeleteAccountRequest

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

func (*DeleteAccountRequest) Descriptor

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

func (*DeleteAccountRequest) GetID

func (m *DeleteAccountRequest) GetID() string

func (*DeleteAccountRequest) Marshal

func (m *DeleteAccountRequest) Marshal() (dAtA []byte, err error)

func (*DeleteAccountRequest) MarshalTo

func (m *DeleteAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteAccountRequest) MarshalToSizedBuffer

func (m *DeleteAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) Reset

func (m *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) Size

func (m *DeleteAccountRequest) Size() (n int)

func (*DeleteAccountRequest) String

func (m *DeleteAccountRequest) String() string

func (*DeleteAccountRequest) Unmarshal

func (m *DeleteAccountRequest) Unmarshal(dAtA []byte) error

func (*DeleteAccountRequest) XXX_DiscardUnknown

func (m *DeleteAccountRequest) XXX_DiscardUnknown()

func (*DeleteAccountRequest) XXX_Marshal

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

func (*DeleteAccountRequest) XXX_Merge

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

func (*DeleteAccountRequest) XXX_Size

func (m *DeleteAccountRequest) XXX_Size() int

func (*DeleteAccountRequest) XXX_Unmarshal

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

type GetAccountProfileRequest

type GetAccountProfileRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountProfileRequest) Descriptor

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

func (*GetAccountProfileRequest) Marshal

func (m *GetAccountProfileRequest) Marshal() (dAtA []byte, err error)

func (*GetAccountProfileRequest) MarshalTo

func (m *GetAccountProfileRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountProfileRequest) MarshalToSizedBuffer

func (m *GetAccountProfileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountProfileRequest) ProtoMessage

func (*GetAccountProfileRequest) ProtoMessage()

func (*GetAccountProfileRequest) Reset

func (m *GetAccountProfileRequest) Reset()

func (*GetAccountProfileRequest) Size

func (m *GetAccountProfileRequest) Size() (n int)

func (*GetAccountProfileRequest) String

func (m *GetAccountProfileRequest) String() string

func (*GetAccountProfileRequest) Unmarshal

func (m *GetAccountProfileRequest) Unmarshal(dAtA []byte) error

func (*GetAccountProfileRequest) XXX_DiscardUnknown

func (m *GetAccountProfileRequest) XXX_DiscardUnknown()

func (*GetAccountProfileRequest) XXX_Marshal

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

func (*GetAccountProfileRequest) XXX_Merge

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

func (*GetAccountProfileRequest) XXX_Size

func (m *GetAccountProfileRequest) XXX_Size() int

func (*GetAccountProfileRequest) XXX_Unmarshal

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

type GetAccountProfileResponse

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

func (*GetAccountProfileResponse) Descriptor

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

func (*GetAccountProfileResponse) GetAccount

func (m *GetAccountProfileResponse) GetAccount() *Account

func (*GetAccountProfileResponse) Marshal

func (m *GetAccountProfileResponse) Marshal() (dAtA []byte, err error)

func (*GetAccountProfileResponse) MarshalTo

func (m *GetAccountProfileResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountProfileResponse) MarshalToSizedBuffer

func (m *GetAccountProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountProfileResponse) ProtoMessage

func (*GetAccountProfileResponse) ProtoMessage()

func (*GetAccountProfileResponse) Reset

func (m *GetAccountProfileResponse) Reset()

func (*GetAccountProfileResponse) Size

func (m *GetAccountProfileResponse) Size() (n int)

func (*GetAccountProfileResponse) String

func (m *GetAccountProfileResponse) String() string

func (*GetAccountProfileResponse) Unmarshal

func (m *GetAccountProfileResponse) Unmarshal(dAtA []byte) error

func (*GetAccountProfileResponse) XXX_DiscardUnknown

func (m *GetAccountProfileResponse) XXX_DiscardUnknown()

func (*GetAccountProfileResponse) XXX_Marshal

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

func (*GetAccountProfileResponse) XXX_Merge

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

func (*GetAccountProfileResponse) XXX_Size

func (m *GetAccountProfileResponse) XXX_Size() int

func (*GetAccountProfileResponse) XXX_Unmarshal

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

type GetAccountRequest

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

func (*GetAccountRequest) Descriptor

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

func (*GetAccountRequest) GetUsername

func (m *GetAccountRequest) GetUsername() string

func (*GetAccountRequest) Marshal

func (m *GetAccountRequest) Marshal() (dAtA []byte, err error)

func (*GetAccountRequest) MarshalTo

func (m *GetAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountRequest) MarshalToSizedBuffer

func (m *GetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) Reset

func (m *GetAccountRequest) Reset()

func (*GetAccountRequest) Size

func (m *GetAccountRequest) Size() (n int)

func (*GetAccountRequest) String

func (m *GetAccountRequest) String() string

func (*GetAccountRequest) Unmarshal

func (m *GetAccountRequest) Unmarshal(dAtA []byte) error

func (*GetAccountRequest) XXX_DiscardUnknown

func (m *GetAccountRequest) XXX_DiscardUnknown()

func (*GetAccountRequest) XXX_Marshal

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

func (*GetAccountRequest) XXX_Merge

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

func (*GetAccountRequest) XXX_Size

func (m *GetAccountRequest) XXX_Size() int

func (*GetAccountRequest) XXX_Unmarshal

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

type GetAccountResponse

type GetAccountResponse struct {
	Account              *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountResponse) Descriptor

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

func (*GetAccountResponse) GetAccount

func (m *GetAccountResponse) GetAccount() *Account

func (*GetAccountResponse) Marshal

func (m *GetAccountResponse) Marshal() (dAtA []byte, err error)

func (*GetAccountResponse) MarshalTo

func (m *GetAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountResponse) MarshalToSizedBuffer

func (m *GetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountResponse) ProtoMessage

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) Reset

func (m *GetAccountResponse) Reset()

func (*GetAccountResponse) Size

func (m *GetAccountResponse) Size() (n int)

func (*GetAccountResponse) String

func (m *GetAccountResponse) String() string

func (*GetAccountResponse) Unmarshal

func (m *GetAccountResponse) Unmarshal(dAtA []byte) error

func (*GetAccountResponse) XXX_DiscardUnknown

func (m *GetAccountResponse) XXX_DiscardUnknown()

func (*GetAccountResponse) XXX_Marshal

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

func (*GetAccountResponse) XXX_Merge

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

func (*GetAccountResponse) XXX_Size

func (m *GetAccountResponse) XXX_Size() int

func (*GetAccountResponse) XXX_Unmarshal

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

type ListAccountsRequest

type ListAccountsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsRequest) Descriptor

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

func (*ListAccountsRequest) Marshal

func (m *ListAccountsRequest) Marshal() (dAtA []byte, err error)

func (*ListAccountsRequest) MarshalTo

func (m *ListAccountsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsRequest) MarshalToSizedBuffer

func (m *ListAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) Reset

func (m *ListAccountsRequest) Reset()

func (*ListAccountsRequest) Size

func (m *ListAccountsRequest) Size() (n int)

func (*ListAccountsRequest) String

func (m *ListAccountsRequest) String() string

func (*ListAccountsRequest) Unmarshal

func (m *ListAccountsRequest) Unmarshal(dAtA []byte) error

func (*ListAccountsRequest) XXX_DiscardUnknown

func (m *ListAccountsRequest) XXX_DiscardUnknown()

func (*ListAccountsRequest) XXX_Marshal

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

func (*ListAccountsRequest) XXX_Merge

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

func (*ListAccountsRequest) XXX_Size

func (m *ListAccountsRequest) XXX_Size() int

func (*ListAccountsRequest) XXX_Unmarshal

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

type ListAccountsResponse

type ListAccountsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsResponse) Descriptor

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

func (*ListAccountsResponse) Marshal

func (m *ListAccountsResponse) Marshal() (dAtA []byte, err error)

func (*ListAccountsResponse) MarshalTo

func (m *ListAccountsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsResponse) MarshalToSizedBuffer

func (m *ListAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) Reset

func (m *ListAccountsResponse) Reset()

func (*ListAccountsResponse) Size

func (m *ListAccountsResponse) Size() (n int)

func (*ListAccountsResponse) String

func (m *ListAccountsResponse) String() string

func (*ListAccountsResponse) Unmarshal

func (m *ListAccountsResponse) Unmarshal(dAtA []byte) error

func (*ListAccountsResponse) XXX_DiscardUnknown

func (m *ListAccountsResponse) XXX_DiscardUnknown()

func (*ListAccountsResponse) XXX_Marshal

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

func (*ListAccountsResponse) XXX_Merge

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

func (*ListAccountsResponse) XXX_Size

func (m *ListAccountsResponse) XXX_Size() int

func (*ListAccountsResponse) XXX_Unmarshal

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

type UnimplementedAccountsServer

type UnimplementedAccountsServer struct {
}

UnimplementedAccountsServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountsServer) Authenticate

func (*UnimplementedAccountsServer) ChangePassword

func (*UnimplementedAccountsServer) CreateAccount

func (*UnimplementedAccountsServer) DeleteAccount

func (*UnimplementedAccountsServer) GetAccount

func (*UnimplementedAccountsServer) GetAccountProfile

func (*UnimplementedAccountsServer) ListAccounts

func (*UnimplementedAccountsServer) UpdateAccount

type UpdateAccountRequest

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

func (*UpdateAccountRequest) Descriptor

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

func (*UpdateAccountRequest) GetAccount

func (m *UpdateAccountRequest) GetAccount() *Account

func (*UpdateAccountRequest) Marshal

func (m *UpdateAccountRequest) Marshal() (dAtA []byte, err error)

func (*UpdateAccountRequest) MarshalTo

func (m *UpdateAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateAccountRequest) MarshalToSizedBuffer

func (m *UpdateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) Reset

func (m *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) Size

func (m *UpdateAccountRequest) Size() (n int)

func (*UpdateAccountRequest) String

func (m *UpdateAccountRequest) String() string

func (*UpdateAccountRequest) Unmarshal

func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error

func (*UpdateAccountRequest) XXX_DiscardUnknown

func (m *UpdateAccountRequest) XXX_DiscardUnknown()

func (*UpdateAccountRequest) XXX_Marshal

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

func (*UpdateAccountRequest) XXX_Merge

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

func (*UpdateAccountRequest) XXX_Size

func (m *UpdateAccountRequest) XXX_Size() int

func (*UpdateAccountRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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