ir_hash

package
v0.0.0-...-0af65b8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProtobufFileHashes map[string][]byte = map[string][]byte{"method.proto": []byte{31, 208, 148, 29, 192, 101, 63, 116}, "witness.proto": []byte{42, 213, 185, 25, 124, 226, 76, 187}, "types.proto": []byte{98, 84, 34, 180, 249, 140, 214, 227}, "spec.proto": []byte{13, 101, 129, 126, 232, 252, 1, 146}}

Functions

func HashAPISpec

func HashAPISpec(node *pb.APISpec) []byte

func HashAkitaAnnotations

func HashAkitaAnnotations(node *pb.AkitaAnnotations) []byte

func HashBool

func HashBool(node *pb.Bool) []byte

func HashBoolType

func HashBoolType(node *pb.BoolType) []byte

func HashBytes

func HashBytes(node *pb.Bytes) []byte

func HashBytesType

func HashBytesType(node *pb.BytesType) []byte

func HashData

func HashData(node *pb.Data) []byte

func HashDataMeta

func HashDataMeta(node *pb.DataMeta) []byte

func HashDataMetaToString

func HashDataMetaToString(d *pb.DataMeta) string

func HashDataRef

func HashDataRef(node *pb.DataRef) []byte

func HashDataToString

func HashDataToString(d *pb.Data) string

func HashDouble

func HashDouble(node *pb.Double) []byte

func HashDoubleType

func HashDoubleType(node *pb.DoubleType) []byte

func HashDoubleValue

func HashDoubleValue(node *wrapperspb.DoubleValue) []byte

func HashExampleValue

func HashExampleValue(node *pb.ExampleValue) []byte

func HashFloat

func HashFloat(node *pb.Float) []byte

func HashFloatType

func HashFloatType(node *pb.FloatType) []byte

func HashFloatValue

func HashFloatValue(node *wrapperspb.FloatValue) []byte

func HashFormatOption

func HashFormatOption(node *pb.FormatOption) []byte

func HashGRPCMeta

func HashGRPCMeta(node *pb.GRPCMeta) []byte

func HashGRPCMethodMeta

func HashGRPCMethodMeta(node *pb.GRPCMethodMeta) []byte

func HashHTTPAuth

func HashHTTPAuth(node *pb.HTTPAuth) []byte

func HashHTTPBody

func HashHTTPBody(node *pb.HTTPBody) []byte

func HashHTTPCookie

func HashHTTPCookie(node *pb.HTTPCookie) []byte

func HashHTTPEmpty

func HashHTTPEmpty(node *pb.HTTPEmpty) []byte

func HashHTTPHeader

func HashHTTPHeader(node *pb.HTTPHeader) []byte

func HashHTTPMeta

func HashHTTPMeta(node *pb.HTTPMeta) []byte

func HashHTTPMethodMeta

func HashHTTPMethodMeta(node *pb.HTTPMethodMeta) []byte

func HashHTTPMultipart

func HashHTTPMultipart(node *pb.HTTPMultipart) []byte

func HashHTTPPath

func HashHTTPPath(node *pb.HTTPPath) []byte

func HashHTTPQuery

func HashHTTPQuery(node *pb.HTTPQuery) []byte

func HashIndexedDataRef

func HashIndexedDataRef(node *pb.IndexedDataRef) []byte

func HashInt32

func HashInt32(node *pb.Int32) []byte

func HashInt32Type

func HashInt32Type(node *pb.Int32Type) []byte

func HashInt32Value

func HashInt32Value(node *wrapperspb.Int32Value) []byte

func HashInt64

func HashInt64(node *pb.Int64) []byte

func HashInt64Type

func HashInt64Type(node *pb.Int64Type) []byte

func HashInt64Value

func HashInt64Value(node *wrapperspb.Int64Value) []byte

func HashList

func HashList(node *pb.List) []byte

func HashListRef

func HashListRef(node *pb.ListRef) []byte

func HashListRef_FullListRef

func HashListRef_FullListRef(node *pb.ListRef_FullListRef) []byte

func HashMapData

func HashMapData(node *pb.MapData) []byte

func HashMethod

func HashMethod(node *pb.Method) []byte

func HashMethodID

func HashMethodID(node *pb.MethodID) []byte

func HashMethodMeta

func HashMethodMeta(node *pb.MethodMeta) []byte

func HashNone

func HashNone(node *pb.None) []byte

func HashOneOf

func HashOneOf(node *pb.OneOf) []byte

func HashOptional

func HashOptional(node *pb.Optional) []byte

func HashPrimitive

func HashPrimitive(node *pb.Primitive) []byte

func HashPrimitiveRef

func HashPrimitiveRef(node *pb.PrimitiveRef) []byte

func HashString

func HashString(node *pb.String) []byte

func HashStringType

func HashStringType(node *pb.StringType) []byte

func HashStruct

func HashStruct(node *pb.Struct) []byte

func HashStructRef

func HashStructRef(node *pb.StructRef) []byte

func HashUInt32Value

func HashUInt32Value(node *wrapperspb.UInt32Value) []byte

func HashUInt64Value

func HashUInt64Value(node *wrapperspb.UInt64Value) []byte

func HashUint32

func HashUint32(node *pb.Uint32) []byte

func HashUint32Type

func HashUint32Type(node *pb.Uint32Type) []byte

func HashUint64

func HashUint64(node *pb.Uint64) []byte

func HashUint64Type

func HashUint64Type(node *pb.Uint64Type) []byte

func HashWitness

func HashWitness(node *pb.Witness) []byte

func HashWitnessToString

func HashWitnessToString(w *pb.Witness) string

func Hash_Bool

func Hash_Bool(b bool) []byte

func Hash_Bytes

func Hash_Bytes(b []byte) []byte

func Hash_Float32

func Hash_Float32(v float32) []byte

func Hash_Float64

func Hash_Float64(f float64) []byte

func Hash_Int32

func Hash_Int32(i int32) []byte

func Hash_Int64

func Hash_Int64(i int64) []byte

func Hash_KeyValues

func Hash_KeyValues(pairs []KeyValuePair) []byte

func Hash_Uint32

func Hash_Uint32(i uint32) []byte

func Hash_Uint64

func Hash_Uint64(i uint64) []byte

func Hash_Unicode

func Hash_Unicode(s string) []byte

Types

type KeyValuePair

type KeyValuePair struct {
	KeyHash   []byte
	ValueHash []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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