client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_client_model_proto protoreflect.FileDescriptor
View Source
var File_client_service_proto protoreflect.FileDescriptor

Functions

func RegisterClientServiceServer

func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer)

Types

type Client

type Client struct {
	AppId     string `protobuf:"bytes,100,opt,name=AppId,proto3" json:"AppId,omitempty"`
	Namespace string `protobuf:"bytes,101,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Client) Descriptor deprecated

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

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetAppId

func (x *Client) GetAppId() string

func (*Client) GetNamespace

func (x *Client) GetNamespace() string

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

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

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

type ClientServiceClient

type ClientServiceClient interface {
	Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	QueryApp(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.Response, error)
	Config(ctx context.Context, in *Client, opts ...grpc.CallOption) (*common.Response, error)
	Listener(ctx context.Context, in *Client, opts ...grpc.CallOption) (*common.Response, error)
}

ClientServiceClient is the client API for ClientService service.

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

type ClientServiceServer

type ClientServiceServer interface {
	Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	QueryApp(context.Context, *emptypb.Empty) (*common.Response, error)
	Config(context.Context, *Client) (*common.Response, error)
	Listener(context.Context, *Client) (*common.Response, error)
}

ClientServiceServer is the server API for ClientService service.

type FlyingConfig

type FlyingConfig struct {
	AppId         string `protobuf:"bytes,100,opt,name=AppId,proto3" json:"AppId,omitempty"`
	NamespaceName string `protobuf:"bytes,101,opt,name=NamespaceName,proto3" json:"NamespaceName,omitempty"`
	ReleaseKey    string `protobuf:"bytes,102,opt,name=ReleaseKey,proto3" json:"ReleaseKey,omitempty"`
	Value         string `protobuf:"bytes,103,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*FlyingConfig) Descriptor deprecated

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

Deprecated: Use FlyingConfig.ProtoReflect.Descriptor instead.

func (*FlyingConfig) GetAppId

func (x *FlyingConfig) GetAppId() string

func (*FlyingConfig) GetNamespaceName

func (x *FlyingConfig) GetNamespaceName() string

func (*FlyingConfig) GetReleaseKey

func (x *FlyingConfig) GetReleaseKey() string

func (*FlyingConfig) GetValue

func (x *FlyingConfig) GetValue() string

func (*FlyingConfig) ProtoMessage

func (*FlyingConfig) ProtoMessage()

func (*FlyingConfig) ProtoReflect

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

func (*FlyingConfig) Reset

func (x *FlyingConfig) Reset()

func (*FlyingConfig) String

func (x *FlyingConfig) String() string

type UnimplementedClientServiceServer

type UnimplementedClientServiceServer struct {
}

UnimplementedClientServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedClientServiceServer) Config

func (*UnimplementedClientServiceServer) Listener

func (*UnimplementedClientServiceServer) Ping

func (*UnimplementedClientServiceServer) QueryApp

Jump to

Keyboard shortcuts

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