Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + func RegisterHTTPServer(s *grpc.Server, srv HTTPServer) + type Certificates struct + Cert [][]byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Certificates) Descriptor() ([]byte, []int) + func (*Certificates) ProtoMessage() + func (m *Certificates) GetCert() [][]byte + func (m *Certificates) Reset() + func (m *Certificates) String() string + func (m *Certificates) XXX_DiscardUnknown() + func (m *Certificates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Certificates) XXX_Merge(src proto.Message) + func (m *Certificates) XXX_Size() int + func (m *Certificates) XXX_Unmarshal(b []byte) error + type ConnectionState struct + CipherSuite uint32 + DidResume bool + HandshakeComplete bool + NegotiatedProtocol string + NegotiatedProtocolIsMutual bool + OcspResponse []byte + PeerCertificates *Certificates + ServerName string + SignedCertificateTimestamps [][]byte + TlsUnique []byte + VerifiedChains []*Certificates + Version uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConnectionState) Descriptor() ([]byte, []int) + func (*ConnectionState) ProtoMessage() + func (m *ConnectionState) GetCipherSuite() uint32 + func (m *ConnectionState) GetDidResume() bool + func (m *ConnectionState) GetHandshakeComplete() bool + func (m *ConnectionState) GetNegotiatedProtocol() string + func (m *ConnectionState) GetNegotiatedProtocolIsMutual() bool + func (m *ConnectionState) GetOcspResponse() []byte + func (m *ConnectionState) GetPeerCertificates() *Certificates + func (m *ConnectionState) GetServerName() string + func (m *ConnectionState) GetSignedCertificateTimestamps() [][]byte + func (m *ConnectionState) GetTlsUnique() []byte + func (m *ConnectionState) GetVerifiedChains() []*Certificates + func (m *ConnectionState) GetVersion() uint32 + func (m *ConnectionState) Reset() + func (m *ConnectionState) String() string + func (m *ConnectionState) XXX_DiscardUnknown() + func (m *ConnectionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConnectionState) XXX_Merge(src proto.Message) + func (m *ConnectionState) XXX_Size() int + func (m *ConnectionState) XXX_Unmarshal(b []byte) error + type Element struct + Key string + Values []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Element) Descriptor() ([]byte, []int) + func (*Element) ProtoMessage() + func (m *Element) GetKey() string + func (m *Element) GetValues() []string + func (m *Element) Reset() + func (m *Element) String() string + func (m *Element) XXX_DiscardUnknown() + func (m *Element) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Element) XXX_Merge(src proto.Message) + func (m *Element) XXX_Size() int + func (m *Element) XXX_Unmarshal(b []byte) error + type HTTPClient interface + Handle func(ctx context.Context, in *HTTPRequest, opts ...grpc.CallOption) (*HTTPResponse, error) + func NewHTTPClient(cc grpc.ClientConnInterface) HTTPClient + type HTTPRequest struct + Request *Request + ResponseWriter uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HTTPRequest) Descriptor() ([]byte, []int) + func (*HTTPRequest) ProtoMessage() + func (m *HTTPRequest) GetRequest() *Request + func (m *HTTPRequest) GetResponseWriter() uint32 + func (m *HTTPRequest) Reset() + func (m *HTTPRequest) String() string + func (m *HTTPRequest) XXX_DiscardUnknown() + func (m *HTTPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HTTPRequest) XXX_Merge(src proto.Message) + func (m *HTTPRequest) XXX_Size() int + func (m *HTTPRequest) XXX_Unmarshal(b []byte) error + type HTTPResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HTTPResponse) Descriptor() ([]byte, []int) + func (*HTTPResponse) ProtoMessage() + func (m *HTTPResponse) Reset() + func (m *HTTPResponse) String() string + func (m *HTTPResponse) XXX_DiscardUnknown() + func (m *HTTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HTTPResponse) XXX_Merge(src proto.Message) + func (m *HTTPResponse) XXX_Size() int + func (m *HTTPResponse) XXX_Unmarshal(b []byte) error + type HTTPServer interface + Handle func(context.Context, *HTTPRequest) (*HTTPResponse, error) + type Request struct + Body uint32 + ContentLength int64 + Form []*Element + Header []*Element + Host string + Method string + PostForm []*Element + Proto string + ProtoMajor int32 + ProtoMinor int32 + RemoteAddr string + RequestURI string + Tls *ConnectionState + TrailerKeys []string + TransferEncoding []string + Url *URL + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetBody() uint32 + func (m *Request) GetContentLength() int64 + func (m *Request) GetForm() []*Element + func (m *Request) GetHeader() []*Element + func (m *Request) GetHost() string + func (m *Request) GetMethod() string + func (m *Request) GetPostForm() []*Element + func (m *Request) GetProto() string + func (m *Request) GetProtoMajor() int32 + func (m *Request) GetProtoMinor() int32 + func (m *Request) GetRemoteAddr() string + func (m *Request) GetRequestURI() string + func (m *Request) GetTls() *ConnectionState + func (m *Request) GetTrailerKeys() []string + func (m *Request) GetTransferEncoding() []string + func (m *Request) GetUrl() *URL + func (m *Request) Reset() + func (m *Request) String() string + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + type URL struct + ForceQuery bool + Fragment string + Host string + Opaque string + Path string + RawPath string + RawQuery string + Scheme string + User *Userinfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*URL) Descriptor() ([]byte, []int) + func (*URL) ProtoMessage() + func (m *URL) GetForceQuery() bool + func (m *URL) GetFragment() string + func (m *URL) GetHost() string + func (m *URL) GetOpaque() string + func (m *URL) GetPath() string + func (m *URL) GetRawPath() string + func (m *URL) GetRawQuery() string + func (m *URL) GetScheme() string + func (m *URL) GetUser() *Userinfo + func (m *URL) Reset() + func (m *URL) String() string + func (m *URL) XXX_DiscardUnknown() + func (m *URL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *URL) XXX_Merge(src proto.Message) + func (m *URL) XXX_Size() int + func (m *URL) XXX_Unmarshal(b []byte) error + type UnimplementedHTTPServer struct + func (*UnimplementedHTTPServer) Handle(ctx context.Context, req *HTTPRequest) (*HTTPResponse, error) + type Userinfo struct + Password string + PasswordSet bool + Username string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Userinfo) Descriptor() ([]byte, []int) + func (*Userinfo) ProtoMessage() + func (m *Userinfo) GetPassword() string + func (m *Userinfo) GetPasswordSet() bool + func (m *Userinfo) GetUsername() string + func (m *Userinfo) Reset() + func (m *Userinfo) String() string + func (m *Userinfo) XXX_DiscardUnknown() + func (m *Userinfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Userinfo) XXX_Merge(src proto.Message) + func (m *Userinfo) XXX_Size() int + func (m *Userinfo) XXX_Unmarshal(b []byte) error