snowflake

package
v0.0.0-...-74253e5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package snowflake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	// NextID returns a unique ID
	NextID(ctx context.Context, req *NextIDRequest) (*NextIDResponse, error)
}

impl is a component that implements Component.

type MockComponent

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

MockComponent is a mock of Component interface.

func NewMockComponent

func NewMockComponent(ctrl *gomock.Controller) *MockComponent

NewMockComponent creates a new mock instance.

func (*MockComponent) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockComponent) NextID

NextID mocks base method.

type MockComponentMockRecorder

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

MockComponentMockRecorder is the mock recorder for MockComponent.

func (*MockComponentMockRecorder) NextID

func (mr *MockComponentMockRecorder) NextID(ctx, req any) *gomock.Call

NextID indicates an expected call of NextID.

type NextIDRequest

type NextIDRequest struct{}

type NextIDResponse

type NextIDResponse struct {
	ID uint64
}

Jump to

Keyboard shortcuts

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