config

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

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