go_ltp

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package go_ltp is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var HealthCheckResponse_ServingStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "SERVING",
	2: "NOT_SERVING",
}
View Source
var HealthCheckResponse_ServingStatus_value = map[string]int32{
	"UNKNOWN":     0,
	"SERVING":     1,
	"NOT_SERVING": 2,
}

Functions

func RegisterAPIHandler

func RegisterAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAPIHandler registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAPIHandlerClient

func RegisterAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIClient) error

RegisterAPIHandlerClient registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "APIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "APIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "APIClient" to call the correct interceptors.

func RegisterAPIHandlerFromEndpoint

func RegisterAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAPIHandlerFromEndpoint is same as RegisterAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

func RegisterHealthServer

func RegisterHealthServer(s *grpc.Server, srv HealthServer)

Types

type APIClient

type APIClient interface {
	CreateItem(ctx context.Context, in *CreateItemRequest, opts ...grpc.CallOption) (*CreateItemResponse, error)
	GetItem(ctx context.Context, in *GetItemRequest, opts ...grpc.CallOption) (*GetItemResponse, error)
	GetVersion(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionResponse, error)
	GetServerInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ServerInfoResponse, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer

type APIServer interface {
	CreateItem(context.Context, *CreateItemRequest) (*CreateItemResponse, error)
	GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error)
	GetVersion(context.Context, *Empty) (*VersionResponse, error)
	GetServerInfo(context.Context, *Empty) (*ServerInfoResponse, error)
}

APIServer is the server API for API service.

type CreateItemRequest

type CreateItemRequest struct {
	Types                []string     `protobuf:"bytes,1,rep,name=Types,proto3" json:"Types,omitempty"`
	Statements           []*Statement `protobuf:"bytes,2,rep,name=Statements,proto3" json:"Statements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CreateItemRequest) Descriptor

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

func (*CreateItemRequest) GetStatements

func (m *CreateItemRequest) GetStatements() []*Statement

func (*CreateItemRequest) GetTypes

func (m *CreateItemRequest) GetTypes() []string

func (*CreateItemRequest) ProtoMessage

func (*CreateItemRequest) ProtoMessage()

func (*CreateItemRequest) Reset

func (m *CreateItemRequest) Reset()

func (*CreateItemRequest) String

func (m *CreateItemRequest) String() string

func (*CreateItemRequest) XXX_DiscardUnknown

func (m *CreateItemRequest) XXX_DiscardUnknown()

func (*CreateItemRequest) XXX_Marshal

func (m *CreateItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateItemRequest) XXX_Merge

func (m *CreateItemRequest) XXX_Merge(src proto.Message)

func (*CreateItemRequest) XXX_Size

func (m *CreateItemRequest) XXX_Size() int

func (*CreateItemRequest) XXX_Unmarshal

func (m *CreateItemRequest) XXX_Unmarshal(b []byte) error

type CreateItemResponse

type CreateItemResponse struct {
	Item                 *Item    `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateItemResponse) Descriptor

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

func (*CreateItemResponse) GetItem

func (m *CreateItemResponse) GetItem() *Item

func (*CreateItemResponse) ProtoMessage

func (*CreateItemResponse) ProtoMessage()

func (*CreateItemResponse) Reset

func (m *CreateItemResponse) Reset()

func (*CreateItemResponse) String

func (m *CreateItemResponse) String() string

func (*CreateItemResponse) XXX_DiscardUnknown

func (m *CreateItemResponse) XXX_DiscardUnknown()

func (*CreateItemResponse) XXX_Marshal

func (m *CreateItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateItemResponse) XXX_Merge

func (m *CreateItemResponse) XXX_Merge(src proto.Message)

func (*CreateItemResponse) XXX_Size

func (m *CreateItemResponse) XXX_Size() int

func (*CreateItemResponse) XXX_Unmarshal

func (m *CreateItemResponse) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type GetItemRequest

type GetItemRequest struct {
	IRI                  string   `protobuf:"bytes,1,opt,name=IRI,proto3" json:"IRI,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetItemRequest) Descriptor

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

func (*GetItemRequest) GetIRI

func (m *GetItemRequest) GetIRI() string

func (*GetItemRequest) ProtoMessage

func (*GetItemRequest) ProtoMessage()

func (*GetItemRequest) Reset

func (m *GetItemRequest) Reset()

func (*GetItemRequest) String

func (m *GetItemRequest) String() string

func (*GetItemRequest) XXX_DiscardUnknown

func (m *GetItemRequest) XXX_DiscardUnknown()

func (*GetItemRequest) XXX_Marshal

func (m *GetItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetItemRequest) XXX_Merge

func (m *GetItemRequest) XXX_Merge(src proto.Message)

func (*GetItemRequest) XXX_Size

func (m *GetItemRequest) XXX_Size() int

func (*GetItemRequest) XXX_Unmarshal

func (m *GetItemRequest) XXX_Unmarshal(b []byte) error

type GetItemResponse

type GetItemResponse struct {
	Item                 *Item    `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetItemResponse) Descriptor

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

func (*GetItemResponse) GetItem

func (m *GetItemResponse) GetItem() *Item

func (*GetItemResponse) ProtoMessage

func (*GetItemResponse) ProtoMessage()

func (*GetItemResponse) Reset

func (m *GetItemResponse) Reset()

func (*GetItemResponse) String

func (m *GetItemResponse) String() string

func (*GetItemResponse) XXX_DiscardUnknown

func (m *GetItemResponse) XXX_DiscardUnknown()

func (*GetItemResponse) XXX_Marshal

func (m *GetItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetItemResponse) XXX_Merge

func (m *GetItemResponse) XXX_Merge(src proto.Message)

func (*GetItemResponse) XXX_Size

func (m *GetItemResponse) XXX_Size() int

func (*GetItemResponse) XXX_Unmarshal

func (m *GetItemResponse) XXX_Unmarshal(b []byte) error

type GetTypeRequest

type GetTypeRequest struct {
	IRI                  string   `protobuf:"bytes,1,opt,name=IRI,proto3" json:"IRI,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTypeRequest) Descriptor

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

func (*GetTypeRequest) GetIRI

func (m *GetTypeRequest) GetIRI() string

func (*GetTypeRequest) ProtoMessage

func (*GetTypeRequest) ProtoMessage()

func (*GetTypeRequest) Reset

func (m *GetTypeRequest) Reset()

func (*GetTypeRequest) String

func (m *GetTypeRequest) String() string

func (*GetTypeRequest) XXX_DiscardUnknown

func (m *GetTypeRequest) XXX_DiscardUnknown()

func (*GetTypeRequest) XXX_Marshal

func (m *GetTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTypeRequest) XXX_Merge

func (m *GetTypeRequest) XXX_Merge(src proto.Message)

func (*GetTypeRequest) XXX_Size

func (m *GetTypeRequest) XXX_Size() int

func (*GetTypeRequest) XXX_Unmarshal

func (m *GetTypeRequest) XXX_Unmarshal(b []byte) error

type GetTypeResponse

type GetTypeResponse struct {
	Type                 *Type    `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTypeResponse) Descriptor

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

func (*GetTypeResponse) GetType

func (m *GetTypeResponse) GetType() *Type

func (*GetTypeResponse) ProtoMessage

func (*GetTypeResponse) ProtoMessage()

func (*GetTypeResponse) Reset

func (m *GetTypeResponse) Reset()

func (*GetTypeResponse) String

func (m *GetTypeResponse) String() string

func (*GetTypeResponse) XXX_DiscardUnknown

func (m *GetTypeResponse) XXX_DiscardUnknown()

func (*GetTypeResponse) XXX_Marshal

func (m *GetTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTypeResponse) XXX_Merge

func (m *GetTypeResponse) XXX_Merge(src proto.Message)

func (*GetTypeResponse) XXX_Size

func (m *GetTypeResponse) XXX_Size() int

func (*GetTypeResponse) XXX_Unmarshal

func (m *GetTypeResponse) XXX_Unmarshal(b []byte) error

type HealthCheckRequest

type HealthCheckRequest struct {
	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheckRequest) Descriptor

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

func (*HealthCheckRequest) GetService

func (m *HealthCheckRequest) GetService() string

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) Reset

func (m *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (m *HealthCheckRequest) String() string

func (*HealthCheckRequest) XXX_DiscardUnknown

func (m *HealthCheckRequest) XXX_DiscardUnknown()

func (*HealthCheckRequest) XXX_Marshal

func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckRequest) XXX_Merge

func (m *HealthCheckRequest) XXX_Merge(src proto.Message)

func (*HealthCheckRequest) XXX_Size

func (m *HealthCheckRequest) XXX_Size() int

func (*HealthCheckRequest) XXX_Unmarshal

func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error

type HealthCheckResponse

type HealthCheckResponse struct {
	Status               HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=proto.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*HealthCheckResponse) Descriptor

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

func (*HealthCheckResponse) GetStatus

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

func (*HealthCheckResponse) XXX_DiscardUnknown

func (m *HealthCheckResponse) XXX_DiscardUnknown()

func (*HealthCheckResponse) XXX_Marshal

func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheckResponse) XXX_Merge

func (m *HealthCheckResponse) XXX_Merge(src proto.Message)

func (*HealthCheckResponse) XXX_Size

func (m *HealthCheckResponse) XXX_Size() int

func (*HealthCheckResponse) XXX_Unmarshal

func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error

type HealthCheckResponse_ServingStatus

type HealthCheckResponse_ServingStatus int32
const (
	HealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0
	HealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1
	HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2
)

func (HealthCheckResponse_ServingStatus) EnumDescriptor

func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)

func (HealthCheckResponse_ServingStatus) String

type HealthClient

type HealthClient interface {
	Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

HealthClient is the client API for Health service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHealthClient

func NewHealthClient(cc *grpc.ClientConn) HealthClient

type HealthServer

type HealthServer interface {
	Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}

HealthServer is the server API for Health service.

type Item

type Item struct {
	IRI                  string       `protobuf:"bytes,1,opt,name=IRI,proto3" json:"IRI,omitempty"`
	Types                []string     `protobuf:"bytes,2,rep,name=Types,proto3" json:"Types,omitempty"`
	Statements           []*Statement `protobuf:"bytes,3,rep,name=Statements,proto3" json:"Statements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Item) Descriptor

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

func (*Item) GetIRI

func (m *Item) GetIRI() string

func (*Item) GetStatements

func (m *Item) GetStatements() []*Statement

func (*Item) GetTypes

func (m *Item) GetTypes() []string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) String

func (m *Item) String() string

func (*Item) XXX_DiscardUnknown

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal

func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Item) XXX_Merge

func (m *Item) XXX_Merge(src proto.Message)

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

func (m *Item) XXX_Unmarshal(b []byte) error

type Scope

type Scope struct {
	Agent                string               `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	AssertionTime        *timestamp.Timestamp `protobuf:"bytes,2,opt,name=assertionTime,proto3" json:"assertionTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The scope bounds the set of statements or assertions being made by an agent. Example: scope := &Scope{Time.now(), "ltp_client.shawnlower.net", nil}

func (*Scope) Descriptor

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

func (*Scope) GetAgent

func (m *Scope) GetAgent() string

func (*Scope) GetAssertionTime

func (m *Scope) GetAssertionTime() *timestamp.Timestamp

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) Reset

func (m *Scope) Reset()

func (*Scope) String

func (m *Scope) String() string

func (*Scope) XXX_DiscardUnknown

func (m *Scope) XXX_DiscardUnknown()

func (*Scope) XXX_Marshal

func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scope) XXX_Merge

func (m *Scope) XXX_Merge(src proto.Message)

func (*Scope) XXX_Size

func (m *Scope) XXX_Size() int

func (*Scope) XXX_Unmarshal

func (m *Scope) XXX_Unmarshal(b []byte) error

type ServerInfoResponse

type ServerInfoResponse struct {
	InfoItems            map[string]string `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ServerInfoResponse) Descriptor

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

func (*ServerInfoResponse) GetInfoItems

func (m *ServerInfoResponse) GetInfoItems() map[string]string

func (*ServerInfoResponse) ProtoMessage

func (*ServerInfoResponse) ProtoMessage()

func (*ServerInfoResponse) Reset

func (m *ServerInfoResponse) Reset()

func (*ServerInfoResponse) String

func (m *ServerInfoResponse) String() string

func (*ServerInfoResponse) XXX_DiscardUnknown

func (m *ServerInfoResponse) XXX_DiscardUnknown()

func (*ServerInfoResponse) XXX_Marshal

func (m *ServerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerInfoResponse) XXX_Merge

func (m *ServerInfoResponse) XXX_Merge(src proto.Message)

func (*ServerInfoResponse) XXX_Size

func (m *ServerInfoResponse) XXX_Size() int

func (*ServerInfoResponse) XXX_Unmarshal

func (m *ServerInfoResponse) XXX_Unmarshal(b []byte) error

type Statement

type Statement struct {
	Subject              string   `protobuf:"bytes,1,opt,name=Subject,proto3" json:"Subject,omitempty"`
	Predicate            string   `protobuf:"bytes,2,opt,name=Predicate,proto3" json:"Predicate,omitempty"`
	Object               string   `protobuf:"bytes,3,opt,name=Object,proto3" json:"Object,omitempty"`
	Label                string   `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A semantic 'statement' about the world. Can generally be viewed as an RDF triple, with an additional 'Scope', used for provenance. This can be implemented as a named graph, where the graph name (or label) is used for this purpose.

See also: <http://patterns.dataincubator.org/book/named-graphs.html>

func (*Statement) Descriptor

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

func (*Statement) GetLabel

func (m *Statement) GetLabel() string

func (*Statement) GetObject

func (m *Statement) GetObject() string

func (*Statement) GetPredicate

func (m *Statement) GetPredicate() string

func (*Statement) GetSubject

func (m *Statement) GetSubject() string

func (*Statement) ProtoMessage

func (*Statement) ProtoMessage()

func (*Statement) Reset

func (m *Statement) Reset()

func (*Statement) String

func (m *Statement) String() string

func (*Statement) XXX_DiscardUnknown

func (m *Statement) XXX_DiscardUnknown()

func (*Statement) XXX_Marshal

func (m *Statement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Statement) XXX_Merge

func (m *Statement) XXX_Merge(src proto.Message)

func (*Statement) XXX_Size

func (m *Statement) XXX_Size() int

func (*Statement) XXX_Unmarshal

func (m *Statement) XXX_Unmarshal(b []byte) error

type Type

type Type struct {
	IRI                  string   `protobuf:"bytes,1,opt,name=IRI,proto3" json:"IRI,omitempty"`
	Label                string   `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"`
	Parents              []*Type  `protobuf:"bytes,3,rep,name=Parents,proto3" json:"Parents,omitempty"`
	Children             []*Type  `protobuf:"bytes,4,rep,name=Children,proto3" json:"Children,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Type) Descriptor

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

func (*Type) GetChildren

func (m *Type) GetChildren() []*Type

func (*Type) GetIRI

func (m *Type) GetIRI() string

func (*Type) GetLabel

func (m *Type) GetLabel() string

func (*Type) GetParents

func (m *Type) GetParents() []*Type

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) Reset

func (m *Type) Reset()

func (*Type) String

func (m *Type) String() string

func (*Type) XXX_DiscardUnknown

func (m *Type) XXX_DiscardUnknown()

func (*Type) XXX_Marshal

func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Type) XXX_Merge

func (m *Type) XXX_Merge(src proto.Message)

func (*Type) XXX_Size

func (m *Type) XXX_Size() int

func (*Type) XXX_Unmarshal

func (m *Type) XXX_Unmarshal(b []byte) error

type VersionResponse

type VersionResponse struct {
	VersionString        string   `protobuf:"bytes,1,opt,name=VersionString,proto3" json:"VersionString,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionResponse) Descriptor

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

func (*VersionResponse) GetVersionString

func (m *VersionResponse) GetVersionString() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) String

func (m *VersionResponse) String() string

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionResponse) XXX_Merge

func (m *VersionResponse) XXX_Merge(src proto.Message)

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

func (m *VersionResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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