clientapi

package
v0.0.0-...-9b07614 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_clientapi_tasapi_proto protoreflect.FileDescriptor
View Source
var Tas_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Tas",
	HandlerType: (*TasServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAKCert",
			Handler:    _Tas_GetAKCert_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "clientapi/tasapi.proto",
}

Tas_ServiceDesc is the grpc.ServiceDesc for Tas service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTasServer

func RegisterTasServer(s grpc.ServiceRegistrar, srv TasServer)

Types

type GetAKCertReply

type GetAKCertReply struct {
	Akcert []byte `protobuf:"bytes,1,opt,name=akcert,proto3" json:"akcert,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAKCertReply) Descriptor deprecated

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

Deprecated: Use GetAKCertReply.ProtoReflect.Descriptor instead.

func (*GetAKCertReply) GetAkcert

func (x *GetAKCertReply) GetAkcert() []byte

func (*GetAKCertReply) ProtoMessage

func (*GetAKCertReply) ProtoMessage()

func (*GetAKCertReply) ProtoReflect

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

func (*GetAKCertReply) Reset

func (x *GetAKCertReply) Reset()

func (*GetAKCertReply) String

func (x *GetAKCertReply) String() string

type GetAKCertRequest

type GetAKCertRequest struct {
	Akcert   []byte `protobuf:"bytes,1,opt,name=akcert,proto3" json:"akcert,omitempty"`
	Scenario int32  `protobuf:"varint,2,opt,name=scenario,proto3" json:"scenario,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAKCertRequest) Descriptor deprecated

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

Deprecated: Use GetAKCertRequest.ProtoReflect.Descriptor instead.

func (*GetAKCertRequest) GetAkcert

func (x *GetAKCertRequest) GetAkcert() []byte

func (*GetAKCertRequest) GetScenario

func (x *GetAKCertRequest) GetScenario() int32

func (*GetAKCertRequest) ProtoMessage

func (*GetAKCertRequest) ProtoMessage()

func (*GetAKCertRequest) ProtoReflect

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

func (*GetAKCertRequest) Reset

func (x *GetAKCertRequest) Reset()

func (*GetAKCertRequest) String

func (x *GetAKCertRequest) String() string

type TasClient

type TasClient interface {
	GetAKCert(ctx context.Context, in *GetAKCertRequest, opts ...grpc.CallOption) (*GetAKCertReply, error)
}

TasClient is the client API for Tas service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTasClient

func NewTasClient(cc grpc.ClientConnInterface) TasClient

type TasServer

type TasServer interface {
	GetAKCert(context.Context, *GetAKCertRequest) (*GetAKCertReply, error)
	// contains filtered or unexported methods
}

TasServer is the server API for Tas service. All implementations must embed UnimplementedTasServer for forward compatibility

type UnimplementedTasServer

type UnimplementedTasServer struct {
}

UnimplementedTasServer must be embedded to have forward compatible implementations.

func (UnimplementedTasServer) GetAKCert

type UnsafeTasServer

type UnsafeTasServer interface {
	// contains filtered or unexported methods
}

UnsafeTasServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TasServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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