protected

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewString

func NewString(in string) *String

NewString returns a new protected string.

func (*String) Get

func (s *String) Get() string

func (*String) Set

func (s *String) Set(in string) string

func (*String) String

func (s *String) String() string

Jump to

Keyboard shortcuts

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