proto

package
v0.0.0-...-2f4d8a3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_translator_admin_proto protoreflect.FileDescriptor
View Source
var File_proto_translator_user_proto protoreflect.FileDescriptor
View Source
var TranslatorAdmin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.TranslatorAdmin",
	HandlerType: (*TranslatorAdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindTranslationsByFirstLetter",
			Handler:    _TranslatorAdmin_FindTranslationsByFirstLetter_Handler,
		},
		{
			MethodName: "FindTranslationByTextAndPos",
			Handler:    _TranslatorAdmin_FindTranslationByTextAndPos_Handler,
		},
		{
			MethodName: "FindTranslationsByText",
			Handler:    _TranslatorAdmin_FindTranslationsByText_Handler,
		},
		{
			MethodName: "AddTranslation",
			Handler:    _TranslatorAdmin_AddTranslation_Handler,
		},
		{
			MethodName: "UpdateTranslation",
			Handler:    _TranslatorAdmin_UpdateTranslation_Handler,
		},
		{
			MethodName: "RemoveTranslation",
			Handler:    _TranslatorAdmin_RemoveTranslation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/translator_admin.proto",
}

TranslatorAdmin_ServiceDesc is the grpc.ServiceDesc for TranslatorAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TranslatorUser_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.TranslatorUser",
	HandlerType: (*TranslatorUserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DictionaryLookup",
			Handler:    _TranslatorUser_DictionaryLookup_Handler,
		},
		{
			MethodName: "DictionaryLookupWithPos",
			Handler:    _TranslatorUser_DictionaryLookupWithPos_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/translator_user.proto",
}

TranslatorUser_ServiceDesc is the grpc.ServiceDesc for TranslatorUser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTranslatorAdminServer

func RegisterTranslatorAdminServer(s grpc.ServiceRegistrar, srv TranslatorAdminServer)

func RegisterTranslatorUserServer

func RegisterTranslatorUserServer(s grpc.ServiceRegistrar, srv TranslatorUserServer)

Types

type DictionaryLookupParameter

type DictionaryLookupParameter struct {
	FromLang2 string `protobuf:"bytes,1,opt,name=fromLang2,proto3" json:"fromLang2,omitempty"`
	ToLang2   string `protobuf:"bytes,2,opt,name=toLang2,proto3" json:"toLang2,omitempty"`
	Text      string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryLookupParameter) Descriptor deprecated

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

Deprecated: Use DictionaryLookupParameter.ProtoReflect.Descriptor instead.

func (*DictionaryLookupParameter) GetFromLang2

func (x *DictionaryLookupParameter) GetFromLang2() string

func (*DictionaryLookupParameter) GetText

func (x *DictionaryLookupParameter) GetText() string

func (*DictionaryLookupParameter) GetToLang2

func (x *DictionaryLookupParameter) GetToLang2() string

func (*DictionaryLookupParameter) ProtoMessage

func (*DictionaryLookupParameter) ProtoMessage()

func (*DictionaryLookupParameter) ProtoReflect

func (*DictionaryLookupParameter) Reset

func (x *DictionaryLookupParameter) Reset()

func (*DictionaryLookupParameter) String

func (x *DictionaryLookupParameter) String() string

type DictionaryLookupResponse

type DictionaryLookupResponse struct {
	Result *DictionaryResponse `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryLookupResponse) Descriptor deprecated

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

Deprecated: Use DictionaryLookupResponse.ProtoReflect.Descriptor instead.

func (*DictionaryLookupResponse) GetResult

func (*DictionaryLookupResponse) ProtoMessage

func (*DictionaryLookupResponse) ProtoMessage()

func (*DictionaryLookupResponse) ProtoReflect

func (x *DictionaryLookupResponse) ProtoReflect() protoreflect.Message

func (*DictionaryLookupResponse) Reset

func (x *DictionaryLookupResponse) Reset()

func (*DictionaryLookupResponse) String

func (x *DictionaryLookupResponse) String() string

type DictionaryLookupResponses

type DictionaryLookupResponses struct {
	Results []*DictionaryResponse `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryLookupResponses) Descriptor deprecated

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

Deprecated: Use DictionaryLookupResponses.ProtoReflect.Descriptor instead.

func (*DictionaryLookupResponses) GetResults

func (x *DictionaryLookupResponses) GetResults() []*DictionaryResponse

func (*DictionaryLookupResponses) ProtoMessage

func (*DictionaryLookupResponses) ProtoMessage()

func (*DictionaryLookupResponses) ProtoReflect

func (*DictionaryLookupResponses) Reset

func (x *DictionaryLookupResponses) Reset()

func (*DictionaryLookupResponses) String

func (x *DictionaryLookupResponses) String() string

type DictionaryLookupWithPosParameter

type DictionaryLookupWithPosParameter struct {
	FromLang2 string `protobuf:"bytes,1,opt,name=fromLang2,proto3" json:"fromLang2,omitempty"`
	ToLang2   string `protobuf:"bytes,2,opt,name=toLang2,proto3" json:"toLang2,omitempty"`
	Text      string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	Pos       int32  `protobuf:"varint,4,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryLookupWithPosParameter) Descriptor deprecated

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

Deprecated: Use DictionaryLookupWithPosParameter.ProtoReflect.Descriptor instead.

func (*DictionaryLookupWithPosParameter) GetFromLang2

func (x *DictionaryLookupWithPosParameter) GetFromLang2() string

func (*DictionaryLookupWithPosParameter) GetPos

func (*DictionaryLookupWithPosParameter) GetText

func (*DictionaryLookupWithPosParameter) GetToLang2

func (x *DictionaryLookupWithPosParameter) GetToLang2() string

func (*DictionaryLookupWithPosParameter) ProtoMessage

func (*DictionaryLookupWithPosParameter) ProtoMessage()

func (*DictionaryLookupWithPosParameter) ProtoReflect

func (*DictionaryLookupWithPosParameter) Reset

func (*DictionaryLookupWithPosParameter) String

type DictionaryResponse

type DictionaryResponse struct {
	Lang2      string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text       string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Pos        int32  `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"`
	Translated string `protobuf:"bytes,4,opt,name=translated,proto3" json:"translated,omitempty"`
	Provider   string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*DictionaryResponse) Descriptor deprecated

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

Deprecated: Use DictionaryResponse.ProtoReflect.Descriptor instead.

func (*DictionaryResponse) GetLang2

func (x *DictionaryResponse) GetLang2() string

func (*DictionaryResponse) GetPos

func (x *DictionaryResponse) GetPos() int32

func (*DictionaryResponse) GetProvider

func (x *DictionaryResponse) GetProvider() string

func (*DictionaryResponse) GetText

func (x *DictionaryResponse) GetText() string

func (*DictionaryResponse) GetTranslated

func (x *DictionaryResponse) GetTranslated() string

func (*DictionaryResponse) ProtoMessage

func (*DictionaryResponse) ProtoMessage()

func (*DictionaryResponse) ProtoReflect

func (x *DictionaryResponse) ProtoReflect() protoreflect.Message

func (*DictionaryResponse) Reset

func (x *DictionaryResponse) Reset()

func (*DictionaryResponse) String

func (x *DictionaryResponse) String() string

type TranslationAddParameter

type TranslationAddParameter struct {
	Lang2      string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text       string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Pos        int32  `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"`
	Translated string `protobuf:"bytes,4,opt,name=translated,proto3" json:"translated,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationAddParameter) Descriptor deprecated

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

Deprecated: Use TranslationAddParameter.ProtoReflect.Descriptor instead.

func (*TranslationAddParameter) GetLang2

func (x *TranslationAddParameter) GetLang2() string

func (*TranslationAddParameter) GetPos

func (x *TranslationAddParameter) GetPos() int32

func (*TranslationAddParameter) GetText

func (x *TranslationAddParameter) GetText() string

func (*TranslationAddParameter) GetTranslated

func (x *TranslationAddParameter) GetTranslated() string

func (*TranslationAddParameter) ProtoMessage

func (*TranslationAddParameter) ProtoMessage()

func (*TranslationAddParameter) ProtoReflect

func (x *TranslationAddParameter) ProtoReflect() protoreflect.Message

func (*TranslationAddParameter) Reset

func (x *TranslationAddParameter) Reset()

func (*TranslationAddParameter) String

func (x *TranslationAddParameter) String() string

type TranslationAddResponse

type TranslationAddResponse struct {
	// contains filtered or unexported fields
}

func (*TranslationAddResponse) Descriptor deprecated

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

Deprecated: Use TranslationAddResponse.ProtoReflect.Descriptor instead.

func (*TranslationAddResponse) ProtoMessage

func (*TranslationAddResponse) ProtoMessage()

func (*TranslationAddResponse) ProtoReflect

func (x *TranslationAddResponse) ProtoReflect() protoreflect.Message

func (*TranslationAddResponse) Reset

func (x *TranslationAddResponse) Reset()

func (*TranslationAddResponse) String

func (x *TranslationAddResponse) String() string

type TranslationFindByTextAndPosParameter

type TranslationFindByTextAndPosParameter struct {
	Lang2 string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text  string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Pos   int32  `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationFindByTextAndPosParameter) Descriptor deprecated

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

Deprecated: Use TranslationFindByTextAndPosParameter.ProtoReflect.Descriptor instead.

func (*TranslationFindByTextAndPosParameter) GetLang2

func (*TranslationFindByTextAndPosParameter) GetPos

func (*TranslationFindByTextAndPosParameter) GetText

func (*TranslationFindByTextAndPosParameter) ProtoMessage

func (*TranslationFindByTextAndPosParameter) ProtoMessage()

func (*TranslationFindByTextAndPosParameter) ProtoReflect

func (*TranslationFindByTextAndPosParameter) Reset

func (*TranslationFindByTextAndPosParameter) String

type TranslationFindByTextParameter

type TranslationFindByTextParameter struct {
	Lang2 string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text  string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationFindByTextParameter) Descriptor deprecated

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

Deprecated: Use TranslationFindByTextParameter.ProtoReflect.Descriptor instead.

func (*TranslationFindByTextParameter) GetLang2

func (x *TranslationFindByTextParameter) GetLang2() string

func (*TranslationFindByTextParameter) GetText

func (*TranslationFindByTextParameter) ProtoMessage

func (*TranslationFindByTextParameter) ProtoMessage()

func (*TranslationFindByTextParameter) ProtoReflect

func (*TranslationFindByTextParameter) Reset

func (x *TranslationFindByTextParameter) Reset()

func (*TranslationFindByTextParameter) String

type TranslationFindParameter

type TranslationFindParameter struct {
	Lang2  string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Letter string `protobuf:"bytes,2,opt,name=letter,proto3" json:"letter,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationFindParameter) Descriptor deprecated

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

Deprecated: Use TranslationFindParameter.ProtoReflect.Descriptor instead.

func (*TranslationFindParameter) GetLang2

func (x *TranslationFindParameter) GetLang2() string

func (*TranslationFindParameter) GetLetter

func (x *TranslationFindParameter) GetLetter() string

func (*TranslationFindParameter) ProtoMessage

func (*TranslationFindParameter) ProtoMessage()

func (*TranslationFindParameter) ProtoReflect

func (x *TranslationFindParameter) ProtoReflect() protoreflect.Message

func (*TranslationFindParameter) Reset

func (x *TranslationFindParameter) Reset()

func (*TranslationFindParameter) String

func (x *TranslationFindParameter) String() string

type TranslationFindResposne

type TranslationFindResposne struct {
	Results []*TranslationResponse `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationFindResposne) Descriptor deprecated

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

Deprecated: Use TranslationFindResposne.ProtoReflect.Descriptor instead.

func (*TranslationFindResposne) GetResults

func (x *TranslationFindResposne) GetResults() []*TranslationResponse

func (*TranslationFindResposne) ProtoMessage

func (*TranslationFindResposne) ProtoMessage()

func (*TranslationFindResposne) ProtoReflect

func (x *TranslationFindResposne) ProtoReflect() protoreflect.Message

func (*TranslationFindResposne) Reset

func (x *TranslationFindResposne) Reset()

func (*TranslationFindResposne) String

func (x *TranslationFindResposne) String() string

type TranslationRemoveParameter

type TranslationRemoveParameter struct {
	Lang2 string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text  string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Pos   int32  `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationRemoveParameter) Descriptor deprecated

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

Deprecated: Use TranslationRemoveParameter.ProtoReflect.Descriptor instead.

func (*TranslationRemoveParameter) GetLang2

func (x *TranslationRemoveParameter) GetLang2() string

func (*TranslationRemoveParameter) GetPos

func (x *TranslationRemoveParameter) GetPos() int32

func (*TranslationRemoveParameter) GetText

func (x *TranslationRemoveParameter) GetText() string

func (*TranslationRemoveParameter) ProtoMessage

func (*TranslationRemoveParameter) ProtoMessage()

func (*TranslationRemoveParameter) ProtoReflect

func (*TranslationRemoveParameter) Reset

func (x *TranslationRemoveParameter) Reset()

func (*TranslationRemoveParameter) String

func (x *TranslationRemoveParameter) String() string

type TranslationRemoveResponse

type TranslationRemoveResponse struct {
	// contains filtered or unexported fields
}

func (*TranslationRemoveResponse) Descriptor deprecated

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

Deprecated: Use TranslationRemoveResponse.ProtoReflect.Descriptor instead.

func (*TranslationRemoveResponse) ProtoMessage

func (*TranslationRemoveResponse) ProtoMessage()

func (*TranslationRemoveResponse) ProtoReflect

func (*TranslationRemoveResponse) Reset

func (x *TranslationRemoveResponse) Reset()

func (*TranslationRemoveResponse) String

func (x *TranslationRemoveResponse) String() string

type TranslationResponse

type TranslationResponse struct {
	Lang2      string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text       string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Pos        int32  `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"`
	Translated string `protobuf:"bytes,4,opt,name=translated,proto3" json:"translated,omitempty"`
	Provider   string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationResponse) Descriptor deprecated

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

Deprecated: Use TranslationResponse.ProtoReflect.Descriptor instead.

func (*TranslationResponse) GetLang2

func (x *TranslationResponse) GetLang2() string

func (*TranslationResponse) GetPos

func (x *TranslationResponse) GetPos() int32

func (*TranslationResponse) GetProvider

func (x *TranslationResponse) GetProvider() string

func (*TranslationResponse) GetText

func (x *TranslationResponse) GetText() string

func (*TranslationResponse) GetTranslated

func (x *TranslationResponse) GetTranslated() string

func (*TranslationResponse) ProtoMessage

func (*TranslationResponse) ProtoMessage()

func (*TranslationResponse) ProtoReflect

func (x *TranslationResponse) ProtoReflect() protoreflect.Message

func (*TranslationResponse) Reset

func (x *TranslationResponse) Reset()

func (*TranslationResponse) String

func (x *TranslationResponse) String() string

type TranslationUpdateParameter

type TranslationUpdateParameter struct {
	Lang2      string `protobuf:"bytes,1,opt,name=lang2,proto3" json:"lang2,omitempty"`
	Text       string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Pos        int32  `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"`
	Translated string `protobuf:"bytes,4,opt,name=translated,proto3" json:"translated,omitempty"`
	// contains filtered or unexported fields
}

func (*TranslationUpdateParameter) Descriptor deprecated

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

Deprecated: Use TranslationUpdateParameter.ProtoReflect.Descriptor instead.

func (*TranslationUpdateParameter) GetLang2

func (x *TranslationUpdateParameter) GetLang2() string

func (*TranslationUpdateParameter) GetPos

func (x *TranslationUpdateParameter) GetPos() int32

func (*TranslationUpdateParameter) GetText

func (x *TranslationUpdateParameter) GetText() string

func (*TranslationUpdateParameter) GetTranslated

func (x *TranslationUpdateParameter) GetTranslated() string

func (*TranslationUpdateParameter) ProtoMessage

func (*TranslationUpdateParameter) ProtoMessage()

func (*TranslationUpdateParameter) ProtoReflect

func (*TranslationUpdateParameter) Reset

func (x *TranslationUpdateParameter) Reset()

func (*TranslationUpdateParameter) String

func (x *TranslationUpdateParameter) String() string

type TranslationUpdateResponse

type TranslationUpdateResponse struct {
	// contains filtered or unexported fields
}

func (*TranslationUpdateResponse) Descriptor deprecated

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

Deprecated: Use TranslationUpdateResponse.ProtoReflect.Descriptor instead.

func (*TranslationUpdateResponse) ProtoMessage

func (*TranslationUpdateResponse) ProtoMessage()

func (*TranslationUpdateResponse) ProtoReflect

func (*TranslationUpdateResponse) Reset

func (x *TranslationUpdateResponse) Reset()

func (*TranslationUpdateResponse) String

func (x *TranslationUpdateResponse) String() string

type TranslatorAdminClient

type TranslatorAdminClient interface {
	FindTranslationsByFirstLetter(ctx context.Context, in *TranslationFindParameter, opts ...grpc.CallOption) (*TranslationFindResposne, error)
	FindTranslationByTextAndPos(ctx context.Context, in *TranslationFindByTextAndPosParameter, opts ...grpc.CallOption) (*TranslationResponse, error)
	FindTranslationsByText(ctx context.Context, in *TranslationFindByTextParameter, opts ...grpc.CallOption) (*TranslationFindResposne, error)
	AddTranslation(ctx context.Context, in *TranslationAddParameter, opts ...grpc.CallOption) (*TranslationAddResponse, error)
	UpdateTranslation(ctx context.Context, in *TranslationUpdateParameter, opts ...grpc.CallOption) (*TranslationAddResponse, error)
	RemoveTranslation(ctx context.Context, in *TranslationRemoveParameter, opts ...grpc.CallOption) (*TranslationRemoveResponse, error)
}

TranslatorAdminClient is the client API for TranslatorAdmin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TranslatorAdminServer

type TranslatorAdminServer interface {
	FindTranslationsByFirstLetter(context.Context, *TranslationFindParameter) (*TranslationFindResposne, error)
	FindTranslationByTextAndPos(context.Context, *TranslationFindByTextAndPosParameter) (*TranslationResponse, error)
	FindTranslationsByText(context.Context, *TranslationFindByTextParameter) (*TranslationFindResposne, error)
	AddTranslation(context.Context, *TranslationAddParameter) (*TranslationAddResponse, error)
	UpdateTranslation(context.Context, *TranslationUpdateParameter) (*TranslationAddResponse, error)
	RemoveTranslation(context.Context, *TranslationRemoveParameter) (*TranslationRemoveResponse, error)
	// contains filtered or unexported methods
}

TranslatorAdminServer is the server API for TranslatorAdmin service. All implementations must embed UnimplementedTranslatorAdminServer for forward compatibility

type TranslatorUserClient

type TranslatorUserClient interface {
	DictionaryLookup(ctx context.Context, in *DictionaryLookupParameter, opts ...grpc.CallOption) (*DictionaryLookupResponses, error)
	DictionaryLookupWithPos(ctx context.Context, in *DictionaryLookupWithPosParameter, opts ...grpc.CallOption) (*DictionaryLookupResponse, error)
}

TranslatorUserClient is the client API for TranslatorUser service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TranslatorUserServer

type TranslatorUserServer interface {
	DictionaryLookup(context.Context, *DictionaryLookupParameter) (*DictionaryLookupResponses, error)
	DictionaryLookupWithPos(context.Context, *DictionaryLookupWithPosParameter) (*DictionaryLookupResponse, error)
	// contains filtered or unexported methods
}

TranslatorUserServer is the server API for TranslatorUser service. All implementations must embed UnimplementedTranslatorUserServer for forward compatibility

type UnimplementedTranslatorAdminServer

type UnimplementedTranslatorAdminServer struct {
}

UnimplementedTranslatorAdminServer must be embedded to have forward compatible implementations.

func (UnimplementedTranslatorAdminServer) AddTranslation

func (UnimplementedTranslatorAdminServer) FindTranslationByTextAndPos

func (UnimplementedTranslatorAdminServer) FindTranslationsByFirstLetter

func (UnimplementedTranslatorAdminServer) FindTranslationsByText

func (UnimplementedTranslatorAdminServer) RemoveTranslation

func (UnimplementedTranslatorAdminServer) UpdateTranslation

type UnimplementedTranslatorUserServer

type UnimplementedTranslatorUserServer struct {
}

UnimplementedTranslatorUserServer must be embedded to have forward compatible implementations.

func (UnimplementedTranslatorUserServer) DictionaryLookup

type UnsafeTranslatorAdminServer

type UnsafeTranslatorAdminServer interface {
	// contains filtered or unexported methods
}

UnsafeTranslatorAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TranslatorAdminServer will result in compilation errors.

type UnsafeTranslatorUserServer

type UnsafeTranslatorUserServer interface {
	// contains filtered or unexported methods
}

UnsafeTranslatorUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TranslatorUserServer will result in compilation errors.

Jump to

Keyboard shortcuts

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