mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
parent
d51db9469e
commit
42284a757c
3 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ type Sockopt struct {
|
|||
Mark int32
|
||||
}
|
||||
|
||||
// SetAttribute attachs additional string attributes to content.
|
||||
// SetAttribute attaches additional string attributes to content.
|
||||
func (c *Content) SetAttribute(name string, value string) {
|
||||
if c.Attributes == nil {
|
||||
c.Attributes = make(map[string]string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue