diff options
Diffstat (limited to 'lib/websocket/examples')
| -rw-r--r-- | lib/websocket/examples/README.adoc | 4 | ||||
| -rw-r--r-- | lib/websocket/examples/README.html | 6 | ||||
| -rw-r--r-- | lib/websocket/examples/account.go | 6 | ||||
| -rw-r--r-- | lib/websocket/examples/cmd/client/main.go | 6 | ||||
| -rw-r--r-- | lib/websocket/examples/cmd/server/main.go | 6 | ||||
| -rw-r--r-- | lib/websocket/examples/examples.go | 6 |
6 files changed, 22 insertions, 12 deletions
diff --git a/lib/websocket/examples/README.adoc b/lib/websocket/examples/README.adoc index da90ea8b..e50f2931 100644 --- a/lib/websocket/examples/README.adoc +++ b/lib/websocket/examples/README.adoc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: BSD-3-Clause + == WebSocket examples This package contains an example of chat server and client written using diff --git a/lib/websocket/examples/README.html b/lib/websocket/examples/README.html index 71aec923..88dcc3ba 100644 --- a/lib/websocket/examples/README.html +++ b/lib/websocket/examples/README.html @@ -1,3 +1,9 @@ +<!-- +SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info> + +SPDX-License-Identifier: BSD-3-Clause +--> + <!DOCTYPE html> <html> <head> diff --git a/lib/websocket/examples/account.go b/lib/websocket/examples/account.go index 17b50668..372071e1 100644 --- a/lib/websocket/examples/account.go +++ b/lib/websocket/examples/account.go @@ -1,6 +1,6 @@ -// Copyright 2019, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: BSD-3-Clause package examples diff --git a/lib/websocket/examples/cmd/client/main.go b/lib/websocket/examples/cmd/client/main.go index 0ecd9a87..326a5c82 100644 --- a/lib/websocket/examples/cmd/client/main.go +++ b/lib/websocket/examples/cmd/client/main.go @@ -1,6 +1,6 @@ -// Copyright 2019, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: BSD-3-Clause // Program client provide an example of chat client that connect to WebSocket // server. diff --git a/lib/websocket/examples/cmd/server/main.go b/lib/websocket/examples/cmd/server/main.go index 96d09a9a..6ccd5fc6 100644 --- a/lib/websocket/examples/cmd/server/main.go +++ b/lib/websocket/examples/cmd/server/main.go @@ -1,6 +1,6 @@ -// Copyright 2019, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: BSD-3-Clause // Program server provide an example of WebSocket server as group chat. // The client that connect to the server must be authenticated using key. diff --git a/lib/websocket/examples/examples.go b/lib/websocket/examples/examples.go index 34c926e7..458b1dc1 100644 --- a/lib/websocket/examples/examples.go +++ b/lib/websocket/examples/examples.go @@ -1,6 +1,6 @@ -// Copyright 2019, Shulhan <ms@kilabit.info>. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// SPDX-FileCopyrightText: 2019 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: BSD-3-Clause // Package examples provide an example on how to use WebSocket server and // client. |
