Documentation ¶
Overview ¶
Package konlpy_v0alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package konlpy_v0alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package konlpy_v0alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package konlpy_v0alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package konlpy_v0alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterHannanumHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterHannanumHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HannanumClient) error
- func RegisterHannanumHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterHannanumHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HannanumServer) error
- func RegisterHannanumServer(s *grpc.Server, srv HannanumServer)
- func RegisterKkmaHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKkmaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KkmaClient) error
- func RegisterKkmaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKkmaHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KkmaServer) error
- func RegisterKkmaServer(s *grpc.Server, srv KkmaServer)
- func RegisterKomoranHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKomoranHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KomoranClient) error
- func RegisterKomoranHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKomoranHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KomoranServer) error
- func RegisterKomoranServer(s *grpc.Server, srv KomoranServer)
- func RegisterMecabHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMecabHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MecabClient) error
- func RegisterMecabHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMecabHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MecabServer) error
- func RegisterMecabServer(s *grpc.Server, srv MecabServer)
- func RegisterOktHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOktHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OktClient) error
- func RegisterOktHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOktHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OktServer) error
- func RegisterOktServer(s *grpc.Server, srv OktServer)
- type HannanumClient
- type HannanumServer
- type KkmaClient
- type KkmaServer
- type KomoranClient
- type KomoranServer
- type MecabClient
- type MecabServer
- type OktClient
- type OktServer
- type Option
- func (*Option) Descriptor() ([]byte, []int)
- func (m *Option) GetKey() string
- func (m *Option) GetValue() bool
- func (*Option) ProtoMessage()
- func (m *Option) Reset()
- func (m *Option) String() string
- func (m *Option) XXX_DiscardUnknown()
- func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Option) XXX_Merge(src proto.Message)
- func (m *Option) XXX_Size() int
- func (m *Option) XXX_Unmarshal(b []byte) error
- type StringArrayResponse
- func (*StringArrayResponse) Descriptor() ([]byte, []int)
- func (m *StringArrayResponse) GetOptions() []*Option
- func (m *StringArrayResponse) GetResults() []string
- func (*StringArrayResponse) ProtoMessage()
- func (m *StringArrayResponse) Reset()
- func (m *StringArrayResponse) String() string
- func (m *StringArrayResponse) XXX_DiscardUnknown()
- func (m *StringArrayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringArrayResponse) XXX_Merge(src proto.Message)
- func (m *StringArrayResponse) XXX_Size() int
- func (m *StringArrayResponse) XXX_Unmarshal(b []byte) error
- type StringRequest
- func (*StringRequest) Descriptor() ([]byte, []int)
- func (m *StringRequest) GetOptions() []*Option
- func (m *StringRequest) GetPayload() string
- func (*StringRequest) ProtoMessage()
- func (m *StringRequest) Reset()
- func (m *StringRequest) String() string
- func (m *StringRequest) XXX_DiscardUnknown()
- func (m *StringRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringRequest) XXX_Merge(src proto.Message)
- func (m *StringRequest) XXX_Size() int
- func (m *StringRequest) XXX_Unmarshal(b []byte) error
- type TupleArrayResponse
- func (*TupleArrayResponse) Descriptor() ([]byte, []int)
- func (m *TupleArrayResponse) GetOptions() []*Option
- func (m *TupleArrayResponse) GetResults() []*TupleArrayResponse_Tuple
- func (*TupleArrayResponse) ProtoMessage()
- func (m *TupleArrayResponse) Reset()
- func (m *TupleArrayResponse) String() string
- func (m *TupleArrayResponse) XXX_DiscardUnknown()
- func (m *TupleArrayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TupleArrayResponse) XXX_Merge(src proto.Message)
- func (m *TupleArrayResponse) XXX_Size() int
- func (m *TupleArrayResponse) XXX_Unmarshal(b []byte) error
- type TupleArrayResponse_Tuple
- func (*TupleArrayResponse_Tuple) Descriptor() ([]byte, []int)
- func (m *TupleArrayResponse_Tuple) GetKeyword() string
- func (m *TupleArrayResponse_Tuple) GetTag() string
- func (*TupleArrayResponse_Tuple) ProtoMessage()
- func (m *TupleArrayResponse_Tuple) Reset()
- func (m *TupleArrayResponse_Tuple) String() string
- func (m *TupleArrayResponse_Tuple) XXX_DiscardUnknown()
- func (m *TupleArrayResponse_Tuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TupleArrayResponse_Tuple) XXX_Merge(src proto.Message)
- func (m *TupleArrayResponse_Tuple) XXX_Size() int
- func (m *TupleArrayResponse_Tuple) XXX_Unmarshal(b []byte) error
- type UnimplementedHannanumServer
- func (*UnimplementedHannanumServer) Analyze(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedHannanumServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedHannanumServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedHannanumServer) Pos09(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
- func (*UnimplementedHannanumServer) Pos22(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
- type UnimplementedKkmaServer
- func (*UnimplementedKkmaServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedKkmaServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedKkmaServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
- func (*UnimplementedKkmaServer) Sentences(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- type UnimplementedKomoranServer
- func (*UnimplementedKomoranServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedKomoranServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedKomoranServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
- type UnimplementedMecabServer
- func (*UnimplementedMecabServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedMecabServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedMecabServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
- type UnimplementedOktServer
- func (*UnimplementedOktServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedOktServer) Normalize(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedOktServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedOktServer) Phrases(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
- func (*UnimplementedOktServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHannanumHandler ¶
func RegisterHannanumHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterHannanumHandler registers the http handlers for service Hannanum to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterHannanumHandlerClient ¶
func RegisterHannanumHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HannanumClient) error
RegisterHannanumHandlerClient registers the http handlers for service Hannanum to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HannanumClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HannanumClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HannanumClient" to call the correct interceptors.
func RegisterHannanumHandlerFromEndpoint ¶
func RegisterHannanumHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterHannanumHandlerFromEndpoint is same as RegisterHannanumHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterHannanumHandlerServer ¶
func RegisterHannanumHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HannanumServer) error
RegisterHannanumHandlerServer registers the http handlers for service Hannanum to "mux". UnaryRPC :call HannanumServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterHannanumServer ¶
func RegisterHannanumServer(s *grpc.Server, srv HannanumServer)
func RegisterKkmaHandler ¶
RegisterKkmaHandler registers the http handlers for service Kkma to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKkmaHandlerClient ¶
RegisterKkmaHandlerClient registers the http handlers for service Kkma to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KkmaClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KkmaClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KkmaClient" to call the correct interceptors.
func RegisterKkmaHandlerFromEndpoint ¶
func RegisterKkmaHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKkmaHandlerFromEndpoint is same as RegisterKkmaHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKkmaHandlerServer ¶
RegisterKkmaHandlerServer registers the http handlers for service Kkma to "mux". UnaryRPC :call KkmaServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterKkmaServer ¶
func RegisterKkmaServer(s *grpc.Server, srv KkmaServer)
func RegisterKomoranHandler ¶
func RegisterKomoranHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKomoranHandler registers the http handlers for service Komoran to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKomoranHandlerClient ¶
func RegisterKomoranHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KomoranClient) error
RegisterKomoranHandlerClient registers the http handlers for service Komoran to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KomoranClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KomoranClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KomoranClient" to call the correct interceptors.
func RegisterKomoranHandlerFromEndpoint ¶
func RegisterKomoranHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKomoranHandlerFromEndpoint is same as RegisterKomoranHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKomoranHandlerServer ¶
func RegisterKomoranHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KomoranServer) error
RegisterKomoranHandlerServer registers the http handlers for service Komoran to "mux". UnaryRPC :call KomoranServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterKomoranServer ¶
func RegisterKomoranServer(s *grpc.Server, srv KomoranServer)
func RegisterMecabHandler ¶
RegisterMecabHandler registers the http handlers for service Mecab to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMecabHandlerClient ¶
func RegisterMecabHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MecabClient) error
RegisterMecabHandlerClient registers the http handlers for service Mecab to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MecabClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MecabClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MecabClient" to call the correct interceptors.
func RegisterMecabHandlerFromEndpoint ¶
func RegisterMecabHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMecabHandlerFromEndpoint is same as RegisterMecabHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMecabHandlerServer ¶
func RegisterMecabHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MecabServer) error
RegisterMecabHandlerServer registers the http handlers for service Mecab to "mux". UnaryRPC :call MecabServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterMecabServer ¶
func RegisterMecabServer(s *grpc.Server, srv MecabServer)
func RegisterOktHandler ¶
RegisterOktHandler registers the http handlers for service Okt to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOktHandlerClient ¶
RegisterOktHandlerClient registers the http handlers for service Okt to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OktClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OktClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OktClient" to call the correct interceptors.
func RegisterOktHandlerFromEndpoint ¶
func RegisterOktHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOktHandlerFromEndpoint is same as RegisterOktHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOktHandlerServer ¶
RegisterOktHandlerServer registers the http handlers for service Okt to "mux". UnaryRPC :call OktServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterOktServer ¶
Types ¶
type HannanumClient ¶
type HannanumClient interface { Pos09(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*TupleArrayResponse, error) Pos22(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*TupleArrayResponse, error) Nouns(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Morphs(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Analyze(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) }
HannanumClient is the client API for Hannanum service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHannanumClient ¶
func NewHannanumClient(cc *grpc.ClientConn) HannanumClient
type HannanumServer ¶
type HannanumServer interface { Pos09(context.Context, *StringRequest) (*TupleArrayResponse, error) Pos22(context.Context, *StringRequest) (*TupleArrayResponse, error) Nouns(context.Context, *StringRequest) (*StringArrayResponse, error) Morphs(context.Context, *StringRequest) (*StringArrayResponse, error) Analyze(context.Context, *StringRequest) (*StringArrayResponse, error) }
HannanumServer is the server API for Hannanum service.
type KkmaClient ¶
type KkmaClient interface { Pos(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*TupleArrayResponse, error) Nouns(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Morphs(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Sentences(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) }
KkmaClient is the client API for Kkma service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKkmaClient ¶
func NewKkmaClient(cc *grpc.ClientConn) KkmaClient
type KkmaServer ¶
type KkmaServer interface { Pos(context.Context, *StringRequest) (*TupleArrayResponse, error) Nouns(context.Context, *StringRequest) (*StringArrayResponse, error) Morphs(context.Context, *StringRequest) (*StringArrayResponse, error) Sentences(context.Context, *StringRequest) (*StringArrayResponse, error) }
KkmaServer is the server API for Kkma service.
type KomoranClient ¶
type KomoranClient interface { Pos(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*TupleArrayResponse, error) Nouns(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Morphs(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) }
KomoranClient is the client API for Komoran service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKomoranClient ¶
func NewKomoranClient(cc *grpc.ClientConn) KomoranClient
type KomoranServer ¶
type KomoranServer interface { Pos(context.Context, *StringRequest) (*TupleArrayResponse, error) Nouns(context.Context, *StringRequest) (*StringArrayResponse, error) Morphs(context.Context, *StringRequest) (*StringArrayResponse, error) }
KomoranServer is the server API for Komoran service.
type MecabClient ¶
type MecabClient interface { Pos(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*TupleArrayResponse, error) Nouns(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Morphs(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) }
MecabClient is the client API for Mecab service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMecabClient ¶
func NewMecabClient(cc *grpc.ClientConn) MecabClient
type MecabServer ¶
type MecabServer interface { Pos(context.Context, *StringRequest) (*TupleArrayResponse, error) Nouns(context.Context, *StringRequest) (*StringArrayResponse, error) Morphs(context.Context, *StringRequest) (*StringArrayResponse, error) }
MecabServer is the server API for Mecab service.
type OktClient ¶
type OktClient interface { Pos(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*TupleArrayResponse, error) Nouns(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Morphs(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Phrases(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) Normalize(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringArrayResponse, error) }
OktClient is the client API for Okt service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOktClient ¶
func NewOktClient(cc *grpc.ClientConn) OktClient
type OktServer ¶
type OktServer interface { Pos(context.Context, *StringRequest) (*TupleArrayResponse, error) Nouns(context.Context, *StringRequest) (*StringArrayResponse, error) Morphs(context.Context, *StringRequest) (*StringArrayResponse, error) Phrases(context.Context, *StringRequest) (*StringArrayResponse, error) Normalize(context.Context, *StringRequest) (*StringArrayResponse, error) }
OktServer is the server API for Okt service.
type Option ¶
type Option struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Option) Descriptor ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) XXX_DiscardUnknown ¶
func (m *Option) XXX_DiscardUnknown()
func (*Option) XXX_Marshal ¶
func (*Option) XXX_Unmarshal ¶
type StringArrayResponse ¶
type StringArrayResponse struct { Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` Options []*Option `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringArrayResponse) Descriptor ¶
func (*StringArrayResponse) Descriptor() ([]byte, []int)
func (*StringArrayResponse) GetOptions ¶
func (m *StringArrayResponse) GetOptions() []*Option
func (*StringArrayResponse) GetResults ¶
func (m *StringArrayResponse) GetResults() []string
func (*StringArrayResponse) ProtoMessage ¶
func (*StringArrayResponse) ProtoMessage()
func (*StringArrayResponse) Reset ¶
func (m *StringArrayResponse) Reset()
func (*StringArrayResponse) String ¶
func (m *StringArrayResponse) String() string
func (*StringArrayResponse) XXX_DiscardUnknown ¶
func (m *StringArrayResponse) XXX_DiscardUnknown()
func (*StringArrayResponse) XXX_Marshal ¶
func (m *StringArrayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringArrayResponse) XXX_Merge ¶
func (m *StringArrayResponse) XXX_Merge(src proto.Message)
func (*StringArrayResponse) XXX_Size ¶
func (m *StringArrayResponse) XXX_Size() int
func (*StringArrayResponse) XXX_Unmarshal ¶
func (m *StringArrayResponse) XXX_Unmarshal(b []byte) error
type StringRequest ¶
type StringRequest struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Options []*Option `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringRequest) Descriptor ¶
func (*StringRequest) Descriptor() ([]byte, []int)
func (*StringRequest) GetOptions ¶
func (m *StringRequest) GetOptions() []*Option
func (*StringRequest) GetPayload ¶
func (m *StringRequest) GetPayload() string
func (*StringRequest) ProtoMessage ¶
func (*StringRequest) ProtoMessage()
func (*StringRequest) Reset ¶
func (m *StringRequest) Reset()
func (*StringRequest) String ¶
func (m *StringRequest) String() string
func (*StringRequest) XXX_DiscardUnknown ¶
func (m *StringRequest) XXX_DiscardUnknown()
func (*StringRequest) XXX_Marshal ¶
func (m *StringRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringRequest) XXX_Merge ¶
func (m *StringRequest) XXX_Merge(src proto.Message)
func (*StringRequest) XXX_Size ¶
func (m *StringRequest) XXX_Size() int
func (*StringRequest) XXX_Unmarshal ¶
func (m *StringRequest) XXX_Unmarshal(b []byte) error
type TupleArrayResponse ¶
type TupleArrayResponse struct { Results []*TupleArrayResponse_Tuple `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` Options []*Option `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TupleArrayResponse) Descriptor ¶
func (*TupleArrayResponse) Descriptor() ([]byte, []int)
func (*TupleArrayResponse) GetOptions ¶
func (m *TupleArrayResponse) GetOptions() []*Option
func (*TupleArrayResponse) GetResults ¶
func (m *TupleArrayResponse) GetResults() []*TupleArrayResponse_Tuple
func (*TupleArrayResponse) ProtoMessage ¶
func (*TupleArrayResponse) ProtoMessage()
func (*TupleArrayResponse) Reset ¶
func (m *TupleArrayResponse) Reset()
func (*TupleArrayResponse) String ¶
func (m *TupleArrayResponse) String() string
func (*TupleArrayResponse) XXX_DiscardUnknown ¶
func (m *TupleArrayResponse) XXX_DiscardUnknown()
func (*TupleArrayResponse) XXX_Marshal ¶
func (m *TupleArrayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TupleArrayResponse) XXX_Merge ¶
func (m *TupleArrayResponse) XXX_Merge(src proto.Message)
func (*TupleArrayResponse) XXX_Size ¶
func (m *TupleArrayResponse) XXX_Size() int
func (*TupleArrayResponse) XXX_Unmarshal ¶
func (m *TupleArrayResponse) XXX_Unmarshal(b []byte) error
type TupleArrayResponse_Tuple ¶
type TupleArrayResponse_Tuple struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TupleArrayResponse_Tuple) Descriptor ¶
func (*TupleArrayResponse_Tuple) Descriptor() ([]byte, []int)
func (*TupleArrayResponse_Tuple) GetKeyword ¶
func (m *TupleArrayResponse_Tuple) GetKeyword() string
func (*TupleArrayResponse_Tuple) GetTag ¶
func (m *TupleArrayResponse_Tuple) GetTag() string
func (*TupleArrayResponse_Tuple) ProtoMessage ¶
func (*TupleArrayResponse_Tuple) ProtoMessage()
func (*TupleArrayResponse_Tuple) Reset ¶
func (m *TupleArrayResponse_Tuple) Reset()
func (*TupleArrayResponse_Tuple) String ¶
func (m *TupleArrayResponse_Tuple) String() string
func (*TupleArrayResponse_Tuple) XXX_DiscardUnknown ¶
func (m *TupleArrayResponse_Tuple) XXX_DiscardUnknown()
func (*TupleArrayResponse_Tuple) XXX_Marshal ¶
func (m *TupleArrayResponse_Tuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TupleArrayResponse_Tuple) XXX_Merge ¶
func (m *TupleArrayResponse_Tuple) XXX_Merge(src proto.Message)
func (*TupleArrayResponse_Tuple) XXX_Size ¶
func (m *TupleArrayResponse_Tuple) XXX_Size() int
func (*TupleArrayResponse_Tuple) XXX_Unmarshal ¶
func (m *TupleArrayResponse_Tuple) XXX_Unmarshal(b []byte) error
type UnimplementedHannanumServer ¶
type UnimplementedHannanumServer struct { }
UnimplementedHannanumServer can be embedded to have forward compatible implementations.
func (*UnimplementedHannanumServer) Analyze ¶
func (*UnimplementedHannanumServer) Analyze(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedHannanumServer) Morphs ¶
func (*UnimplementedHannanumServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedHannanumServer) Nouns ¶
func (*UnimplementedHannanumServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedHannanumServer) Pos09 ¶
func (*UnimplementedHannanumServer) Pos09(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
func (*UnimplementedHannanumServer) Pos22 ¶
func (*UnimplementedHannanumServer) Pos22(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
type UnimplementedKkmaServer ¶
type UnimplementedKkmaServer struct { }
UnimplementedKkmaServer can be embedded to have forward compatible implementations.
func (*UnimplementedKkmaServer) Morphs ¶
func (*UnimplementedKkmaServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedKkmaServer) Nouns ¶
func (*UnimplementedKkmaServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedKkmaServer) Pos ¶
func (*UnimplementedKkmaServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
func (*UnimplementedKkmaServer) Sentences ¶
func (*UnimplementedKkmaServer) Sentences(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
type UnimplementedKomoranServer ¶
type UnimplementedKomoranServer struct { }
UnimplementedKomoranServer can be embedded to have forward compatible implementations.
func (*UnimplementedKomoranServer) Morphs ¶
func (*UnimplementedKomoranServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedKomoranServer) Nouns ¶
func (*UnimplementedKomoranServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedKomoranServer) Pos ¶
func (*UnimplementedKomoranServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
type UnimplementedMecabServer ¶
type UnimplementedMecabServer struct { }
UnimplementedMecabServer can be embedded to have forward compatible implementations.
func (*UnimplementedMecabServer) Morphs ¶
func (*UnimplementedMecabServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedMecabServer) Nouns ¶
func (*UnimplementedMecabServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedMecabServer) Pos ¶
func (*UnimplementedMecabServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)
type UnimplementedOktServer ¶
type UnimplementedOktServer struct { }
UnimplementedOktServer can be embedded to have forward compatible implementations.
func (*UnimplementedOktServer) Morphs ¶
func (*UnimplementedOktServer) Morphs(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedOktServer) Normalize ¶
func (*UnimplementedOktServer) Normalize(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedOktServer) Nouns ¶
func (*UnimplementedOktServer) Nouns(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedOktServer) Phrases ¶
func (*UnimplementedOktServer) Phrases(ctx context.Context, req *StringRequest) (*StringArrayResponse, error)
func (*UnimplementedOktServer) Pos ¶
func (*UnimplementedOktServer) Pos(ctx context.Context, req *StringRequest) (*TupleArrayResponse, error)