units

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloodGlucoseClient

type BloodGlucoseClient struct {
	// contains filtered or unexported fields
}

BloodGlucoseClient wraps the gRPC BloodGlucoseService client.

func NewBloodGlucoseClient

func NewBloodGlucoseClient(cc grpc.ClientConnInterface) *BloodGlucoseClient

NewBloodGlucoseClient creates a new BloodGlucose client.

func (*BloodGlucoseClient) CompareTo1

func (c *BloodGlucoseClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*BloodGlucoseClient) CompareTo1_1

func (c *BloodGlucoseClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*BloodGlucoseClient) Equals

func (c *BloodGlucoseClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*BloodGlucoseClient) FromMillimolesPerLiter

func (c *BloodGlucoseClient) FromMillimolesPerLiter(ctx context.Context, arg0 float64) (int64, error)

FromMillimolesPerLiter calls the FromMillimolesPerLiter RPC.

func (*BloodGlucoseClient) GetInMillimolesPerLiter

func (c *BloodGlucoseClient) GetInMillimolesPerLiter(ctx context.Context) (float64, error)

GetInMillimolesPerLiter calls the GetInMillimolesPerLiter RPC.

func (*BloodGlucoseClient) HashCode

func (c *BloodGlucoseClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*BloodGlucoseClient) ToString

func (c *BloodGlucoseClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type EnergyClient

type EnergyClient struct {
	// contains filtered or unexported fields
}

EnergyClient wraps the gRPC EnergyService client.

func NewEnergyClient

func NewEnergyClient(cc grpc.ClientConnInterface) *EnergyClient

NewEnergyClient creates a new Energy client.

func (*EnergyClient) CompareTo1

func (c *EnergyClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*EnergyClient) CompareTo1_1

func (c *EnergyClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*EnergyClient) Equals

func (c *EnergyClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*EnergyClient) FromCalories

func (c *EnergyClient) FromCalories(ctx context.Context, arg0 float64) (int64, error)

FromCalories calls the FromCalories RPC.

func (*EnergyClient) GetInCalories

func (c *EnergyClient) GetInCalories(ctx context.Context) (float64, error)

GetInCalories calls the GetInCalories RPC.

func (*EnergyClient) HashCode

func (c *EnergyClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*EnergyClient) ToString

func (c *EnergyClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type LengthClient

type LengthClient struct {
	// contains filtered or unexported fields
}

LengthClient wraps the gRPC LengthService client.

func NewLengthClient

func NewLengthClient(cc grpc.ClientConnInterface) *LengthClient

NewLengthClient creates a new Length client.

func (*LengthClient) CompareTo1

func (c *LengthClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*LengthClient) CompareTo1_1

func (c *LengthClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*LengthClient) Equals

func (c *LengthClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*LengthClient) FromMeters

func (c *LengthClient) FromMeters(ctx context.Context, arg0 float64) (int64, error)

FromMeters calls the FromMeters RPC.

func (*LengthClient) GetInMeters

func (c *LengthClient) GetInMeters(ctx context.Context) (float64, error)

GetInMeters calls the GetInMeters RPC.

func (*LengthClient) HashCode

func (c *LengthClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*LengthClient) ToString

func (c *LengthClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type MassClient

type MassClient struct {
	// contains filtered or unexported fields
}

MassClient wraps the gRPC MassService client.

func NewMassClient

func NewMassClient(cc grpc.ClientConnInterface) *MassClient

NewMassClient creates a new Mass client.

func (*MassClient) CompareTo1

func (c *MassClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*MassClient) CompareTo1_1

func (c *MassClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*MassClient) Equals

func (c *MassClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*MassClient) FromGrams

func (c *MassClient) FromGrams(ctx context.Context, arg0 float64) (int64, error)

FromGrams calls the FromGrams RPC.

func (*MassClient) GetInGrams

func (c *MassClient) GetInGrams(ctx context.Context) (float64, error)

GetInGrams calls the GetInGrams RPC.

func (*MassClient) HashCode

func (c *MassClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*MassClient) ToString

func (c *MassClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type PercentageClient

type PercentageClient struct {
	// contains filtered or unexported fields
}

PercentageClient wraps the gRPC PercentageService client.

func NewPercentageClient

func NewPercentageClient(cc grpc.ClientConnInterface) *PercentageClient

NewPercentageClient creates a new Percentage client.

func (*PercentageClient) CompareTo1

func (c *PercentageClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*PercentageClient) CompareTo1_1

func (c *PercentageClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*PercentageClient) Equals

func (c *PercentageClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*PercentageClient) FromValue

func (c *PercentageClient) FromValue(ctx context.Context, arg0 float64) (int64, error)

FromValue calls the FromValue RPC.

func (*PercentageClient) GetValue

func (c *PercentageClient) GetValue(ctx context.Context) (float64, error)

GetValue calls the GetValue RPC.

func (*PercentageClient) HashCode

func (c *PercentageClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*PercentageClient) ToString

func (c *PercentageClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type PowerClient

type PowerClient struct {
	// contains filtered or unexported fields
}

PowerClient wraps the gRPC PowerService client.

func NewPowerClient

func NewPowerClient(cc grpc.ClientConnInterface) *PowerClient

NewPowerClient creates a new Power client.

func (*PowerClient) CompareTo1

func (c *PowerClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*PowerClient) CompareTo1_1

func (c *PowerClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*PowerClient) Equals

func (c *PowerClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*PowerClient) FromWatts

func (c *PowerClient) FromWatts(ctx context.Context, arg0 float64) (int64, error)

FromWatts calls the FromWatts RPC.

func (*PowerClient) GetInWatts

func (c *PowerClient) GetInWatts(ctx context.Context) (float64, error)

GetInWatts calls the GetInWatts RPC.

func (*PowerClient) HashCode

func (c *PowerClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*PowerClient) ToString

func (c *PowerClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type PressureClient

type PressureClient struct {
	// contains filtered or unexported fields
}

PressureClient wraps the gRPC PressureService client.

func NewPressureClient

func NewPressureClient(cc grpc.ClientConnInterface) *PressureClient

NewPressureClient creates a new Pressure client.

func (*PressureClient) CompareTo1

func (c *PressureClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*PressureClient) CompareTo1_1

func (c *PressureClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*PressureClient) Equals

func (c *PressureClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*PressureClient) FromMillimetersOfMercury

func (c *PressureClient) FromMillimetersOfMercury(ctx context.Context, arg0 float64) (int64, error)

FromMillimetersOfMercury calls the FromMillimetersOfMercury RPC.

func (*PressureClient) GetInMillimetersOfMercury

func (c *PressureClient) GetInMillimetersOfMercury(ctx context.Context) (float64, error)

GetInMillimetersOfMercury calls the GetInMillimetersOfMercury RPC.

func (*PressureClient) HashCode

func (c *PressureClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*PressureClient) ToString

func (c *PressureClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type TemperatureClient

type TemperatureClient struct {
	// contains filtered or unexported fields
}

TemperatureClient wraps the gRPC TemperatureService client.

func NewTemperatureClient

func NewTemperatureClient(cc grpc.ClientConnInterface) *TemperatureClient

NewTemperatureClient creates a new Temperature client.

func (*TemperatureClient) CompareTo1

func (c *TemperatureClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*TemperatureClient) CompareTo1_1

func (c *TemperatureClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*TemperatureClient) Equals

func (c *TemperatureClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*TemperatureClient) FromCelsius

func (c *TemperatureClient) FromCelsius(ctx context.Context, arg0 float64) (int64, error)

FromCelsius calls the FromCelsius RPC.

func (*TemperatureClient) GetInCelsius

func (c *TemperatureClient) GetInCelsius(ctx context.Context) (float64, error)

GetInCelsius calls the GetInCelsius RPC.

func (*TemperatureClient) HashCode

func (c *TemperatureClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*TemperatureClient) ToString

func (c *TemperatureClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type TemperatureDeltaClient

type TemperatureDeltaClient struct {
	// contains filtered or unexported fields
}

TemperatureDeltaClient wraps the gRPC TemperatureDeltaService client.

func NewTemperatureDeltaClient

func NewTemperatureDeltaClient(cc grpc.ClientConnInterface) *TemperatureDeltaClient

NewTemperatureDeltaClient creates a new TemperatureDelta client.

func (*TemperatureDeltaClient) CompareTo1

func (c *TemperatureDeltaClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*TemperatureDeltaClient) CompareTo1_1

func (c *TemperatureDeltaClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*TemperatureDeltaClient) Equals

func (c *TemperatureDeltaClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*TemperatureDeltaClient) FromCelsius

func (c *TemperatureDeltaClient) FromCelsius(ctx context.Context, arg0 float64) (int64, error)

FromCelsius calls the FromCelsius RPC.

func (*TemperatureDeltaClient) GetInCelsius

func (c *TemperatureDeltaClient) GetInCelsius(ctx context.Context) (float64, error)

GetInCelsius calls the GetInCelsius RPC.

func (*TemperatureDeltaClient) HashCode

func (c *TemperatureDeltaClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*TemperatureDeltaClient) ToString

func (c *TemperatureDeltaClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type VelocityClient

type VelocityClient struct {
	// contains filtered or unexported fields
}

VelocityClient wraps the gRPC VelocityService client.

func NewVelocityClient

func NewVelocityClient(cc grpc.ClientConnInterface) *VelocityClient

NewVelocityClient creates a new Velocity client.

func (*VelocityClient) CompareTo1

func (c *VelocityClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*VelocityClient) CompareTo1_1

func (c *VelocityClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*VelocityClient) Equals

func (c *VelocityClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*VelocityClient) FromMetersPerSecond

func (c *VelocityClient) FromMetersPerSecond(ctx context.Context, arg0 float64) (int64, error)

FromMetersPerSecond calls the FromMetersPerSecond RPC.

func (*VelocityClient) GetInMetersPerSecond

func (c *VelocityClient) GetInMetersPerSecond(ctx context.Context) (float64, error)

GetInMetersPerSecond calls the GetInMetersPerSecond RPC.

func (*VelocityClient) HashCode

func (c *VelocityClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*VelocityClient) ToString

func (c *VelocityClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

type VolumeClient

type VolumeClient struct {
	// contains filtered or unexported fields
}

VolumeClient wraps the gRPC VolumeService client.

func NewVolumeClient

func NewVolumeClient(cc grpc.ClientConnInterface) *VolumeClient

NewVolumeClient creates a new Volume client.

func (*VolumeClient) CompareTo1

func (c *VolumeClient) CompareTo1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1 calls the CompareTo1 RPC.

func (*VolumeClient) CompareTo1_1

func (c *VolumeClient) CompareTo1_1(ctx context.Context, arg0 int64) (int32, error)

CompareTo1_1 calls the CompareTo1_1 RPC.

func (*VolumeClient) Equals

func (c *VolumeClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*VolumeClient) FromLiters

func (c *VolumeClient) FromLiters(ctx context.Context, arg0 float64) (int64, error)

FromLiters calls the FromLiters RPC.

func (*VolumeClient) GetInLiters

func (c *VolumeClient) GetInLiters(ctx context.Context) (float64, error)

GetInLiters calls the GetInLiters RPC.

func (*VolumeClient) HashCode

func (c *VolumeClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*VolumeClient) ToString

func (c *VolumeClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

Jump to

Keyboard shortcuts

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