taskdto

package
v0.0.0-...-64a2648 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(task TaskData) string

Encode jsonstring

func GetConfig

func GetConfig() *config.Config

GetConfig to generate hazelcast configuration

Types

type TaskData

type TaskData struct {
	ID   int32  `json:"id"`
	Name string `json:"name"`
}

TaskData struct containing id and name

func Decode

func Decode(jsonstring string) TaskData

Decode jsonstring

Jump to

Keyboard shortcuts

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