Documentation ¶
Index ¶
- Variables
- func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer)
- type Client
- type ClientServiceClient
- type ClientServiceServer
- type FlyingConfig
- func (*FlyingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FlyingConfig) GetAppId() string
- func (x *FlyingConfig) GetNamespaceName() string
- func (x *FlyingConfig) GetReleaseKey() string
- func (x *FlyingConfig) GetValue() string
- func (*FlyingConfig) ProtoMessage()
- func (x *FlyingConfig) ProtoReflect() protoreflect.Message
- func (x *FlyingConfig) Reset()
- func (x *FlyingConfig) String() string
- type UnimplementedClientServiceServer
- func (*UnimplementedClientServiceServer) Config(context.Context, *Client) (*common.Response, error)
- func (*UnimplementedClientServiceServer) Listener(context.Context, *Client) (*common.Response, error)
- func (*UnimplementedClientServiceServer) Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (*UnimplementedClientServiceServer) QueryApp(context.Context, *emptypb.Empty) (*common.Response, error)
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) GetNamespace ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
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.
func NewClientServiceClient ¶
func NewClientServiceClient(cc grpc.ClientConnInterface) ClientServiceClient
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.
Click to show internal directories.
Click to hide internal directories.