config

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActorConfig

type ActorConfig struct {
	SerializerType string
}

ActorConfig is Actor's configuration struct.

func GetConfigFromOptions

func GetConfigFromOptions(opts ...Option) *ActorConfig

GetConfigFromOptions get final ActorConfig set by @opts.

type Option

type Option func(config *ActorConfig)

Option is option function of ActorConfig.

func WithSerializerName

func WithSerializerName(serializerType string) Option

WithSerializerName set serializer type of the actor as @serializerType.

Jump to

Keyboard shortcuts

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