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 ¶
WithSerializerName set serializer type of the actor as @serializerType.
Click to show internal directories.
Click to hide internal directories.