Documentation ¶
Overview ¶
Package grpcapi is a generated protocol buffer package.
It is generated from these files:
implant.proto
It has these top-level messages:
Command Empty
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAdminServer ¶
func RegisterAdminServer(s *grpc.Server, srv AdminServer)
func RegisterImplantServer ¶
func RegisterImplantServer(s *grpc.Server, srv ImplantServer)
Types ¶
type AdminClient ¶
type AdminClient interface {
RunCommand(ctx context.Context, in *Command, opts ...grpc.CallOption) (*Command, error)
}
func NewAdminClient ¶
func NewAdminClient(cc *grpc.ClientConn) AdminClient
type AdminServer ¶
type Command ¶
type Command struct { In string `protobuf:"bytes,1,opt,name=In" json:"In,omitempty"` Out string `protobuf:"bytes,2,opt,name=Out" json:"Out,omitempty"` }
Command defines a with both input and output fields
func (*Command) Descriptor ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
type Empty ¶
type Empty struct { }
Empty defines an empty message used in place of null
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type ImplantClient ¶
type ImplantClient interface { FetchCommand(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Command, error) SendOutput(ctx context.Context, in *Command, opts ...grpc.CallOption) (*Empty, error) }
func NewImplantClient ¶
func NewImplantClient(cc *grpc.ClientConn) ImplantClient
Click to show internal directories.
Click to hide internal directories.