hasherpbtypes

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type Event_Type
}

func EventFromPb

func EventFromPb(pb *hasherpb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

func (m *Event) Pb() *hasherpb.Event

type Event_Request

type Event_Request struct {
	Request *Request
}

func (*Event_Request) MirReflect

func (*Event_Request) MirReflect() mirreflect.Type

func (*Event_Request) Pb

func (*Event_Request) Unwrap

func (w *Event_Request) Unwrap() *Request

type Event_RequestOne

type Event_RequestOne struct {
	RequestOne *RequestOne
}

func (*Event_RequestOne) MirReflect

func (*Event_RequestOne) MirReflect() mirreflect.Type

func (*Event_RequestOne) Pb

func (*Event_RequestOne) Unwrap

func (w *Event_RequestOne) Unwrap() *RequestOne

type Event_Result

type Event_Result struct {
	Result *Result
}

func (*Event_Result) MirReflect

func (*Event_Result) MirReflect() mirreflect.Type

func (*Event_Result) Pb

func (*Event_Result) Unwrap

func (w *Event_Result) Unwrap() *Result

type Event_ResultOne

type Event_ResultOne struct {
	ResultOne *ResultOne
}

func (*Event_ResultOne) MirReflect

func (*Event_ResultOne) MirReflect() mirreflect.Type

func (*Event_ResultOne) Pb

func (*Event_ResultOne) Unwrap

func (w *Event_ResultOne) Unwrap() *ResultOne

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

	Pb() hasherpb.Event_Type
	// contains filtered or unexported methods
}

func Event_TypeFromPb

func Event_TypeFromPb(pb hasherpb.Event_Type) Event_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type HashData

type HashData struct {
	Data [][]uint8
}

func HashDataFromPb

func HashDataFromPb(pb *hasherpb.HashData) *HashData

func (*HashData) MirReflect

func (*HashData) MirReflect() mirreflect.Type

func (*HashData) Pb

func (m *HashData) Pb() *hasherpb.HashData

type HashOrigin

type HashOrigin struct {
	Module types1.ModuleID
	Type   HashOrigin_Type
}

func HashOriginFromPb

func HashOriginFromPb(pb *hasherpb.HashOrigin) *HashOrigin

func (*HashOrigin) MirReflect

func (*HashOrigin) MirReflect() mirreflect.Type

func (*HashOrigin) Pb

func (m *HashOrigin) Pb() *hasherpb.HashOrigin

type HashOrigin_ContextStore

type HashOrigin_ContextStore struct {
	ContextStore *types2.Origin
}

func (*HashOrigin_ContextStore) MirReflect

func (*HashOrigin_ContextStore) MirReflect() mirreflect.Type

func (*HashOrigin_ContextStore) Pb

func (*HashOrigin_ContextStore) Unwrap

func (w *HashOrigin_ContextStore) Unwrap() *types2.Origin

type HashOrigin_Dsl

type HashOrigin_Dsl struct {
	Dsl *types3.Origin
}

func (*HashOrigin_Dsl) MirReflect

func (*HashOrigin_Dsl) MirReflect() mirreflect.Type

func (*HashOrigin_Dsl) Pb

func (*HashOrigin_Dsl) Unwrap

func (w *HashOrigin_Dsl) Unwrap() *types3.Origin

type HashOrigin_Type

type HashOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() hasherpb.HashOrigin_Type
	// contains filtered or unexported methods
}

func HashOrigin_TypeFromPb

func HashOrigin_TypeFromPb(pb hasherpb.HashOrigin_Type) HashOrigin_Type

type HashOrigin_TypeWrapper

type HashOrigin_TypeWrapper[T any] interface {
	HashOrigin_Type
	Unwrap() *T
}

type Request

type Request struct {
	Data   []*HashData
	Origin *HashOrigin
}

func RequestFromPb

func RequestFromPb(pb *hasherpb.Request) *Request

func (*Request) MirReflect

func (*Request) MirReflect() mirreflect.Type

func (*Request) Pb

func (m *Request) Pb() *hasherpb.Request

type RequestOne

type RequestOne struct {
	Data   *HashData
	Origin *HashOrigin
}

func RequestOneFromPb

func RequestOneFromPb(pb *hasherpb.RequestOne) *RequestOne

func (*RequestOne) MirReflect

func (*RequestOne) MirReflect() mirreflect.Type

func (*RequestOne) Pb

func (m *RequestOne) Pb() *hasherpb.RequestOne

type Result

type Result struct {
	Digests [][]uint8
	Origin  *HashOrigin
}

func ResultFromPb

func ResultFromPb(pb *hasherpb.Result) *Result

func (*Result) MirReflect

func (*Result) MirReflect() mirreflect.Type

func (*Result) Pb

func (m *Result) Pb() *hasherpb.Result

type ResultOne

type ResultOne struct {
	Digest []uint8
	Origin *HashOrigin
}

func ResultOneFromPb

func ResultOneFromPb(pb *hasherpb.ResultOne) *ResultOne

func (*ResultOne) MirReflect

func (*ResultOne) MirReflect() mirreflect.Type

func (*ResultOne) Pb

func (m *ResultOne) Pb() *hasherpb.ResultOne

Jump to

Keyboard shortcuts

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