Documentation ¶
Index ¶
- type Dictionary
- func (d *Dictionary) CreateWord(ctx context.Context, req *dictionary.CreateWordRequest) (*dictionary.CreateWordResponse, error)
- func (d *Dictionary) DeleteWordById(ctx context.Context, req *dictionary.DeleteWordRequest) error
- func (d *Dictionary) GetWordById(ctx context.Context, req *dictionary.GetWordByIdRequest) (*dictionary.GetWordByIdResponse, error)
- func (d *Dictionary) GetWords(ctx context.Context, req *dictionary.GetWordsRequest) (*dictionary.GetWordsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
type Dictionary struct { GetWordsResponse *dictionary.GetWordsResponse GetWordsError error GetWordByIdResponse *dictionary.GetWordByIdResponse GetWordByIdError error CreateWordResponse *dictionary.CreateWordResponse CreateWordError error DeleteWordByIdError error }
func (*Dictionary) CreateWord ¶
func (d *Dictionary) CreateWord(ctx context.Context, req *dictionary.CreateWordRequest) (*dictionary.CreateWordResponse, error)
func (*Dictionary) DeleteWordById ¶
func (d *Dictionary) DeleteWordById(ctx context.Context, req *dictionary.DeleteWordRequest) error
func (*Dictionary) GetWordById ¶
func (d *Dictionary) GetWordById(ctx context.Context, req *dictionary.GetWordByIdRequest) (*dictionary.GetWordByIdResponse, error)
func (*Dictionary) GetWords ¶
func (d *Dictionary) GetWords(ctx context.Context, req *dictionary.GetWordsRequest) (*dictionary.GetWordsResponse, error)
Click to show internal directories.
Click to hide internal directories.