Documentation ¶
Index ¶
- func NewRpc(token string) *grpc.Server
- func StreamTokenAuth(key string) grpc.StreamServerInterceptor
- func TransformAccountArray(a []dto.SshDeploy) []*proto.SshAccount
- func TransformMsgArray(a []sshDevModel.SshAccountMsg) []*proto.SshAccount
- func UnaryTokenAuth(key string) grpc.UnaryServerInterceptor
- type SshAccounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamTokenAuth ¶ added in v1.17.19
func StreamTokenAuth(key string) grpc.StreamServerInterceptor
func TransformAccountArray ¶ added in v1.17.19
func TransformAccountArray(a []dto.SshDeploy) []*proto.SshAccount
func TransformMsgArray ¶ added in v1.17.19
func TransformMsgArray(a []sshDevModel.SshAccountMsg) []*proto.SshAccount
func UnaryTokenAuth ¶ added in v1.17.19
func UnaryTokenAuth(key string) grpc.UnaryServerInterceptor
Types ¶
type SshAccounts ¶ added in v1.17.19
type SshAccounts struct {
proto.UnimplementedSshAccountsServer
}
func (*SshAccounts) Watch ¶ added in v1.17.19
func (a *SshAccounts) Watch(_ *emptypb.Empty, server proto.SshAccounts_WatchServer) error
Click to show internal directories.
Click to hide internal directories.