builtin

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger() starriver.Logger

func NewSharedDataStore

func NewSharedDataStore(options ...DataSourceOption) starriver.SharedDataStore

Types

type Codec

type Codec interface {
	Marshal(v interface{}) ([]byte, error)
	Unmarshal(data []byte, v interface{}) error
}

type DataSourceOption

type DataSourceOption func(*defaultSharedDataStore)

defaultSharedDataStore default Data store use memory to store the Data

func WithCodec

func WithCodec(codec Codec) DataSourceOption

Jump to

Keyboard shortcuts

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