command

package
v3.11.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLoggerServiceServer

func RegisterLoggerServiceServer(s *grpc.Server, srv LoggerServiceServer)

Types

type Config

type Config struct {
}

func (*Config) Descriptor

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

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type LoggerServer

type LoggerServer struct {
	V *core.Instance
}

func (*LoggerServer) RestartLogger

func (s *LoggerServer) RestartLogger(ctx context.Context, request *RestartLoggerRequest) (*RestartLoggerResponse, error)

type LoggerServiceClient

type LoggerServiceClient interface {
	RestartLogger(ctx context.Context, in *RestartLoggerRequest, opts ...grpc.CallOption) (*RestartLoggerResponse, error)
}

func NewLoggerServiceClient

func NewLoggerServiceClient(cc *grpc.ClientConn) LoggerServiceClient

type LoggerServiceServer

type LoggerServiceServer interface {
	RestartLogger(context.Context, *RestartLoggerRequest) (*RestartLoggerResponse, error)
}

type RestartLoggerRequest

type RestartLoggerRequest struct {
}

func (*RestartLoggerRequest) Descriptor

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

func (*RestartLoggerRequest) ProtoMessage

func (*RestartLoggerRequest) ProtoMessage()

func (*RestartLoggerRequest) Reset

func (m *RestartLoggerRequest) Reset()

func (*RestartLoggerRequest) String

func (m *RestartLoggerRequest) String() string

type RestartLoggerResponse

type RestartLoggerResponse struct {
}

func (*RestartLoggerResponse) Descriptor

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

func (*RestartLoggerResponse) ProtoMessage

func (*RestartLoggerResponse) ProtoMessage()

func (*RestartLoggerResponse) Reset

func (m *RestartLoggerResponse) Reset()

func (*RestartLoggerResponse) String

func (m *RestartLoggerResponse) String() string

Jump to

Keyboard shortcuts

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