command

package
v0.0.0-...-45f7050 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

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

func (*Config) XXX_Merge

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

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

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

type LoggerServer

type LoggerServer struct {
	V *core.Instance
}

func (*LoggerServer) RestartLogger

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

RestartLogger implements LoggerService.

type LoggerServiceClient

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

LoggerServiceClient is the client API for LoggerService service.

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

func NewLoggerServiceClient

func NewLoggerServiceClient(cc *grpc.ClientConn) LoggerServiceClient

type LoggerServiceServer

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

LoggerServiceServer is the server API for LoggerService service.

type RestartLoggerRequest

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

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

func (*RestartLoggerRequest) XXX_DiscardUnknown

func (m *RestartLoggerRequest) XXX_DiscardUnknown()

func (*RestartLoggerRequest) XXX_Marshal

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

func (*RestartLoggerRequest) XXX_Merge

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

func (*RestartLoggerRequest) XXX_Size

func (m *RestartLoggerRequest) XXX_Size() int

func (*RestartLoggerRequest) XXX_Unmarshal

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

type RestartLoggerResponse

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

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

func (*RestartLoggerResponse) XXX_DiscardUnknown

func (m *RestartLoggerResponse) XXX_DiscardUnknown()

func (*RestartLoggerResponse) XXX_Marshal

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

func (*RestartLoggerResponse) XXX_Merge

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

func (*RestartLoggerResponse) XXX_Size

func (m *RestartLoggerResponse) XXX_Size() int

func (*RestartLoggerResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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