You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
kratos/examples/proto/stream_http.pb.go

40 lines
968 B

// Code generated by protoc-gen-go-http. DO NOT EDIT.
package testproto
import (
context "context"
http1 "github.com/go-kratos/kratos/v2/transport/http"
binding "github.com/go-kratos/kratos/v2/transport/http/binding"
mux "github.com/gorilla/mux"
http "net/http"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the kratos package it is being compiled against.
var _ = new(http.Request)
var _ = new(context.Context)
var _ = binding.MapProto
var _ = mux.NewRouter
const _ = http1.SupportPackageIsVersion1
type StreamServiceHandler interface {
}
func NewStreamServiceHandler(srv StreamServiceHandler, opts ...http1.HandleOption) http.Handler {
r := mux.NewRouter()
return r
}
type StreamServiceHttpClient interface {
}
type StreamServiceHttpClientImpl struct {
cc *http1.Client
}
func NewStreamServiceHttpClient(client *http1.Client) StreamServiceHttpClient {
return &StreamServiceHttpClientImpl{client}
}